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

/linux-master/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)
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} 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) argument
/linux-master/kernel/bpf/
H A Dmprog.c110 struct bpf_tuple *ntuple, int idx)
118 bpf_mprog_write(fp, cp, ntuple);
119 if (!ntuple->link) {
129 struct bpf_tuple *ntuple, int idx, u32 flags)
145 bpf_mprog_write(fp, cp, ntuple);
231 struct bpf_tuple rtuple, ntuple = { local
289 ret = bpf_mprog_replace(entry, entry_new, &ntuple, idx);
291 ret = bpf_mprog_insert(entry, entry_new, &ntuple, idx, flags);
108 bpf_mprog_replace(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_tuple *ntuple, int idx) argument
127 bpf_mprog_insert(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_tuple *ntuple, int idx, u32 flags) argument
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c733 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); local
743 if (netif_running(dev) && ntuple) {
749 if (netif_running(dev) && ntuple)
753 if (netif_running(dev) && ntuple)
766 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); local
770 pfvf->flow_cfg->ntuple = ntuple;
776 if (netif_running(dev) && ntuple)
780 if (netif_running(dev) && ntuple)
H A Dotx2_tc.c1490 bool ntuple; local
1495 ntuple = nic->netdev->features & NETIF_F_NTUPLE;
1498 if (ntuple) {
H A Dotx2_common.c213 /* update dmac address in ntuple and DMAC filter list */
1870 bool ntuple = !!(features & NETIF_F_NTUPLE); local
1873 if ((changed & NETIF_F_NTUPLE) && !ntuple)
1876 if ((changed & NETIF_F_NTUPLE) && ntuple) {
1890 if ((changed & NETIF_F_NTUPLE) && ntuple &&
H A Dotx2_common.h367 bool ntuple; member in struct:otx2_flow_config
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c479 u64 ntuple = 0; local
485 ntuple |= (u64)(FT_VLAN_VLD_F | l2t->vlan) << tp->vlan_shift;
488 ntuple |= (u64)l2t->lport << tp->port_shift;
491 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift;
496 ntuple |= (u64)(FT_VNID_ID_VF_V(pi->vin) |
501 return ntuple;
H A Dcxgb4_filter.c1241 u64 ntuple = 0; local
1247 ntuple |= (FT_VLAN_VLD_F | fs->val.ivlan) << tp->vlan_shift;
1250 ntuple |= (u64)fs->val.iport << tp->port_shift;
1254 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift;
1256 ntuple |= (u64)fs->val.proto << tp->protocol_shift;
1260 ntuple |= (u64)(fs->val.tos) << tp->tos_shift;
1265 ntuple |= (u64)((fs->val.encap_vld << 16) |
1269 ntuple |= (u64)((fs->val.pfvf_vld << 16) |
1273 ntuple |= (u64)((fs->val.ovlan_vld << 16) |
1278 ntuple |
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c148 * ntuple is set, moving to switchdev flow will enter this function
202 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) argument
206 if (!ntuple)
386 struct mlx5e_rx_res *rx_res, bool ntuple)
392 if (!ntuple)
385 mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res, bool ntuple) argument
H A Den_fs.c1365 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple, argument
1373 mlx5e_arfs_destroy_tables(fs, ntuple);

Completed in 169 milliseconds