Lines Matching refs:net_device

39 	struct net_device *orig_dev;
43 void (*complete)(struct net_device *dev, int err, void *priv);
72 struct net_device *orig_dev;
76 void (*complete)(struct net_device *dev, int err, void *priv);
103 struct net_device *p_port;
104 struct net_device *s_port;
162 struct net_device *i_port;
184 struct net_device *dev;
214 struct net_device *dev;
245 static inline struct net_device *
265 int switchdev_bridge_port_offload(struct net_device *brport_dev,
266 struct net_device *dev, const void *ctx,
271 void switchdev_bridge_port_unoffload(struct net_device *brport_dev,
277 int switchdev_port_attr_set(struct net_device *dev,
280 int switchdev_port_obj_add(struct net_device *dev,
283 int switchdev_port_obj_del(struct net_device *dev,
288 int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
294 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev,
298 void switchdev_port_fwd_mark_set(struct net_device *dev,
299 struct net_device *group_dev,
302 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event,
304 bool (*check_cb)(const struct net_device *dev),
305 bool (*foreign_dev_check_cb)(const struct net_device *dev,
306 const struct net_device *foreign_dev),
307 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev,
310 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev,
314 int switchdev_handle_port_obj_add(struct net_device *dev,
316 bool (*check_cb)(const struct net_device *dev),
317 int (*add_cb)(struct net_device *dev, const void *ctx,
320 int switchdev_handle_port_obj_del(struct net_device *dev,
322 bool (*check_cb)(const struct net_device *dev),
323 int (*del_cb)(struct net_device *dev, const void *ctx,
326 int switchdev_handle_port_attr_set(struct net_device *dev,
328 bool (*check_cb)(const struct net_device *dev),
329 int (*set_cb)(struct net_device *dev, const void *ctx,
335 switchdev_bridge_port_offload(struct net_device *brport_dev, in switchdev_bridge_port_offload()
336 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()
346 switchdev_bridge_port_unoffload(struct net_device *brport_dev, in switchdev_bridge_port_unoffload()
357 static inline int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
364 static inline int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
371 static inline int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
388 struct net_device *dev, in call_switchdev_notifiers()
409 struct net_device *dev, in call_switchdev_blocking_notifiers()
417 switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, in switchdev_handle_fdb_event_to_device()
419 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_event_to_device()
420 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
421 const struct net_device *foreign_dev), in switchdev_handle_fdb_event_to_device()
422 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
425 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
433 switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
435 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
436 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add()
444 switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
446 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
447 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
454 switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
456 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
457 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()