Home
last modified time | relevance | path

Searched refs:NETIF_F_NTUPLE (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c375 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_create_flow_steering()
379 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
395 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_create_flow_steering()
404 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_destroy_flow_steering()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c168 if (!(features & NETIF_F_NTUPLE)) { in aq_ndev_set_features()
169 if (aq_nic->ndev->features & NETIF_F_NTUPLE) { in aq_ndev_set_features()
Daq_filters.c239 if (!(aq_nic->ndev->features & NETIF_F_NTUPLE)) { in aq_rule_is_not_support()
/Linux-v6.6/include/linux/
Dnetdev_features.h128 #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) macro
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c1317 !!(netdev->hw_features & NETIF_F_NTUPLE)); in mlx5e_create_flow_steering()
1320 netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5e_create_flow_steering()
1364 mlx5e_arfs_destroy_tables(fs, !!(netdev->hw_features & NETIF_F_NTUPLE)); in mlx5e_create_flow_steering()
Den_main.c4087 err |= MLX5E_HANDLE_FEATURE(NETIF_F_NTUPLE, set_feature_arfs); in mlx5e_set_features()
4113 features &= ~NETIF_F_NTUPLE; in mlx5e_fix_uplink_rep_features()
4114 if (netdev->features & NETIF_F_NTUPLE) in mlx5e_fix_uplink_rep_features()
5211 netdev->hw_features |= NETIF_F_NTUPLE; in mlx5e_build_nic_netdev()
5375 mlx5e_destroy_flow_steering(priv->fs, !!(priv->netdev->hw_features & NETIF_F_NTUPLE), in mlx5e_init_nic_rx()
5392 mlx5e_destroy_flow_steering(priv->fs, !!(priv->netdev->hw_features & NETIF_F_NTUPLE), in mlx5e_cleanup_nic_rx()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c1865 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features()
1868 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
1871 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
1885 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
Dotx2_ethtool.c730 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc()
763 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc()
Dotx2_vf.c648 netdev->hw_features |= NETIF_F_NTUPLE; in otx2vf_probe()
Dotx2_tc.c1274 ntuple = nic->netdev->features & NETIF_F_NTUPLE; in otx2_setup_tc_block_ingress_cb()
/Linux-v6.6/drivers/net/ethernet/wangxun/ngbe/
Dngbe_main.c578 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
/Linux-v6.6/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_main.c635 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c47 NETIF_F_NTUPLE | \
/Linux-v6.6/drivers/net/ethernet/cadence/
Dmacb_main.c3437 if (!(netdev->features & NETIF_F_NTUPLE)) in gem_enable_flow_filters()
3829 gem_enable_flow_filters(bp, !!(features & NETIF_F_NTUPLE)); in macb_set_rxflow_feature()
3847 if (changed & NETIF_F_NTUPLE) in macb_set_features()
4174 dev->hw_features |= NETIF_F_NTUPLE; in macb_init()
5269 if (netdev->hw_features & NETIF_F_NTUPLE) in macb_suspend()
5341 if (netdev->hw_features & NETIF_F_NTUPLE) in macb_resume()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c42 NETIF_F_NTUPLE | \
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dsiena.c1103 NETIF_F_RXHASH | NETIF_F_NTUPLE),
Defx_common.c218 if (net_dev->features & ~data & NETIF_F_NTUPLE) { in efx_siena_set_features()
Drx_common.c808 if (efx->type->offload_features & NETIF_F_NTUPLE) { in efx_siena_probe_filters()
/Linux-v6.6/net/ethtool/
Dioctl.c286 NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_NTUPLE | \
299 if (dev->features & NETIF_F_NTUPLE) in __ethtool_get_flags()
321 features |= NETIF_F_NTUPLE; in __ethtool_set_flags()
/Linux-v6.6/drivers/net/ethernet/sfc/
Defx_common.c214 if (net_dev->features & ~data & NETIF_F_NTUPLE) { in efx_set_features()
Drx_common.c804 if (efx->type->offload_features & NETIF_F_NTUPLE) { in efx_probe_filters()
Def100_nic.c1225 NETIF_F_HIGHDMA | NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_NTUPLE | \
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
Defx.c1691 if (efx->type->offload_features & NETIF_F_NTUPLE) { in ef4_probe_filters()
2187 if (net_dev->features & ~data & NETIF_F_NTUPLE) { in ef4_set_features()
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
Dqede_main.c874 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev()
2489 edev->ndev->features &= ~NETIF_F_NTUPLE; in qede_load()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2439 if ((changed & NETIF_F_NTUPLE) && h->ae_algo->ops->enable_fd) { in hns3_nic_set_features()
2440 enable = !!(features & NETIF_F_NTUPLE); in hns3_nic_set_features()
3330 netdev->features |= NETIF_F_NTUPLE; in hns3_set_default_feature()
3352 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_GRO_HW | NETIF_F_NTUPLE | in hns3_set_default_feature()

12