Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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()
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()
58 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
67 memset(flow_group_in, 0, inlen); in esw_acl_ingress_lgcy_groups_create()
75 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
84 memset(flow_group_in, 0, inlen); in esw_acl_ingress_lgcy_groups_create()
96 kvfree(flow_group_in); in esw_acl_ingress_lgcy_groups_create()
[all …]
H A Dingress_ofld.c213 u32 *flow_group_in; in esw_acl_ingress_ofld_groups_create() local
217 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_ingress_ofld_groups_create()
218 if (!flow_group_in) in esw_acl_ingress_ofld_groups_create()
228 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_ofld_groups_create()
243 memset(flow_group_in, 0, inlen); in esw_acl_ingress_ofld_groups_create()
245 flow_group_in, match_criteria); in esw_acl_ingress_ofld_groups_create()
246 MLX5_SET(create_flow_group_in, flow_group_in, in esw_acl_ingress_ofld_groups_create()
252 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_ofld_groups_create()
268 memset(flow_group_in, 0, inlen); in esw_acl_ingress_ofld_groups_create()
282 kvfree(flow_group_in); in esw_acl_ingress_ofld_groups_create()
[all …]
H A Dhelper.c100 u32 *flow_group_in; in esw_acl_egress_vlan_grp_create() local
103 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_vlan_grp_create()
104 if (!flow_group_in) in esw_acl_egress_vlan_grp_create()
107 MLX5_SET(create_flow_group_in, flow_group_in, in esw_acl_egress_vlan_grp_create()
110 flow_group_in, match_criteria); in esw_acl_egress_vlan_grp_create()
113 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_acl_egress_vlan_grp_create()
114 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 0); in esw_acl_egress_vlan_grp_create()
116 vlan_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_vlan_grp_create()
127 kvfree(flow_group_in); in esw_acl_egress_vlan_grp_create()
H A 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()
H A Degress_ofld.c121 u32 *flow_group_in; in esw_acl_egress_ofld_groups_create() local
136 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_ofld_groups_create()
137 if (!flow_group_in) { in esw_acl_egress_ofld_groups_create()
145 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_index); in esw_acl_egress_ofld_groups_create()
146 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, flow_index); in esw_acl_egress_ofld_groups_create()
147 fwd_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_ofld_groups_create()
153 kvfree(flow_group_in); in esw_acl_egress_ofld_groups_create()
157 kvfree(flow_group_in); in esw_acl_egress_ofld_groups_create()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_meter.c86 u32 *flow_group_in; in mlx5e_post_meter_rate_fg_create() local
89 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_post_meter_rate_fg_create()
90 if (!flow_group_in) in mlx5e_post_meter_rate_fg_create()
108 kvfree(flow_group_in); in mlx5e_post_meter_rate_fg_create()
299 u32 *flow_group_in; in mlx5e_post_meter_create_mtu_table() local
302 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_post_meter_create_mtu_table()
303 if (!flow_group_in) in mlx5e_post_meter_create_mtu_table()
313 memset(flow_group_in, 0, inlen); in mlx5e_post_meter_create_mtu_table()
316 fg = mlx5_create_flow_group(table->ft, flow_group_in); in mlx5e_post_meter_create_mtu_table()
323 kvfree(flow_group_in); in mlx5e_post_meter_create_mtu_table()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drdma.c34 u32 *flow_group_in; in mlx5_rdma_enable_roce_steering() local
41 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
42 if (!flow_group_in) in mlx5_rdma_enable_roce_steering()
46 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
66 mlx5_esw_set_flow_group_source_port(esw, flow_group_in, 0); in mlx5_rdma_enable_roce_steering()
68 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering()
87 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
100 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
H A Deswitch_offloads.c1460 flow_group_in, in mlx5_esw_set_flow_group_source_port()
1834 if (!flow_group_in) in esw_create_offloads_fdb_tables()
1920 kvfree(flow_group_in); in esw_create_offloads_fdb_tables()
2021 u32 *flow_group_in; in esw_create_vport_rx_group() local
2027 if (!flow_group_in) in esw_create_vport_rx_group()
2067 u32 *flow_group_in; in esw_create_vport_rx_drop_group() local
2074 if (!flow_group_in) in esw_create_vport_rx_drop_group()
2244 u32 *flow_group_in; in esw_create_restore_table() local
2257 if (!flow_group_in) { in esw_create_restore_table()
2723 u32 *flow_group_in; in esw_master_egress_create_resources() local
[all …]
H A Deswitch.h768 u32 *flow_group_in,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A 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()
115 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); 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()
134 g = mlx5_create_flow_group(fdb, flow_group_in); in esw_create_legacy_fdb_table()
146 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_legacy_fdb_table()
151 g = mlx5_create_flow_group(fdb, flow_group_in); in esw_create_legacy_fdb_table()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c471 u32 *flow_group_in; in mlx5_chains_create_prio() local
479 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_chains_create_prio()
480 if (!prio_s || !flow_group_in) { in mlx5_chains_create_prio()
518 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, in mlx5_chains_create_prio()
520 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, in mlx5_chains_create_prio()
522 miss_group = mlx5_create_flow_group(ft, flow_group_in); in mlx5_chains_create_prio()
556 kvfree(flow_group_in); in mlx5_chains_create_prio()
572 kvfree(flow_group_in); in mlx5_chains_create_prio()
H A Dmacsec_fs.c404 u32 *flow_group_in; in macsec_fs_tx_create() local
416 if (!flow_group_in) { in macsec_fs_tx_create()
535 kvfree(flow_group_in); in macsec_fs_tx_create()
542 kvfree(flow_group_in); in macsec_fs_tx_create()
1223 u32 *flow_group_in; in macsec_fs_rx_roce_miss_create() local
1227 if (!flow_group_in) in macsec_fs_rx_roce_miss_create()
1255 kvfree(flow_group_in); in macsec_fs_rx_roce_miss_create()
1261 kvfree(flow_group_in); in macsec_fs_rx_roce_miss_create()
1510 u32 *flow_group_in; in macsec_fs_rx_create() local
1522 if (!flow_group_in) { in macsec_fs_rx_create()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c164 u32 *flow_group_in; in ipsec_rx_status_drop_create() local
167 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in ipsec_rx_status_drop_create()
169 if (!flow_group_in || !spec) { in ipsec_rx_status_drop_create()
176 g = mlx5_create_flow_group(ft, flow_group_in); in ipsec_rx_status_drop_create()
209 kvfree(flow_group_in); in ipsec_rx_status_drop_create()
218 kvfree(flow_group_in); in ipsec_rx_status_drop_create()
299 u32 *flow_group_in; in ipsec_miss_create() local
302 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in ipsec_miss_create()
304 if (!flow_group_in || !spec) { in ipsec_miss_create()
312 miss->group = mlx5_create_flow_group(ft, flow_group_in); in ipsec_miss_create()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c1668 u32 *flow_group_in; in mlx5_tc_ct_alloc_pre_ct() local
1679 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_tc_ct_alloc_pre_ct()
1680 if (!flow_group_in) in mlx5_tc_ct_alloc_pre_ct()
1698 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 0); in mlx5_tc_ct_alloc_pre_ct()
1702 misc = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in mlx5_tc_ct_alloc_pre_ct()
1713 g = mlx5_create_flow_group(ft, flow_group_in); in mlx5_tc_ct_alloc_pre_ct()
1722 memset(flow_group_in, 0, inlen); in mlx5_tc_ct_alloc_pre_ct()
1724 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 1); in mlx5_tc_ct_alloc_pre_ct()
1725 g = mlx5_create_flow_group(ft, flow_group_in); in mlx5_tc_ct_alloc_pre_ct()
1737 kvfree(flow_group_in); in mlx5_tc_ct_alloc_pre_ct()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dfs.c2069 void *flow_group_in; in steering_anchor_create_fg_drop() local
2075 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in steering_anchor_create_fg_drop()
2076 if (!flow_group_in) in steering_anchor_create_fg_drop()
2080 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 1); in steering_anchor_create_fg_drop()
2082 fg = mlx5_create_flow_group(ft_prio->anchor.ft, flow_group_in); in steering_anchor_create_fg_drop()
2091 kvfree(flow_group_in); in steering_anchor_create_fg_drop()
2110 void *flow_group_in; in steering_anchor_create_fg_goto_table() local
2116 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in steering_anchor_create_fg_goto_table()
2117 if (!flow_group_in) in steering_anchor_create_fg_goto_table()
2120 fg = mlx5_create_flow_group(ft_prio->anchor.ft, flow_group_in); in steering_anchor_create_fg_goto_table()
[all …]