Home
last modified time | relevance | path

Searched refs:is_vlan_dev (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.1.9/net/8021q/
Dvlanproc.c179 if (!is_vlan_dev(dev)) in vlan_seq_start()
201 if (!is_vlan_dev(dev)) in vlan_seq_next()
250 if (!is_vlan_dev(vlandev)) in vlandev_seq_show()
Dvlan.c374 if (is_vlan_dev(dev)) { in vlan_device_event()
569 if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) in vlan_ioctl_handler()
Dvlan_core.c106 while (is_vlan_dev(ret)) in vlan_dev_real_dev()
/linux-6.1.9/include/rdma/
Dib_addr.h111 return is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : 0xffff; in rdma_vlan_dev_vlan_id()
267 return is_vlan_dev(dev) ? vlan_dev_real_dev(dev) : NULL; in rdma_vlan_dev_real_dev()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c62 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()
364 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_update_header_ipv4()
518 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_create_header_ipv6()
632 (is_vlan_dev(attr.route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_update_header_ipv6()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred.c243 if (is_vlan_dev(out_dev)) { in parse_mirred()
249 if (is_vlan_dev(parse_attr->filter_dev)) { in parse_mirred()
Dvlan.c133 if (is_vlan_dev(*out_dev)) in mlx5e_tc_act_vlan_add_push_action()
/linux-6.1.9/net/hsr/
Dhsr_slave.c106 if (is_vlan_dev(dev)) { in hsr_check_dev_ok()
/linux-6.1.9/drivers/scsi/fcoe/
Dfcoe.c318 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-6.1.9/drivers/infiniband/sw/rxe/
Drxe.c181 if (is_vlan_dev(ndev)) { in rxe_newlink()
Drxe_net.c142 if (!rxe && is_vlan_dev(ndev)) in rxe_udp_encap_recv()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c4678 if (!is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4709 if (netif_is_lag_port(dev) && is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4723 if (netif_is_ovs_port(dev) && is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
4741 if (netif_is_bridge_port(lower_dev) && is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
4752 if (is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4787 } else if (is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
5031 if (!is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_bridge_event()
5046 if (is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_bridge_event()
5061 if (is_vlan_dev(upper_dev)) in mlxsw_sp_netdevice_bridge_event()
5183 else if (is_vlan_dev(dev)) in mlxsw_sp_netdevice_event()
Dspectrum_span.c371 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()
626 return is_vlan_dev(dev) && in mlxsw_sp_span_vlan_can_handle()
Dspectrum_switchdev.c2348 if (is_vlan_dev(bridge_port->dev)) { in mlxsw_sp_bridge_vlan_aware_port_join()
2530 vid = is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : MLXSW_SP_DEFAULT_VID; in mlxsw_sp_bridge_8021d_port_join()
2557 vid = is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : MLXSW_SP_DEFAULT_VID; in mlxsw_sp_bridge_8021d_port_leave()
/linux-6.1.9/include/linux/
Dif_vlan.h74 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev() function
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c355 if (is_vlan_dev(neigh->dev)) in t3_l2t_get()
/linux-6.1.9/net/smc/
Dsmc_ib.c284 ((!vlan_id && !is_vlan_dev(ndev)) || in smc_ib_determine_gid()
285 (vlan_id && is_vlan_dev(ndev) && in smc_ib_determine_gid()
/linux-6.1.9/drivers/infiniband/core/
Dcache.c1382 if (is_vlan_dev(lower_dev)) in get_lower_dev_vlan()
1421 if (is_vlan_dev(ndev)) { in rdma_read_gid_l2_fields()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c3215 if (is_vlan_dev(dev)) in netxen_list_config_ip()
3327 if (is_vlan_dev(slave) && in netxen_config_master()
3353 if (is_vlan_dev(dev)) { in netxen_netdev_event()
3398 if (is_vlan_dev(dev)) { in netxen_inetaddr_event()
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2321 if (is_vlan_dev(netdev)) in _bnx2fc_create()
2359 if (is_vlan_dev(netdev)) { in _bnx2fc_create()
2579 if (is_vlan_dev(netdev)) in bnx2fc_match()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c432 if (is_vlan_dev(neigh->dev)) { in cxgb4_l2t_get()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c1294 is_vlan_dev(filter_dev)) { in ice_parse_cls_flower()
1299 if (is_vlan_dev(filter_dev)) { in ice_parse_cls_flower()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c445 !(is_vlan_dev(netdev) && vlan_dev_real_dev(netdev) == rpriv->netdev) && in mlx5e_rep_indr_setup_block()
/linux-6.1.9/net/dsa/
Dslave.c559 if (!is_vlan_dev(upper_dev)) in dsa_slave_vlan_check_for_8021q_uppers()
2741 if (!is_vlan_dev(dev)) in dsa_prevent_bridging_8021q_upper()
2815 if (is_vlan_dev(info->upper_dev)) in dsa_slave_prechangeupper_sanity_check()
/linux-6.1.9/drivers/scsi/cxgbi/
Dlibcxgbi.c227 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()

12