Lines Matching refs:net_device
91 static void switchdev_trans_items_warn_destroy(struct net_device *dev, in switchdev_trans_items_warn_destroy()
102 typedef void switchdev_deferred_func_t(struct net_device *dev,
107 struct net_device *dev;
158 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
184 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) in switchdev_port_attr_get()
187 struct net_device *lower_dev; in switchdev_port_attr_get()
220 static int __switchdev_port_attr_set(struct net_device *dev, in __switchdev_port_attr_set()
225 struct net_device *lower_dev; in __switchdev_port_attr_set()
255 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
298 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
310 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
330 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
355 static int __switchdev_port_obj_add(struct net_device *dev, in __switchdev_port_obj_add()
360 struct net_device *lower_dev; in __switchdev_port_obj_add()
381 static int switchdev_port_obj_add_now(struct net_device *dev, in switchdev_port_obj_add_now()
425 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
437 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer()
458 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
468 static int switchdev_port_obj_del_now(struct net_device *dev, in switchdev_port_obj_del_now()
472 struct net_device *lower_dev; in switchdev_port_obj_del_now()
493 static void switchdev_port_obj_del_deferred(struct net_device *dev, in switchdev_port_obj_del_deferred()
505 static int switchdev_port_obj_del_defer(struct net_device *dev, in switchdev_port_obj_del_defer()
522 int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
542 int switchdev_port_obj_dump(struct net_device *dev, struct switchdev_obj *obj, in switchdev_port_obj_dump()
546 struct net_device *lower_dev; in switchdev_port_obj_dump()
619 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_notifiers()
723 static int switchdev_port_vlan_fill(struct sk_buff *skb, struct net_device *dev, in switchdev_port_vlan_fill()
757 struct net_device *dev, u32 filter_mask, in switchdev_port_bridge_getlink()
777 static int switchdev_port_br_setflag(struct net_device *dev, in switchdev_port_br_setflag()
813 static int switchdev_port_br_setlink_protinfo(struct net_device *dev, in switchdev_port_br_setlink_protinfo()
849 static int switchdev_port_br_afspec(struct net_device *dev, in switchdev_port_br_afspec()
851 int (*f)(struct net_device *dev, in switchdev_port_br_afspec()
913 int switchdev_port_bridge_setlink(struct net_device *dev, in switchdev_port_bridge_setlink()
948 int switchdev_port_bridge_dellink(struct net_device *dev, in switchdev_port_bridge_dellink()
975 struct net_device *dev, const unsigned char *addr, in switchdev_port_fdb_add()
1000 struct net_device *dev, const unsigned char *addr, in switchdev_port_fdb_del()
1015 struct net_device *dev;
1077 struct net_device *dev, in switchdev_port_fdb_dump()
1078 struct net_device *filter_dev, int idx) in switchdev_port_fdb_dump()
1093 static struct net_device *switchdev_get_lowest_dev(struct net_device *dev) in switchdev_get_lowest_dev()
1096 struct net_device *lower_dev; in switchdev_get_lowest_dev()
1097 struct net_device *port_dev; in switchdev_get_lowest_dev()
1116 static struct net_device *switchdev_get_dev_by_nhs(struct fib_info *fi) in switchdev_get_dev_by_nhs()
1122 struct net_device *dev = NULL; in switchdev_get_dev_by_nhs()
1178 struct net_device *dev; in switchdev_fib_ipv4_add()
1230 struct net_device *dev; in switchdev_fib_ipv4_del()
1268 static bool switchdev_port_same_parent_id(struct net_device *a, in switchdev_port_same_parent_id()
1269 struct net_device *b) in switchdev_port_same_parent_id()
1287 static u32 switchdev_port_fwd_mark_get(struct net_device *dev, in switchdev_port_fwd_mark_get()
1288 struct net_device *group_dev) in switchdev_port_fwd_mark_get()
1290 struct net_device *lower_dev; in switchdev_port_fwd_mark_get()
1304 static void switchdev_port_fwd_mark_reset(struct net_device *group_dev, in switchdev_port_fwd_mark_reset()
1307 struct net_device *lower_dev; in switchdev_port_fwd_mark_reset()
1348 void switchdev_port_fwd_mark_set(struct net_device *dev, in switchdev_port_fwd_mark_set()
1349 struct net_device *group_dev, in switchdev_port_fwd_mark_set()