Lines Matching refs:net_device
58 struct net_device *orig_dev;
62 void (*complete)(struct net_device *dev, int err, void *priv);
83 struct net_device *orig_dev;
87 void (*complete)(struct net_device *dev, int err, void *priv);
130 int (*switchdev_port_attr_get)(struct net_device *dev,
132 int (*switchdev_port_attr_set)(struct net_device *dev,
135 int (*switchdev_port_obj_add)(struct net_device *dev,
138 int (*switchdev_port_obj_del)(struct net_device *dev,
151 struct net_device *dev;
161 static inline struct net_device *
170 int switchdev_port_attr_get(struct net_device *dev,
172 int switchdev_port_attr_set(struct net_device *dev,
174 int switchdev_port_obj_add(struct net_device *dev,
176 int switchdev_port_obj_del(struct net_device *dev,
180 int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
182 void switchdev_port_fwd_mark_set(struct net_device *dev,
183 struct net_device *group_dev,
186 bool switchdev_port_same_parent_id(struct net_device *a,
187 struct net_device *b);
196 static inline int switchdev_port_attr_get(struct net_device *dev, in switchdev_port_attr_get()
202 static inline int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
208 static inline int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
214 static inline int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
231 struct net_device *dev, in call_switchdev_notifiers()
237 static inline bool switchdev_port_same_parent_id(struct net_device *a, in switchdev_port_same_parent_id()
238 struct net_device *b) in switchdev_port_same_parent_id()