/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
D | ingress_lgcy.c | 25 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 …]
|
D | ingress_ofld.c | 197 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 …]
|
D | helper.c | 99 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()
|
D | egress_lgcy.c | 24 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()
|
D | egress_ofld.c | 107 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rdma.c | 34 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()
|
D | eswitch_offloads.c | 1448 u32 *flow_group_in) in esw_set_flow_group_source_port() argument 1451 flow_group_in, in esw_set_flow_group_source_port() 1455 MLX5_SET(create_flow_group_in, flow_group_in, in esw_set_flow_group_source_port() 1463 MLX5_SET(create_flow_group_in, flow_group_in, in esw_set_flow_group_source_port() 1633 u32 *flow_group_in, in esw_create_send_to_vport_group() argument 1641 memset(flow_group_in, 0, inlen); in esw_create_send_to_vport_group() 1643 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_send_to_vport_group() 1646 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_send_to_vport_group() 1653 MLX5_SET(create_flow_group_in, flow_group_in, in esw_create_send_to_vport_group() 1659 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_create_send_to_vport_group() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | post_meter.c | 58 u32 *flow_group_in; in mlx5e_post_meter_fg_create() local 61 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_post_meter_fg_create() 62 if (!flow_group_in) in mlx5e_post_meter_fg_create() 65 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in mlx5e_post_meter_fg_create() 67 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in mlx5e_post_meter_fg_create() 71 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in mlx5e_post_meter_fg_create() 72 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, 1); in mlx5e_post_meter_fg_create() 74 post_meter->fg = mlx5_create_flow_group(post_meter->ft, flow_group_in); in mlx5e_post_meter_fg_create() 80 kvfree(flow_group_in); in mlx5e_post_meter_fg_create()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | legacy.c | 82 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | macsec_fs.c | 252 u32 *flow_group_in; in macsec_fs_tx_create() local 263 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in macsec_fs_tx_create() 264 if (!flow_group_in) { in macsec_fs_tx_create() 333 memset(flow_group_in, 0, inlen); in macsec_fs_tx_create() 334 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_table->max_fte - 1); in macsec_fs_tx_create() 335 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, flow_table->max_fte - 1); in macsec_fs_tx_create() 336 flow_group = mlx5_create_flow_group(tx_tables->ft_check, flow_group_in); in macsec_fs_tx_create() 386 kvfree(flow_group_in); in macsec_fs_tx_create() 902 u32 *flow_group_in; in macsec_fs_rx_create() local 913 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in macsec_fs_rx_create() [all …]
|
D | ipsec_fs.c | 120 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_chains.c | 470 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 1560 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 …]
|