Home
last modified time | relevance | path

Searched refs:NETIF_F_HW_TC (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_u32.h44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
Dcxgb4_main.c5878 NETIF_F_HW_TC; in init_one()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_port.c69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
Dnfp_net_repr.c249 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features()
373 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init()
374 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
Dnfp_net_common.c4039 netdev->hw_features |= NETIF_F_HW_TC; in nfp_net_netdev_init()
/Linux-v5.4/drivers/net/netdevsim/
Dnetdev.c229 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features()
278 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
/Linux-v5.4/include/linux/
Dnetdev_features.h145 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot.c959 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features()
2028 NETIF_F_HW_TC; in ocelot_probe_port()
2029 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
/Linux-v5.4/include/net/
Dpkt_cls.h567 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
/Linux-v5.4/net/dsa/
Dslave.c1412 slave_dev->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_create()
1415 slave_dev->hw_features |= NETIF_F_HW_TC; in dsa_slave_create()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c1663 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc()
1664 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c1471 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
Den_main.c3798 err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_TC, set_feature_tc_num_filters); in mlx5e_set_features()
4962 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
Den_tc.c4083 !(priv->netdev->features & NETIF_F_HW_TC)) in mlx5e_tc_netdev_event()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1830 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features()
3695 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create()
3696 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_main.c764 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_TC; in qede_init_ndev()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_main.c3507 hw_features |= NETIF_F_HW_TC; in iavf_process_config()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c4504 ndev->hw_features |= NETIF_F_HW_TC; in stmmac_dvr_probe()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9729 if ((features & NETIF_F_NTUPLE) || (features & NETIF_F_HW_TC)) { in ixgbe_set_features()
10929 NETIF_F_HW_TC; in ixgbe_probe()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_main.c12114 if (!(features & NETIF_F_HW_TC) && pf->num_cloud_filters) { in i40e_set_features()
12937 hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in i40e_config_netdev()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_main.c3128 netdev->features |= NETIF_F_HW_TC; in igb_probe()