Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c372 if (is_vlan_dev(dev)) { in vlan_device_event()
567 if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) in vlan_ioctl_handler()
Dvlan_core.c105 while (is_vlan_dev(ret)) in vlan_dev_real_dev()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c37 real_dev = is_vlan_dev(dev) ? vlan_dev_real_dev(dev) : dev; in get_route_and_out_devs()
62 dst_is_lag_dev || is_vlan_dev(*route_dev)) in get_route_and_out_devs()
170 if (is_vlan_dev(dev)) { in gen_eth_tnl_hdr()
212 (is_vlan_dev(route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_create_header_ipv4()
377 (is_vlan_dev(route_dev) ? VLAN_ETH_HLEN : ETH_HLEN) + in mlx5e_tc_tun_create_header_ipv6()
/kernel/linux/linux-5.10/include/rdma/
Dib_addr.h110 return is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : 0xffff; in rdma_vlan_dev_vlan_id()
266 return is_vlan_dev(dev) ? vlan_dev_real_dev(dev) : NULL; in rdma_vlan_dev_real_dev()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_sysfs.c54 if (is_vlan_dev(ndev)) { in rxe_param_set_add()
Drxe.c255 if (is_vlan_dev(ndev)) { in rxe_newlink()
Drxe_net.c161 if (!rxe && is_vlan_dev(rdev)) { in rxe_udp_encap_recv()
/kernel/linux/linux-5.10/net/hsr/
Dhsr_slave.c104 if (is_vlan_dev(dev)) { in hsr_check_dev_ok()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c201 ((!vlan_id && !is_vlan_dev(ndev)) || in smc_ib_determine_gid()
202 (vlan_id && is_vlan_dev(ndev) && in smc_ib_determine_gid()
Dsmc_core.c1217 if (is_vlan_dev(lower_dev)) { in smc_vlan_by_tcpsk_walk()
1244 if (is_vlan_dev(ndev)) { in smc_vlan_by_tcpsk()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe.c317 real_dev = is_vlan_dev(netdev) ? vlan_dev_real_dev(netdev) : netdev; in fcoe_interface_setup()
715 if (is_vlan_dev(netdev)) in fcoe_netdev_config()
944 if (is_vlan_dev(fcoe->netdev)) in fcoe_em_config()
950 if (is_vlan_dev(oldfcoe->netdev)) in fcoe_em_config()
1553 if (is_vlan_dev(fcoe->netdev) && in fcoe_xmit()
1781 if (is_vlan_dev(fcoe->netdev)) in fcoe_hostlist_lookup_realdev_port()
/kernel/linux/linux-5.10/include/linux/
Dif_vlan.h72 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev() function
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c370 if (is_vlan_dev(edev)) in mlxsw_sp_span_entry_tunnel_parms_common()
379 if (is_vlan_dev(edev)) { in mlxsw_sp_span_entry_tunnel_parms_common()
624 return is_vlan_dev(dev) && in mlxsw_sp_span_vlan_can_handle()
Dspectrum.c3857 if (!is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
3887 if (netif_is_lag_port(dev) && is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
3901 if (netif_is_ovs_port(dev) && is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
3935 } else if (is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
4179 if (!is_vlan_dev(upper_dev) && !netif_is_macvlan(upper_dev)) { in mlxsw_sp_netdevice_bridge_event()
4195 if (is_vlan_dev(upper_dev)) in mlxsw_sp_netdevice_bridge_event()
4334 else if (is_vlan_dev(dev)) in mlxsw_sp_netdevice_event()
Dspectrum_switchdev.c1983 if (is_vlan_dev(bridge_port->dev)) { in mlxsw_sp_bridge_8021q_port_join()
2137 vid = is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : MLXSW_SP_DEFAULT_VID; in mlxsw_sp_bridge_8021d_port_join()
2164 vid = is_vlan_dev(dev) ? vlan_dev_vlan_id(dev) : MLXSW_SP_DEFAULT_VID; in mlxsw_sp_bridge_8021d_port_leave()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c355 if (is_vlan_dev(neigh->dev)) in t3_l2t_get()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcache.c1389 if (is_vlan_dev(lower_dev)) in get_lower_dev_vlan()
1428 if (is_vlan_dev(ndev)) { in rdma_read_gid_l2_fields()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c420 !(is_vlan_dev(netdev) && vlan_dev_real_dev(netdev) == rpriv->netdev)) in mlx5e_rep_indr_setup_block()
/kernel/linux/linux-5.10/net/dsa/
Dslave.c317 if (!is_vlan_dev(upper_dev)) in dsa_slave_vlan_check_for_8021q_uppers()
1974 if (!is_vlan_dev(dev)) in dsa_prevent_bridging_8021q_upper()
2039 if (is_vlan_dev(info->upper_dev)) in dsa_slave_netdevice_event()
Dport.c217 if (!is_vlan_dev(upper_dev)) in dsa_port_can_apply_vlan_filtering()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c3214 if (is_vlan_dev(dev)) in netxen_list_config_ip()
3326 if (is_vlan_dev(slave) && in netxen_config_master()
3352 if (is_vlan_dev(dev)) { in netxen_netdev_event()
3397 if (is_vlan_dev(dev)) { in netxen_inetaddr_event()
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2329 if (is_vlan_dev(netdev)) in _bnx2fc_create()
2367 if (is_vlan_dev(netdev)) { in _bnx2fc_create()
2587 if (is_vlan_dev(netdev)) in bnx2fc_match()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c432 if (is_vlan_dev(neigh->dev)) { in cxgb4_l2t_get()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2363 is_vlan_dev(filter_dev)) { in __parse_cls_flower()
2368 if (is_vlan_dev(filter_dev)) { in __parse_cls_flower()
4089 if (is_vlan_dev(*out_dev)) in add_vlan_push_action()
4374 if (is_vlan_dev(out_dev)) { in parse_tc_fdb_actions()
4382 if (is_vlan_dev(parse_attr->filter_dev)) { in parse_tc_fdb_actions()

12