Searched refs:reformat_params (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 223 struct mlx5_pkt_reformat_params reformat_params; in mlx5e_tc_tun_create_header_ipv4() local 308 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_tun_create_header_ipv4() 309 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv4() 310 reformat_params.size = ipv4_encap_size; in mlx5e_tc_tun_create_header_ipv4() 311 reformat_params.data = encap_header; in mlx5e_tc_tun_create_header_ipv4() 312 e->pkt_reformat = mlx5_packet_reformat_alloc(priv->mdev, &reformat_params, in mlx5e_tc_tun_create_header_ipv4() 339 struct mlx5_pkt_reformat_params reformat_params; in mlx5e_tc_tun_update_header_ipv4() local 413 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_tun_update_header_ipv4() 414 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv4() 415 reformat_params.size = ipv4_encap_size; in mlx5e_tc_tun_update_header_ipv4() [all …]
|
D | tc_tun_encap.c | 123 struct mlx5_pkt_reformat_params reformat_params; in mlx5e_tc_encap_flows_add() local 134 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_encap_flows_add() 135 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add() 136 reformat_params.size = e->encap_size; in mlx5e_tc_encap_flows_add() 137 reformat_params.data = e->encap_header; in mlx5e_tc_encap_flows_add() 139 &reformat_params, in mlx5e_tc_encap_flows_add() 859 struct mlx5_pkt_reformat_params reformat_params; in mlx5e_attach_decap() local 901 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_attach_decap() 902 reformat_params.type = MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2; in mlx5e_attach_decap() 903 reformat_params.size = sizeof(parse_attr->eth); in mlx5e_attach_decap() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge.c | 762 struct mlx5_pkt_reformat_params reformat_params = {}; in mlx5_esw_bridge_vlan_push_create() local 773 reformat_params.type = MLX5_REFORMAT_TYPE_INSERT_HDR; in mlx5_esw_bridge_vlan_push_create() 774 reformat_params.param_0 = MLX5_REFORMAT_CONTEXT_ANCHOR_MAC_START; in mlx5_esw_bridge_vlan_push_create() 775 reformat_params.param_1 = offsetof(struct vlan_ethhdr, h_vlan_proto); in mlx5_esw_bridge_vlan_push_create() 776 reformat_params.size = sizeof(vlan_hdr); in mlx5_esw_bridge_vlan_push_create() 777 reformat_params.data = &vlan_hdr; in mlx5_esw_bridge_vlan_push_create() 779 &reformat_params, in mlx5_esw_bridge_vlan_push_create() 801 struct mlx5_pkt_reformat_params reformat_params = {}; in mlx5_esw_bridge_vlan_pop_create() local 812 reformat_params.type = MLX5_REFORMAT_TYPE_REMOVE_HDR; in mlx5_esw_bridge_vlan_pop_create() 813 reformat_params.param_0 = MLX5_REFORMAT_CONTEXT_ANCHOR_MAC_START; in mlx5_esw_bridge_vlan_pop_create() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | fs.c | 2286 struct mlx5_pkt_reformat_params reformat_params; in mlx5_ib_flow_action_create_packet_reformat_ctx() local 2299 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5_ib_flow_action_create_packet_reformat_ctx() 2300 reformat_params.type = prm_prt; in mlx5_ib_flow_action_create_packet_reformat_ctx() 2301 reformat_params.size = len; in mlx5_ib_flow_action_create_packet_reformat_ctx() 2302 reformat_params.data = in; in mlx5_ib_flow_action_create_packet_reformat_ctx() 2304 mlx5_packet_reformat_alloc(dev->mdev, &reformat_params, in mlx5_ib_flow_action_create_packet_reformat_ctx()
|