Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_port.c69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
A Dnfp_net_repr.c250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features()
390 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init()
391 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
/linux/drivers/net/netdevsim/
A Dnetdev.c235 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features()
296 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_u32.h44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
/linux/include/linux/
A Dnetdev_features.h155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
/linux/drivers/net/ethernet/intel/ice/
A Dice_repr.c224 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
A Dice_main.c3265 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features()
5651 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features()
5656 if ((features & NETIF_F_HW_TC) && in ice_set_features()
5657 !(netdev->features & NETIF_F_HW_TC)) in ice_set_features()
8147 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
A Dice_tc_lib.c1282 if (!(vsi_netdev->features & NETIF_F_HW_TC) && in ice_add_cls_flower()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_pf.c1863 bool tc = !!(features & NETIF_F_HW_TC); in otx2_set_features()
1884 if ((changed & NETIF_F_HW_TC) && tc) { in otx2_set_features()
1892 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_set_features()
1899 (netdev->features & NETIF_F_HW_TC) && !(changed & NETIF_F_HW_TC)) { in otx2_set_features()
1905 if ((changed & NETIF_F_HW_TC) && tc && in otx2_set_features()
2740 netdev->hw_features |= NETIF_F_HW_TC; in otx2_probe()
/linux/drivers/net/ethernet/mscc/
A Docelot_net.c733 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features()
1704 NETIF_F_HW_TC; in ocelot_probe_port()
1705 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rep.c641 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
1025 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
A Den_main.c3777 err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_TC, set_feature_hw_tc); in mlx5e_set_features()
4826 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
4843 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_pf.c784 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
785 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
A Denetc.c2652 if (changed & NETIF_F_HW_TC) in enetc_set_features()
2653 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_set_features()
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.h47 NETIF_F_HW_TC)
/linux/include/net/
A Dpkt_cls.h639 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2.c53 NETIF_F_HW_TC, \
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_main.c350 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.c2055 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc()
2056 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
/linux/net/dsa/
A Dslave.c1924 slave->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_setup_tagger()
1925 slave->hw_features |= NETIF_F_HW_TC; in dsa_slave_setup_tagger()
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.c2335 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features()
3162 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature()
3171 NETIF_F_HW_TC); in hns3_set_default_feature()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum.c1144 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features()
1580 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create()
1581 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A Dhw_atl_b0.c52 NETIF_F_HW_TC, \
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_main.c794 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_TC; in qede_init_ndev()
/linux/drivers/net/ethernet/ti/
A Dam65-cpsw-nuss.c1991 NETIF_F_HW_TC; in am65_cpsw_nuss_init_port_ndev()

Completed in 123 milliseconds

12