Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[linux-2.6-microblaze.git] / include / linux / netdevice.h
index 1046763..88d40b9 100644 (file)
@@ -2063,6 +2063,8 @@ struct net_device {
        struct timer_list       watchdog_timer;
        int                     watchdog_timeo;
 
+       u32                     proto_down_reason;
+
        struct list_head        todo_list;
        int __percpu            *pcpu_refcnt;
 
@@ -3818,6 +3820,8 @@ int dev_get_port_parent_id(struct net_device *dev,
 bool netdev_port_same_parent_id(struct net_device *a, struct net_device *b);
 int dev_change_proto_down(struct net_device *dev, bool proto_down);
 int dev_change_proto_down_generic(struct net_device *dev, bool proto_down);
+void dev_change_proto_down_reason(struct net_device *dev, unsigned long mask,
+                                 u32 value);
 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev, bool *again);
 struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
                                    struct netdev_queue *txq, int *ret);