Searched refs:reformat_params (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c229 struct mlx5_pkt_reformat_params reformat_params; local
315 memset(&reformat_params, 0, sizeof(reformat_params));
316 reformat_params.type = e->reformat_type;
317 reformat_params.size = e->encap_size;
318 reformat_params.data = e->encap_header;
319 e->pkt_reformat = mlx5_packet_reformat_alloc(priv->mdev, &reformat_params,
346 struct mlx5_pkt_reformat_params reformat_params; local
421 memset(&reformat_params, 0, sizeof(reformat_params));
501 struct mlx5_pkt_reformat_params reformat_params; local
616 struct mlx5_pkt_reformat_params reformat_params; local
[all...]
H A Dtc_tun_encap.c148 struct mlx5_pkt_reformat_params reformat_params; local
159 memset(&reformat_params, 0, sizeof(reformat_params));
160 reformat_params.type = e->reformat_type;
161 reformat_params.size = e->encap_size;
162 reformat_params.data = e->encap_header;
164 &reformat_params,
946 struct mlx5_pkt_reformat_params reformat_params; local
986 memset(&reformat_params, 0, sizeof(reformat_params));
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c1376 struct mlx5_pkt_reformat_params *reformat_params)
1424 reformat_params->type = MLX5_REFORMAT_TYPE_L3_ESP_TUNNEL_TO_L2;
1427 reformat_params->type = MLX5_REFORMAT_TYPE_L2_TO_L3_ESP_TUNNEL;
1428 reformat_params->param_0 = attrs->authsize;
1462 reformat_params->size = bfflen;
1463 reformat_params->data = reformatbf;
1497 struct mlx5_pkt_reformat_params *reformat_params)
1505 reformat_params->type = get_reformat_type(attrs);
1506 if (reformat_params->type < 0)
1507 return reformat_params
1374 setup_pkt_tunnel_reformat(struct mlx5_core_dev *mdev, struct mlx5_accel_esp_xfrm_attrs *attrs, struct mlx5_pkt_reformat_params *reformat_params) argument
1496 setup_pkt_transport_reformat(struct mlx5_accel_esp_xfrm_attrs *attrs, struct mlx5_pkt_reformat_params *reformat_params) argument
1550 struct mlx5_pkt_reformat_params reformat_params = {}; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c55 struct mlx5_pkt_reformat_params reformat_params = {}; local
57 reformat_params.type = MLX5_REFORMAT_TYPE_REMOVE_HDR;
58 reformat_params.param_0 = MLX5_REFORMAT_CONTEXT_ANCHOR_MAC_START;
59 reformat_params.param_1 = offsetof(struct vlan_ethhdr, h_vlan_proto);
60 reformat_params.size = sizeof(struct vlan_hdr);
61 return mlx5_packet_reformat_alloc(esw->dev, &reformat_params, MLX5_FLOW_NAMESPACE_FDB);
1028 struct mlx5_pkt_reformat_params reformat_params = {}; local
1039 reformat_params.type = MLX5_REFORMAT_TYPE_INSERT_HDR;
1040 reformat_params.param_0 = MLX5_REFORMAT_CONTEXT_ANCHOR_MAC_START;
1041 reformat_params
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c805 struct mlx5_pkt_reformat_params reformat_params = {}; local
839 reformat_params.type = MLX5_REFORMAT_TYPE_ADD_MACSEC;
840 reformat_params.size = reformat_size;
841 reformat_params.data = reformatbf;
844 reformat_params.param_0 = MLX5_REFORMAT_PARAM_ADD_MACSEC_OFFSET_4_BYTES;
847 &reformat_params,
1143 struct mlx5_pkt_reformat_params reformat_params = {}; local
1158 reformat_params.type = MLX5_REFORMAT_TYPE_DEL_MACSEC;
1159 reformat_params.size = reformat_param_size;
1160 reformat_params
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dfs.c2616 struct mlx5_pkt_reformat_params reformat_params; local
2629 memset(&reformat_params, 0, sizeof(reformat_params));
2630 reformat_params.type = prm_prt;
2631 reformat_params.size = len;
2632 reformat_params.data = in;
2634 mlx5_packet_reformat_alloc(dev->mdev, &reformat_params,

Completed in 148 milliseconds