Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h161 netdev->hw_features & NETIF_F_NTUPLE; in mlx5e_fs_has_arfs()
167 netdev->features & NETIF_F_NTUPLE; in mlx5e_fs_want_arfs()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A 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()
H A Daq_filters.c239 if (!(aq_nic->ndev->features & NETIF_F_NTUPLE)) { in aq_rule_is_not_support()
/linux/include/linux/
H A Dnetdev_features.h124 #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) macro
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c4641 if ((netdev->features & NETIF_F_NTUPLE) ^ (features & NETIF_F_NTUPLE)) { in iavf_set_features()
4642 if (features & NETIF_F_NTUPLE) in iavf_set_features()
4998 features &= ~NETIF_F_NTUPLE; in iavf_fix_features()
5213 netdev->hw_features |= NETIF_F_NTUPLE; in iavf_process_config()
5214 netdev->features |= NETIF_F_NTUPLE; in iavf_process_config()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c723 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc()
756 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc()
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c593 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c3460 if (!(netdev->features & NETIF_F_NTUPLE)) in gem_enable_flow_filters()
3872 gem_enable_flow_filters(bp, !!(features & NETIF_F_NTUPLE)); in macb_set_rxflow_feature()
3890 if (changed & NETIF_F_NTUPLE) in macb_set_features()
4221 dev->hw_features |= NETIF_F_NTUPLE; in macb_init()
5356 if (netdev->hw_features & NETIF_F_NTUPLE) in macb_suspend()
5428 if (netdev->hw_features & NETIF_F_NTUPLE) in macb_resume()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c379 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c786 if (!(netdev->features & NETIF_F_NTUPLE)) in gve_set_rxnfc()
H A Dgve_main.c2104 if ((netdev->features & NETIF_F_NTUPLE) && !(features & NETIF_F_NTUPLE)) { in gve_set_features()
/linux/drivers/net/ethernet/sfc/siena/
H A Defx_common.c218 if (net_dev->features & ~data & NETIF_F_NTUPLE) { in efx_siena_set_features()
/linux/net/ethtool/
H A Dioctl.c290 NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_NTUPLE | \
303 if (dev->features & NETIF_F_NTUPLE) in __ethtool_get_flags()
325 features |= NETIF_F_NTUPLE; in __ethtool_set_flags()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c4338 err |= MLX5E_HANDLE_FEATURE(NETIF_F_NTUPLE, set_feature_arfs); in mlx5e_set_features()
4364 features &= ~NETIF_F_NTUPLE; in mlx5e_fix_uplink_rep_features()
4365 if (netdev->features & NETIF_F_NTUPLE) in mlx5e_fix_uplink_rep_features()
5597 netdev->hw_features |= NETIF_F_NTUPLE; in mlx5e_build_nic_netdev()
5599 netdev->features |= NETIF_F_NTUPLE; in mlx5e_build_nic_netdev()
H A Den_fs.c1313 netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5e_create_flow_steering()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_main.c874 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev()
2489 edev->ndev->features &= ~NETIF_F_NTUPLE; in qede_load()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c2733 switch (features & NETIF_F_NTUPLE) { in wx_set_features()
2734 case NETIF_F_NTUPLE: in wx_set_features()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c2435 if ((changed & NETIF_F_NTUPLE) && h->ae_algo->ops->enable_fd) { in hns3_nic_set_features()
2436 enable = !!(features & NETIF_F_NTUPLE); in hns3_nic_set_features()
3325 netdev->features |= NETIF_F_NTUPLE; in hns3_set_default_feature()
3347 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_GRO_HW | NETIF_F_NTUPLE | in hns3_set_default_feature()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c3627 NETIF_F_NTUPLE | in ice_set_netdev_features()
6578 if (changed & NETIF_F_NTUPLE) { in ice_set_features()
6579 bool ena = !!(features & NETIF_F_NTUPLE); in ice_set_features()
8931 if (vsi->netdev->features & NETIF_F_NTUPLE) { in ice_remove_q_channels()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c2468 if (!(changed & (NETIF_F_RXALL | NETIF_F_NTUPLE))) in igb_set_features()
2471 if (!(features & NETIF_F_NTUPLE)) { in igb_set_features()
3320 netdev->hw_features |= NETIF_F_NTUPLE; in igb_probe()
5172 if (adapter->netdev->features & NETIF_F_NTUPLE) in igb_vlan_promisc_enable()
H A Digb_ethtool.c2900 if (!(netdev->hw_features & NETIF_F_NTUPLE)) in igb_add_ethtool_nfc_entry()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c5375 if (!(changed & (NETIF_F_RXALL | NETIF_F_NTUPLE))) in igc_set_features()
5378 if (!(features & NETIF_F_NTUPLE)) in igc_set_features()
7038 netdev->hw_features |= NETIF_F_NTUPLE; in igc_probe()
H A Digc_ethtool.c1331 if (!(netdev->hw_features & NETIF_F_NTUPLE)) { in igc_ethtool_add_nfc_rule()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c13271 if ((features & NETIF_F_NTUPLE) && !bnxt_rfs_capable(bp, false)) in bnxt_fix_features()
13272 features &= ~NETIF_F_NTUPLE; in bnxt_fix_features()
13331 if (features & NETIF_F_NTUPLE) in bnxt_set_features()
14446 dev->hw_features &= ~NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
14447 dev->features &= ~NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
14450 dev->hw_features |= NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
14453 dev->features |= NETIF_F_NTUPLE; in bnxt_set_dflt_rfs()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c3419 dev->hw_features |= NETIF_F_NTUPLE; in mlx4_en_init_netdev()

12