/kernel/linux/linux-5.10/net/8021q/ |
D | vlan_core.c | 14 struct net_device *vlan_dev; in vlan_do_receive() local 17 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive() 18 if (!vlan_dev) in vlan_do_receive() 25 if (unlikely(!(vlan_dev->flags & IFF_UP))) { in vlan_do_receive() 31 skb->dev = vlan_dev; in vlan_do_receive() 36 if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) in vlan_do_receive() 40 if (!(vlan_dev_priv(vlan_dev)->flags & VLAN_FLAG_REORDER_HDR) && in vlan_do_receive() 41 !netif_is_macvlan_port(vlan_dev) && in vlan_do_receive() 42 !netif_is_bridge_port(vlan_dev)) { in vlan_do_receive() 59 skb->priority = vlan_get_ingress_priority(vlan_dev, skb->vlan_tci); in vlan_do_receive() [all …]
|
D | Makefile | 8 8021q-y := vlan.o vlan_dev.o vlan_netlink.o
|
D | vlan_dev.c | 485 static void vlan_dev_set_rx_mode(struct net_device *vlan_dev) in vlan_dev_set_rx_mode() argument 487 dev_mc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev); in vlan_dev_set_rx_mode() 488 dev_uc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev); in vlan_dev_set_rx_mode()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_vlan.c | 1449 struct net_device *vlan_dev) in br_vlan_set_vlan_dev_state() argument 1451 u16 vid = vlan_dev_priv(vlan_dev)->vlan_id; in br_vlan_set_vlan_dev_state() 1457 netif_carrier_off(vlan_dev); in br_vlan_set_vlan_dev_state() 1470 netif_carrier_on(vlan_dev); in br_vlan_set_vlan_dev_state() 1472 netif_carrier_off(vlan_dev); in br_vlan_set_vlan_dev_state() 1479 struct net_device *vlan_dev; in br_vlan_set_all_vlan_dev_state() local 1482 vlan_dev = br_vlan_get_upper_bind_vlan_dev(p->br->dev, in br_vlan_set_all_vlan_dev_state() 1484 if (vlan_dev) { in br_vlan_set_all_vlan_dev_state() 1487 netif_carrier_on(vlan_dev); in br_vlan_set_all_vlan_dev_state() 1489 br_vlan_set_vlan_dev_state(p->br, vlan_dev); in br_vlan_set_all_vlan_dev_state() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | bnxt_re.h | 105 struct net_device *vlan_dev; member
|
D | main.c | 1746 re_work->vlan_dev = (real_dev == netdev ? in bnxt_re_netdev_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 4012 static int mlxsw_sp_netdevice_port_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_port_vlan_event() argument 4049 !mlxsw_sp_rif_exists(mlxsw_sp, vlan_dev)) { in mlxsw_sp_netdevice_port_vlan_event() 4059 vlan_dev, in mlxsw_sp_netdevice_port_vlan_event() 4064 vlan_dev, in mlxsw_sp_netdevice_port_vlan_event() 4079 static int mlxsw_sp_netdevice_lag_port_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_lag_port_vlan_event() argument 4090 ret = mlxsw_sp_netdevice_port_vlan_event(vlan_dev, dev, in mlxsw_sp_netdevice_lag_port_vlan_event() 4101 static int mlxsw_sp_netdevice_bridge_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_bridge_vlan_event() argument 4106 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(vlan_dev); in mlxsw_sp_netdevice_bridge_vlan_event() 4126 !mlxsw_sp_rif_exists(mlxsw_sp, vlan_dev)) { in mlxsw_sp_netdevice_bridge_vlan_event() 4143 static int mlxsw_sp_netdevice_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_vlan_event() argument [all …]
|
D | spectrum_span.c | 330 mlxsw_sp_span_entry_vlan(const struct net_device *vlan_dev, in mlxsw_sp_span_entry_vlan() argument 333 *p_vid = vlan_dev_vlan_id(vlan_dev); in mlxsw_sp_span_entry_vlan() 334 return vlan_dev_real_dev(vlan_dev); in mlxsw_sp_span_entry_vlan()
|
D | spectrum_router.c | 6851 struct net_device *vlan_dev, in mlxsw_sp_inetaddr_vlan_event() argument 6855 struct net_device *real_dev = vlan_dev_real_dev(vlan_dev); in mlxsw_sp_inetaddr_vlan_event() 6856 u16 vid = vlan_dev_vlan_id(vlan_dev); in mlxsw_sp_inetaddr_vlan_event() 6858 if (netif_is_bridge_port(vlan_dev)) in mlxsw_sp_inetaddr_vlan_event() 6862 return mlxsw_sp_inetaddr_port_vlan_event(vlan_dev, real_dev, in mlxsw_sp_inetaddr_vlan_event() 6865 return __mlxsw_sp_inetaddr_lag_event(vlan_dev, real_dev, event, in mlxsw_sp_inetaddr_vlan_event() 6868 return mlxsw_sp_inetaddr_bridge_event(mlxsw_sp, vlan_dev, event, in mlxsw_sp_inetaddr_vlan_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 4070 struct net_device *vlan_dev = *out_dev; in add_vlan_push_action() local 4073 .vlan.vid = vlan_dev_vlan_id(vlan_dev), in add_vlan_push_action() 4074 .vlan.proto = vlan_dev_vlan_proto(vlan_dev), in add_vlan_push_action() 4084 *out_dev = dev_get_by_index_rcu(dev_net(vlan_dev), dev_get_iflink(vlan_dev)); in add_vlan_push_action()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | cnic.c | 3663 struct net_device **vlan_dev) in cnic_get_vlan() argument 3666 *vlan_dev = vlan_dev_real_dev(dev); in cnic_get_vlan() 3669 *vlan_dev = dev; in cnic_get_vlan()
|