Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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,
/openbmc/linux/kernel/bpf/
H A 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()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/aquantia/
H A 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>
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A Dcxgb4_filter.c1241 u64 ntuple = 0; in hash_filter_ntuple() local
1247 ntuple |= (u64)(FT_VLAN_VLD_F | in hash_filter_ntuple()
1251 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
1255 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift; in hash_filter_ntuple()
1257 ntuple |= (u64)fs->val.proto << tp->protocol_shift; in hash_filter_ntuple()
1261 ntuple |= (u64)(fs->val.tos) << tp->tos_shift; in hash_filter_ntuple()
1266 ntuple |= (u64)((fs->val.encap_vld << 16) | in hash_filter_ntuple()
1270 ntuple |= (u64)((fs->val.pfvf_vld << 16) | in hash_filter_ntuple()
1274 ntuple |= (u64)((fs->val.ovlan_vld << 16) | in hash_filter_ntuple()
1279 ntuple |= (u64)(fs->val.macidx) << tp->macmatch_shift; in hash_filter_ntuple()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c738 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local
748 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
754 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
758 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
771 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local
775 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc()
781 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
785 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
H A Dotx2_tc.c1300 bool ntuple; in otx2_setup_tc_block_ingress_cb() local
1305 ntuple = nic->netdev->features & NETIF_F_NTUPLE; in otx2_setup_tc_block_ingress_cb()
1308 if (ntuple) { in otx2_setup_tc_block_ingress_cb()
H A Dotx2_common.c1874 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
1877 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
1880 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
1894 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
H A Dotx2_common.h367 bool ntuple; member
/openbmc/linux/Documentation/networking/devlink/
H A Docteontx2.rst26 The same is used for ntuple filters of the interface. Supported by
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c201 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables() argument
205 if (!ntuple) in mlx5e_arfs_destroy_tables()
385 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
391 if (!ntuple) in mlx5e_arfs_create_tables()
H A DKconfig44 Enables ethernet netdevice arfs support and ntuple filtering.
H A 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()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/
H A 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 …]
H A 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
H 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
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dkconfig.rst61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
/openbmc/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst111 flow control, ntuple filters, dump PHY EEPROM, config FEC etc.
/openbmc/linux/Documentation/networking/
H A Dscaling.rst50 be configured from ethtool (--config-ntuple).
382 It also requires that ntuple filtering is enabled via ethtool. The map