net: sched: fix missing doc annotations
[deliverable/linux.git] / include / linux / netdevice.h
index f45929ce815725d868261e9a2585ac53d0c8f128..541562333ba5dd9184205364d378d0a72c6026f9 100644 (file)
@@ -1594,7 +1594,8 @@ enum netdev_priv_flags {
  *     @phydev:        Physical device may attach itself
  *                     for hardware timestamping
  *
- *     @qdisc_tx_busylock:     XXX: need comments on this one
+ *     @qdisc_tx_busylock: lockdep class annotating Qdisc->busylock spinlock
+ *     @qdisc_running_key: lockdep class annotating Qdisc->running seqcount
  *
  *     @proto_down:    protocol port state information can be sent to the
  *                     switch driver and used to set the phys state of the
@@ -1862,6 +1863,7 @@ struct net_device {
 #endif
        struct phy_device       *phydev;
        struct lock_class_key   *qdisc_tx_busylock;
+       struct lock_class_key   *qdisc_running_key;
        bool                    proto_down;
 };
 #define to_net_dev(d) container_of(d, struct net_device, dev)
@@ -4012,6 +4014,7 @@ static inline bool net_gso_ok(netdev_features_t features, int gso_type)
        BUILD_BUG_ON(SKB_GSO_UDP_TUNNEL_CSUM != (NETIF_F_GSO_UDP_TUNNEL_CSUM >> NETIF_F_GSO_SHIFT));
        BUILD_BUG_ON(SKB_GSO_PARTIAL != (NETIF_F_GSO_PARTIAL >> NETIF_F_GSO_SHIFT));
        BUILD_BUG_ON(SKB_GSO_TUNNEL_REMCSUM != (NETIF_F_GSO_TUNNEL_REMCSUM >> NETIF_F_GSO_SHIFT));
+       BUILD_BUG_ON(SKB_GSO_SCTP    != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT));
 
        return (features & feature) == feature;
 }
This page took 0.025745 seconds and 5 git commands to generate.