Home
last modified time | relevance | path

Searched refs:vlan_dev (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/net/8021q/
Dvlan_core.c14 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 …]
DMakefile8 8021q-y := vlan.o vlan_dev.o vlan_netlink.o
Dvlan_dev.c484 static void vlan_dev_set_rx_mode(struct net_device *vlan_dev) in vlan_dev_set_rx_mode() argument
486 dev_mc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev); in vlan_dev_set_rx_mode()
487 dev_uc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev); in vlan_dev_set_rx_mode()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dbnxt_re.h97 struct net_device *vlan_dev; member
Dmain.c1565 re_work->vlan_dev = (real_dev == netdev ? in bnxt_re_netdev_event()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c213 mlxsw_sp_span_entry_vlan(const struct net_device *vlan_dev, in mlxsw_sp_span_entry_vlan() argument
216 *p_vid = vlan_dev_vlan_id(vlan_dev); in mlxsw_sp_span_entry_vlan()
217 return vlan_dev_real_dev(vlan_dev); in mlxsw_sp_span_entry_vlan()
Dspectrum.c4715 static int mlxsw_sp_netdevice_port_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_port_vlan_event() argument
4747 !mlxsw_sp_rif_find_by_dev(mlxsw_sp, vlan_dev)) { in mlxsw_sp_netdevice_port_vlan_event()
4757 vlan_dev, in mlxsw_sp_netdevice_port_vlan_event()
4762 vlan_dev, in mlxsw_sp_netdevice_port_vlan_event()
4777 static int mlxsw_sp_netdevice_lag_port_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_lag_port_vlan_event() argument
4788 ret = mlxsw_sp_netdevice_port_vlan_event(vlan_dev, dev, in mlxsw_sp_netdevice_lag_port_vlan_event()
4799 static int mlxsw_sp_netdevice_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_netdevice_vlan_event() argument
4802 struct net_device *real_dev = vlan_dev_real_dev(vlan_dev); in mlxsw_sp_netdevice_vlan_event()
4803 u16 vid = vlan_dev_vlan_id(vlan_dev); in mlxsw_sp_netdevice_vlan_event()
4806 return mlxsw_sp_netdevice_port_vlan_event(vlan_dev, real_dev, in mlxsw_sp_netdevice_vlan_event()
[all …]
Dspectrum_router.c6430 static int mlxsw_sp_inetaddr_vlan_event(struct net_device *vlan_dev, in mlxsw_sp_inetaddr_vlan_event() argument
6434 struct net_device *real_dev = vlan_dev_real_dev(vlan_dev); in mlxsw_sp_inetaddr_vlan_event()
6435 u16 vid = vlan_dev_vlan_id(vlan_dev); in mlxsw_sp_inetaddr_vlan_event()
6437 if (netif_is_bridge_port(vlan_dev)) in mlxsw_sp_inetaddr_vlan_event()
6441 return mlxsw_sp_inetaddr_port_vlan_event(vlan_dev, real_dev, in mlxsw_sp_inetaddr_vlan_event()
6444 return __mlxsw_sp_inetaddr_lag_event(vlan_dev, real_dev, event, in mlxsw_sp_inetaddr_vlan_event()
6447 return mlxsw_sp_inetaddr_bridge_event(vlan_dev, event, extack); in mlxsw_sp_inetaddr_vlan_event()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dcnic.c3664 struct net_device **vlan_dev) in cnic_get_vlan() argument
3667 *vlan_dev = vlan_dev_real_dev(dev); in cnic_get_vlan()
3670 *vlan_dev = dev; in cnic_get_vlan()