/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.h | 44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_port.c | 69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
|
H A D | nfp_net_repr.c | 250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features() 392 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init() 393 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | netdev.c | 262 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features() 314 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 271 ndev->hw_features |= NETIF_F_HW_TC; in sparx5_create_netdev() 272 ndev->features |= NETIF_F_HW_TC; in sparx5_create_netdev()
|
/openbmc/linux/include/linux/ |
H A D | netdev_features.h | 155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 706 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features() 707 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features() 807 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 808 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 857 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features() 1808 NETIF_F_HW_TC; in ocelot_probe_port() 1809 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_repr.c | 273 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
|
H A D | ice_main.c | 3485 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features() 6268 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features() 6273 if (changed & NETIF_F_HW_TC) { in ice_set_features() 6274 bool ena = !!(features & NETIF_F_HW_TC); in ice_set_features() 8812 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_nic.c | 1194 net_dev->features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf() 1195 efx->fixed_features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 818 NETIF_F_HW_TC; in lan966x_probe_port() 819 dev->hw_features |= NETIF_F_HW_TC; in lan966x_probe_port()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_common.c | 1875 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features() 1888 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features() 1895 otx2_tc_flower_rule_cnt(pfvf) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features()
|
H A D | otx2_vf.c | 665 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_main.c | 633 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
|
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_main.c | 576 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 834 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 1290 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
/openbmc/linux/include/net/ |
H A D | pkt_cls.h | 682 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 2055 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc() 2056 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.h | 53 NETIF_F_HW_TC)
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 636 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 2444 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features() 3344 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature() 3353 NETIF_F_HW_TC); in hns3_set_default_feature()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 1267 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features() 1695 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create() 1696 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 52 NETIF_F_HW_TC, \
|