/linux/include/rdma/ |
H A D | ib_addr.h | 111 return is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : 0xffff; in rdma_vlan_dev_vlan_id() 244 return is_vlan_dev(dev) ? vlan_dev_real_dev(dev) : NULL; in rdma_vlan_dev_real_dev()
|
/linux/net/8021q/ |
H A D | vlanproc.c | 172 if (!is_vlan_dev(dev)) in vlan_seq_from_index() 236 if (!is_vlan_dev(vlandev)) in vlandev_seq_show()
|
H A D | vlan.c | 374 if (is_vlan_dev(dev)) { in vlan_device_event() 569 if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) in vlan_ioctl_handler()
|
H A D | vlan_core.c | 106 while (is_vlan_dev(ret)) in vlan_dev_real_dev()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 62 real_dev = is_vlan_dev(dev) ? vlan_dev_real_dev(dev) : dev; in get_route_and_out_devs() 87 dst_is_lag_dev || is_vlan_dev(*route_dev) || in get_route_and_out_devs() 208 if (is_vlan_dev(dev)) { in gen_eth_tnl_hdr() 249 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_create_header_ipv4() 365 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_update_header_ipv4() 520 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_create_header_ipv6() 635 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_update_header_ipv6()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mirred.c | 244 if (is_vlan_dev(out_dev)) { in parse_mirred() 250 if (is_vlan_dev(parse_attr->filter_dev)) { in parse_mirred()
|
H A D | vlan.c | 116 if (is_vlan_dev(*out_dev)) in mlx5e_tc_act_vlan_add_push_action()
|
/linux/net/hsr/ |
H A D | hsr_slave.c | 116 if (is_vlan_dev(dev)) { in hsr_check_dev_ok()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 4428 if (!is_vlan_dev(upper_dev)) in mlxsw_sp_lag_uppers_bridge_join() 4447 if (!is_vlan_dev(upper_dev)) in mlxsw_sp_lag_uppers_bridge_join() 4476 if (!is_vlan_dev(upper_dev)) in mlxsw_sp_lag_uppers_bridge_leave() 4876 if (!is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event() 4910 if (netif_is_lag_port(dev) && is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event() 4919 if (netif_is_ovs_port(dev) && is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event() 4937 if (netif_is_bridge_port(lower_dev) && is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event() 4948 if (is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event() 4953 if (is_vlan_dev(upper_dev) && mlxsw_sp_port->security) { in mlxsw_sp_netdevice_port_upper_event() 4994 } else if (is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event() [all …]
|
H A D | spectrum_span.c | 371 if (is_vlan_dev(edev)) in mlxsw_sp_span_entry_tunnel_parms_common() 380 if (is_vlan_dev(edev)) { in mlxsw_sp_span_entry_tunnel_parms_common() 627 return is_vlan_dev(dev) && in mlxsw_sp_span_vlan_can_handle()
|
H A D | spectrum_switchdev.c | 880 if ((flags.mask & BR_PORT_LOCKED) && is_vlan_dev(orig_dev)) { in mlxsw_sp_port_attr_br_pre_flags_set() 2470 if (is_vlan_dev(bridge_port->dev)) { in mlxsw_sp_bridge_vlan_aware_port_join() 2653 vid = is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : MLXSW_SP_DEFAULT_VID; in mlxsw_sp_bridge_8021d_port_join() 2692 vid = is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : MLXSW_SP_DEFAULT_VID; in mlxsw_sp_bridge_8021d_port_leave()
|
/linux/include/net/ |
H A D | macsec.h | 373 if (is_vlan_dev(dev)) in macsec_netdev_priv()
|
/linux/drivers/scsi/fcoe/ |
H A D | fcoe.c | 318 real_dev = is_vlan_dev(netdev) ? vlan_dev_real_dev(netdev) : netdev; in fcoe_interface_setup() 714 if (is_vlan_dev(netdev)) in fcoe_netdev_config() 943 if (is_vlan_dev(fcoe->netdev)) in fcoe_em_config() 949 if (is_vlan_dev(oldfcoe->netdev)) in fcoe_em_config() 1550 if (is_vlan_dev(fcoe->netdev) && in fcoe_xmit() 1771 if (is_vlan_dev(fcoe->netdev)) in fcoe_hostlist_lookup_realdev_port()
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_net.c | 145 if (!rxe && is_vlan_dev(ndev)) in rxe_udp_encap_recv() 355 if (!rxe && is_vlan_dev(ndev)) in rxe_skb_tx_dtor()
|
H A D | rxe.c | 198 if (is_vlan_dev(ndev)) { in rxe_newlink()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 355 if (is_vlan_dev(neigh->dev)) in t3_l2t_get()
|
/linux/include/linux/ |
H A D | if_vlan.h | 82 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev() function
|
/linux/net/smc/ |
H A D | smc_ib.c | 290 ((!vlan_id && !is_vlan_dev(ndev)) || in smc_ib_determine_gid() 291 (vlan_id && is_vlan_dev(ndev) && in smc_ib_determine_gid()
|
/linux/drivers/infiniband/core/ |
H A D | cache.c | 1378 if (is_vlan_dev(lower_dev)) in get_lower_dev_vlan() 1417 if (is_vlan_dev(ndev)) { in rdma_read_gid_l2_fields()
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_main.c | 3204 if (is_vlan_dev(dev)) in netxen_list_config_ip() 3316 if (is_vlan_dev(slave) && in netxen_config_master() 3342 if (is_vlan_dev(dev)) { in netxen_netdev_event() 3387 if (is_vlan_dev(dev)) { in netxen_inetaddr_event()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 459 if (is_vlan_dev(netdev) && vlan_dev_real_dev(netdev) == rpriv->netdev) in mlx5e_rep_check_indr_block_supported()
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 2318 if (is_vlan_dev(netdev)) in _bnx2fc_create() 2356 if (is_vlan_dev(netdev)) { in _bnx2fc_create() 2576 if (is_vlan_dev(netdev)) in bnx2fc_match()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1582 is_vlan_dev(filter_dev)) { in ice_parse_cls_flower() 1587 if (is_vlan_dev(filter_dev)) { in ice_parse_cls_flower()
|
/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 227 if (is_vlan_dev(ndev)) { in cxgbi_device_find_by_netdev() 260 if (is_vlan_dev(ndev)) { in cxgbi_device_find_by_netdev_rcu() 293 if (is_vlan_dev(ndev)) { in cxgbi_device_find_by_mac()
|
/linux/net/dsa/ |
H A D | user.c | 678 if (!is_vlan_dev(upper_dev)) in dsa_user_vlan_check_for_8021q_uppers() 3094 if (!is_vlan_dev(dev)) in dsa_prevent_bridging_8021q_upper() 3168 if (is_vlan_dev(info->upper_dev)) in dsa_user_prechangeupper_sanity_check()
|