Home
last modified time | relevance | path

Searched refs:ntuple (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/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()
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,
108 mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res, bool ntuple) mlx5e_arfs_create_tables() argument
/kernel/linux/linux-6.6/kernel/bpf/
H A Dmprog.c110 struct bpf_tuple *ntuple, int idx) in bpf_mprog_replace()
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()
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()
108 bpf_mprog_replace(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_tuple *ntuple, int idx) bpf_mprog_replace() argument
127 bpf_mprog_insert(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_tuple *ntuple, int idx, u32 flags) bpf_mprog_insert() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
H A 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()
H A Dotx2_common.c213 /* update dmac address in ntuple and DMAC filter list */ in otx2_set_mac_address()
1870 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()
H A Dotx2_common.h367 bool ntuple; member
/kernel/linux/linux-5.10/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 |= (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 | in hash_filter_ntuple()
[all...]
/kernel/linux/linux-6.6/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 |= (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 | in hash_filter_ntuple()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c142 * ntuple is set, moving to switchdev flow will enter this function in mlx5e_arfs_disable()
194 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()
384 if (!ntuple) in mlx5e_arfs_create_tables()
377 mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res, bool ntuple) mlx5e_arfs_create_tables() argument
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()

Completed in 19 milliseconds