Home
last modified time | relevance | path

Searched refs:ntuple (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h101 struct mlx5e_rx_res *rx_res, bool ntuple);
102 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
109 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
144 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple,
/linux-6.6.21/kernel/bpf/
Dmprog.c110 struct bpf_tuple *ntuple, int idx) in bpf_mprog_replace() argument
118 bpf_mprog_write(fp, cp, ntuple); in bpf_mprog_replace()
119 if (!ntuple->link) { in bpf_mprog_replace()
129 struct bpf_tuple *ntuple, int idx, u32 flags) in bpf_mprog_insert() argument
145 bpf_mprog_write(fp, cp, ntuple); in bpf_mprog_insert()
231 struct bpf_tuple rtuple, ntuple = { in bpf_mprog_attach() local
289 ret = bpf_mprog_replace(entry, entry_new, &ntuple, idx); in bpf_mprog_attach()
291 ret = bpf_mprog_insert(entry, entry_new, &ntuple, idx, flags); in bpf_mprog_attach()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c479 u64 ntuple = 0; in cxgb4_select_ntuple() local
485 ntuple |= (u64)(FT_VLAN_VLD_F | l2t->vlan) << tp->vlan_shift; in cxgb4_select_ntuple()
488 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
491 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift; in cxgb4_select_ntuple()
496 ntuple |= (u64)(FT_VNID_ID_VF_V(pi->vin) | in cxgb4_select_ntuple()
501 return ntuple; in cxgb4_select_ntuple()
Dcxgb4_filter.c1241 u64 ntuple = 0; in hash_filter_ntuple() local
1247 ntuple |= (FT_VLAN_VLD_F | fs->val.ivlan) << tp->vlan_shift; in hash_filter_ntuple()
1250 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
1254 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift; in hash_filter_ntuple()
1256 ntuple |= (u64)fs->val.proto << tp->protocol_shift; in hash_filter_ntuple()
1260 ntuple |= (u64)(fs->val.tos) << tp->tos_shift; in hash_filter_ntuple()
1265 ntuple |= (u64)((fs->val.encap_vld << 16) | in hash_filter_ntuple()
1269 ntuple |= (u64)((fs->val.pfvf_vld << 16) | in hash_filter_ntuple()
1273 ntuple |= (u64)((fs->val.ovlan_vld << 16) | in hash_filter_ntuple()
1278 ntuple |= (u64)(fs->val.macidx) << tp->macmatch_shift; in hash_filter_ntuple()
[all …]
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/aquantia/
Datlantic.rst256 RX flow rules (ntuple filters)
266 The driver utilizes the ethtool interface for configuring ntuple filters,
271 ethtool -K ethX ntuple <on|off>
273 When disabling ntuple filters, all the user programmed filters are
275 be re-added when ntuple is re-enabled.
290 ``<-N|-U|--config-nfc|--config-ntuple>`` switch::
342 ethtool <-u|-n|--show-nfc|--show-ntuple> <ethX>
346 sudo ethtool <-N|-U|--config-nfc|--config-ntuple> <ethX> delete <loc>
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c733 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local
743 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
749 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
753 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
766 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local
770 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc()
776 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
780 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
Dotx2_tc.c1297 bool ntuple; in otx2_setup_tc_block_ingress_cb() local
1302 ntuple = nic->netdev->features & NETIF_F_NTUPLE; in otx2_setup_tc_block_ingress_cb()
1305 if (ntuple) { in otx2_setup_tc_block_ingress_cb()
Dotx2_common.c1870 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
1873 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
1876 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
1890 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
Dotx2_common.h367 bool ntuple; member
/linux-6.6.21/Documentation/networking/devlink/
Docteontx2.rst26 The same is used for ntuple filters of the interface. Supported by
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c194 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables() argument
198 if (!ntuple) in mlx5e_arfs_destroy_tables()
378 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
384 if (!ntuple) in mlx5e_arfs_create_tables()
DKconfig44 Enables ethernet netdevice arfs support and ntuple filtering.
Den_fs.c1369 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple, in mlx5e_destroy_flow_steering() argument
1377 mlx5e_arfs_destroy_tables(fs, ntuple); in mlx5e_destroy_flow_steering()
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/intel/
Dice.rst224 characteristics. They are enabled through ethtool's ntuple interface. To enable
227 # ethtool -K <ethX> ntuple <off|on>
229 NOTE: When you disable ntuple filters, all the user programmed filters are
231 when ntuple is re-enabled.
391 - aRFS requires that ntuple filtering is enabled via ethtool.
400 - aRFS and ethtool's ntuple interface both use the device's Flow Director. aRFS
401 and ntuple features can coexist, but you may encounter unexpected results if
402 there's a conflict between aRFS and ntuple requests. See "Intel(R) Ethernet
407 1. Enable the Intel Ethernet Flow Director and ntuple filters using ethtool.
411 # ethtool -K <ethX> ntuple on
[all …]
Dixgbe.rst334 # ethtool -K ethX ntuple <on|off>
336 When disabling ntuple filters, all the user programmed filters are flushed from
337 the driver cache and hardware. All needed filters must be re-added when ntuple
352 characteristics. They are enabled through ethtool's ntuple interface. To add a
Di40e.rst147 # ethtool -K ethX ntuple <on|off>
149 When disabling ntuple filters, all the user programmed filters are flushed from
150 the driver cache and hardware. All needed filters must be re-added when ntuple
176 ethtool -K [adapter] ntuple [off|on]
188 characteristics. They are enabled through ethtool's ntuple interface. To add a
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dkconfig.rst61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/marvell/
Docteontx2.rst111 flow control, ntuple filters, dump PHY EEPROM, config FEC etc.
/linux-6.6.21/Documentation/networking/
Dscaling.rst50 be configured from ethtool (--config-ntuple).
382 It also requires that ntuple filtering is enabled via ethtool. The map