Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c334 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_create_flow_steering()
338 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
354 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_create_flow_steering()
363 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_destroy_flow_steering()
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c167 if (!(features & NETIF_F_NTUPLE)) { in aq_ndev_set_features()
168 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.1/include/linux/
Dnetdev_features.h128 #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) macro
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c1774 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features()
1777 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
1780 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
1802 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
1810 (netdev->features & NETIF_F_NTUPLE) && !(changed & NETIF_F_NTUPLE)) { in otx2_handle_ntuple_tc_features()
Dotx2_ethtool.c719 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc()
752 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc()
Dotx2_vf.c651 netdev->hw_features |= NETIF_F_NTUPLE; in otx2vf_probe()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c1311 !!(netdev->hw_features & NETIF_F_NTUPLE)); in mlx5e_create_flow_steering()
1314 netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5e_create_flow_steering()
1358 mlx5e_arfs_destroy_tables(fs, !!(netdev->hw_features & NETIF_F_NTUPLE)); in mlx5e_create_flow_steering()
Den_main.c4033 err |= MLX5E_HANDLE_FEATURE(NETIF_F_NTUPLE, set_feature_arfs); in mlx5e_set_features()
4056 features &= ~NETIF_F_NTUPLE; in mlx5e_fix_uplink_rep_features()
4057 if (netdev->features & NETIF_F_NTUPLE) in mlx5e_fix_uplink_rep_features()
5154 netdev->hw_features |= NETIF_F_NTUPLE; in mlx5e_build_nic_netdev()
5301 mlx5e_destroy_flow_steering(priv->fs, !!(priv->netdev->hw_features & NETIF_F_NTUPLE), in mlx5e_init_nic_rx()
5318 mlx5e_destroy_flow_steering(priv->fs, !!(priv->netdev->hw_features & NETIF_F_NTUPLE), in mlx5e_cleanup_nic_rx()
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c47 NETIF_F_NTUPLE | \
/Linux-v6.1/drivers/net/ethernet/cadence/
Dmacb_main.c3345 if (!(netdev->features & NETIF_F_NTUPLE)) in gem_enable_flow_filters()
3737 gem_enable_flow_filters(bp, !!(features & NETIF_F_NTUPLE)); in macb_set_rxflow_feature()
3755 if (changed & NETIF_F_NTUPLE) in macb_set_features()
4082 dev->hw_features |= NETIF_F_NTUPLE; in macb_init()
5145 if (netdev->hw_features & NETIF_F_NTUPLE) in macb_suspend()
5214 if (netdev->hw_features & NETIF_F_NTUPLE) in macb_resume()
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c42 NETIF_F_NTUPLE | \
Dhw_atl_b0.c46 NETIF_F_NTUPLE | \
/Linux-v6.1/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.1/net/ethtool/
Dioctl.c292 NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_NTUPLE | \
305 if (dev->features & NETIF_F_NTUPLE) in __ethtool_get_flags()
327 features |= NETIF_F_NTUPLE; in __ethtool_set_flags()
/Linux-v6.1/drivers/net/ethernet/sfc/
Defx_common.c219 if (net_dev->features & ~data & NETIF_F_NTUPLE) { in efx_set_features()
Drx_common.c801 if (efx->type->offload_features & NETIF_F_NTUPLE) { in efx_probe_filters()
Def100_nic.c1171 NETIF_F_HIGHDMA | NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_NTUPLE | \
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/
Defx.c1692 if (efx->type->offload_features & NETIF_F_NTUPLE) { in ef4_probe_filters()
2188 if (net_dev->features & ~data & NETIF_F_NTUPLE) { in ef4_set_features()
/Linux-v6.1/drivers/net/ethernet/qlogic/qede/
Dqede_main.c858 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev()
2445 edev->ndev->features &= ~NETIF_F_NTUPLE; in qede_load()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2430 if ((changed & NETIF_F_NTUPLE) && h->ae_algo->ops->enable_fd) { in hns3_nic_set_features()
2431 enable = !!(features & NETIF_F_NTUPLE); in hns3_nic_set_features()
3323 netdev->features |= NETIF_F_NTUPLE; in hns3_set_default_feature()
3345 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_GRO_HW | NETIF_F_NTUPLE | in hns3_set_default_feature()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c10455 bp->dev->hw_features &= ~NETIF_F_NTUPLE; in __bnxt_open_nic()
11187 if ((features & NETIF_F_NTUPLE) && !bnxt_rfs_capable(bp)) in bnxt_fix_features()
11188 features &= ~NETIF_F_NTUPLE; in bnxt_fix_features()
11237 if (features & NETIF_F_NTUPLE) in bnxt_set_features()
12266 dev->hw_features &= ~NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
12267 dev->features &= ~NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
12270 dev->hw_features |= NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
12273 dev->features |= NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_main.c3357 NETIF_F_NTUPLE | in ice_set_netdev_features()
6080 if (changed & NETIF_F_NTUPLE) { in ice_set_features()
6081 bool ena = !!(features & NETIF_F_NTUPLE); in ice_set_features()
8330 if (vsi->netdev->features & NETIF_F_NTUPLE) { in ice_remove_q_channels()

12