Home
last modified time | relevance | path

Searched refs:flow_group_in (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c25 u32 *flow_group_in; in esw_acl_ingress_lgcy_groups_create() local
28 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_ingress_lgcy_groups_create()
29 if (!flow_group_in) in esw_acl_ingress_lgcy_groups_create()
32 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_acl_ingress_lgcy_groups_create()
34 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_acl_ingress_lgcy_groups_create()
39 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_acl_ingress_lgcy_groups_create()
40 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 0); in esw_acl_ingress_lgcy_groups_create()
42 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
51 memset(flow_group_in, 0, inlen); in esw_acl_ingress_lgcy_groups_create()
52 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_acl_ingress_lgcy_groups_create()
[all …]
Dingress_ofld.c197 u32 *flow_group_in; in esw_acl_ingress_ofld_groups_create() local
201 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_ingress_ofld_groups_create()
202 if (!flow_group_in) in esw_acl_ingress_ofld_groups_create()
209 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_index); in esw_acl_ingress_ofld_groups_create()
210 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, flow_index); in esw_acl_ingress_ofld_groups_create()
212 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_ofld_groups_create()
227 memset(flow_group_in, 0, inlen); in esw_acl_ingress_ofld_groups_create()
229 flow_group_in, match_criteria); in esw_acl_ingress_ofld_groups_create()
230 MLX5_SET(create_flow_group_in, flow_group_in, in esw_acl_ingress_ofld_groups_create()
233 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_index); in esw_acl_ingress_ofld_groups_create()
[all …]
Dhelper.c99 u32 *flow_group_in; in esw_acl_egress_vlan_grp_create() local
102 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_vlan_grp_create()
103 if (!flow_group_in) in esw_acl_egress_vlan_grp_create()
106 MLX5_SET(create_flow_group_in, flow_group_in, in esw_acl_egress_vlan_grp_create()
109 flow_group_in, match_criteria); in esw_acl_egress_vlan_grp_create()
112 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_acl_egress_vlan_grp_create()
113 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 0); in esw_acl_egress_vlan_grp_create()
115 vlan_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_vlan_grp_create()
126 kvfree(flow_group_in); in esw_acl_egress_vlan_grp_create()
Degress_lgcy.c24 u32 *flow_group_in; in esw_acl_egress_lgcy_groups_create() local
31 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_lgcy_groups_create()
32 if (!flow_group_in) { in esw_acl_egress_lgcy_groups_create()
37 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 1); in esw_acl_egress_lgcy_groups_create()
38 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 1); in esw_acl_egress_lgcy_groups_create()
39 drop_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_lgcy_groups_create()
48 kvfree(flow_group_in); in esw_acl_egress_lgcy_groups_create()
52 kvfree(flow_group_in); in esw_acl_egress_lgcy_groups_create()
Degress_ofld.c107 u32 *flow_group_in; in esw_acl_egress_ofld_groups_create() local
122 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_ofld_groups_create()
123 if (!flow_group_in) { in esw_acl_egress_ofld_groups_create()
131 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_index); in esw_acl_egress_ofld_groups_create()
132 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, flow_index); in esw_acl_egress_ofld_groups_create()
133 fwd_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_ofld_groups_create()
139 kvfree(flow_group_in); in esw_acl_egress_ofld_groups_create()
143 kvfree(flow_group_in); in esw_acl_egress_ofld_groups_create()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Drdma.c34 u32 *flow_group_in; in mlx5_rdma_enable_roce_steering() local
42 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
43 if (!flow_group_in) in mlx5_rdma_enable_roce_steering()
47 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
66 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in mlx5_rdma_enable_roce_steering()
68 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in mlx5_rdma_enable_roce_steering()
73 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering()
99 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
112 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
Deswitch_offloads.c1462 u32 *flow_group_in) in esw_set_flow_group_source_port() argument
1465 flow_group_in, in esw_set_flow_group_source_port()
1469 MLX5_SET(create_flow_group_in, flow_group_in, in esw_set_flow_group_source_port()
1477 MLX5_SET(create_flow_group_in, flow_group_in, in esw_set_flow_group_source_port()
1652 u32 flags = 0, *flow_group_in; in esw_create_offloads_fdb_tables() local
1659 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_offloads_fdb_tables()
1660 if (!flow_group_in) in esw_create_offloads_fdb_tables()
1731 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_offloads_fdb_tables()
1734 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_offloads_fdb_tables()
1741 MLX5_SET(create_flow_group_in, flow_group_in, in esw_create_offloads_fdb_tables()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c82 u32 *flow_group_in; in esw_create_legacy_fdb_table() local
95 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_legacy_fdb_table()
96 if (!flow_group_in) in esw_create_legacy_fdb_table()
111 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_legacy_fdb_table()
113 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_legacy_fdb_table()
115 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_create_legacy_fdb_table()
117 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 3); in esw_create_legacy_fdb_table()
119 g = mlx5_create_flow_group(fdb, flow_group_in); in esw_create_legacy_fdb_table()
128 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_legacy_fdb_table()
130 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, table_size - 2); in esw_create_legacy_fdb_table()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c470 u32 *flow_group_in; in mlx5_chains_create_prio() local
478 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_chains_create_prio()
479 if (!prio_s || !flow_group_in) { in mlx5_chains_create_prio()
517 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, in mlx5_chains_create_prio()
519 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, in mlx5_chains_create_prio()
521 miss_group = mlx5_create_flow_group(ft, flow_group_in); in mlx5_chains_create_prio()
555 kvfree(flow_group_in); in mlx5_chains_create_prio()
571 kvfree(flow_group_in); in mlx5_chains_create_prio()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c120 u32 *flow_group_in; in rx_fs_create() local
123 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in rx_fs_create()
125 if (!flow_group_in || !spec) { in rx_fs_create()
131 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in rx_fs_create()
132 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in rx_fs_create()
133 miss_group = mlx5_create_flow_group(ft, flow_group_in); in rx_fs_create()
151 kvfree(flow_group_in); in rx_fs_create()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c1560 u32 *flow_group_in; in mlx5_tc_ct_alloc_pre_ct() local
1571 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_tc_ct_alloc_pre_ct()
1572 if (!flow_group_in) in mlx5_tc_ct_alloc_pre_ct()
1589 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in mlx5_tc_ct_alloc_pre_ct()
1590 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 0); in mlx5_tc_ct_alloc_pre_ct()
1591 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in mlx5_tc_ct_alloc_pre_ct()
1594 misc = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in mlx5_tc_ct_alloc_pre_ct()
1605 g = mlx5_create_flow_group(ft, flow_group_in); in mlx5_tc_ct_alloc_pre_ct()
1614 memset(flow_group_in, 0, inlen); in mlx5_tc_ct_alloc_pre_ct()
1615 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 1); in mlx5_tc_ct_alloc_pre_ct()
[all …]