Home
last modified time | relevance | path

Searched refs:reformat_params (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun.c313 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_tun_create_header_ipv4()
314 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv4()
315 reformat_params.size = ipv4_encap_size; in mlx5e_tc_tun_create_header_ipv4()
316 reformat_params.data = encap_header; in mlx5e_tc_tun_create_header_ipv4()
418 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_tun_update_header_ipv4()
420 reformat_params.size = ipv4_encap_size; in mlx5e_tc_tun_update_header_ipv4()
421 reformat_params.data = encap_header; in mlx5e_tc_tun_update_header_ipv4()
581 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_tun_create_header_ipv6()
584 reformat_params.data = encap_header; in mlx5e_tc_tun_create_header_ipv6()
685 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_tun_update_header_ipv6()
[all …]
A Dtc_tun_encap.c147 struct mlx5_pkt_reformat_params reformat_params; in mlx5e_tc_encap_flows_add() local
158 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_tc_encap_flows_add()
159 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add()
160 reformat_params.size = e->encap_size; in mlx5e_tc_encap_flows_add()
161 reformat_params.data = e->encap_header; in mlx5e_tc_encap_flows_add()
163 &reformat_params, in mlx5e_tc_encap_flows_add()
887 struct mlx5_pkt_reformat_params reformat_params; in mlx5e_attach_decap() local
929 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5e_attach_decap()
931 reformat_params.size = sizeof(parse_attr->eth); in mlx5e_attach_decap()
932 reformat_params.data = &parse_attr->eth; in mlx5e_attach_decap()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dbridge.c106 struct mlx5_pkt_reformat_params reformat_params = {}; in mlx5_esw_bridge_pkt_reformat_vlan_pop_create() local
108 reformat_params.type = MLX5_REFORMAT_TYPE_REMOVE_HDR; in mlx5_esw_bridge_pkt_reformat_vlan_pop_create()
109 reformat_params.param_0 = MLX5_REFORMAT_CONTEXT_ANCHOR_MAC_START; in mlx5_esw_bridge_pkt_reformat_vlan_pop_create()
110 reformat_params.param_1 = offsetof(struct vlan_ethhdr, h_vlan_proto); in mlx5_esw_bridge_pkt_reformat_vlan_pop_create()
111 reformat_params.size = sizeof(struct vlan_hdr); in mlx5_esw_bridge_pkt_reformat_vlan_pop_create()
920 struct mlx5_pkt_reformat_params reformat_params = {}; in mlx5_esw_bridge_vlan_push_create() local
931 reformat_params.type = MLX5_REFORMAT_TYPE_INSERT_HDR; in mlx5_esw_bridge_vlan_push_create()
932 reformat_params.param_0 = MLX5_REFORMAT_CONTEXT_ANCHOR_MAC_START; in mlx5_esw_bridge_vlan_push_create()
934 reformat_params.size = sizeof(vlan_hdr); in mlx5_esw_bridge_vlan_push_create()
935 reformat_params.data = &vlan_hdr; in mlx5_esw_bridge_vlan_push_create()
[all …]
/linux/drivers/infiniband/hw/mlx5/
A Dfs.c2475 struct mlx5_pkt_reformat_params reformat_params; in mlx5_ib_flow_action_create_packet_reformat_ctx() local
2488 memset(&reformat_params, 0, sizeof(reformat_params)); in mlx5_ib_flow_action_create_packet_reformat_ctx()
2489 reformat_params.type = prm_prt; in mlx5_ib_flow_action_create_packet_reformat_ctx()
2490 reformat_params.size = len; in mlx5_ib_flow_action_create_packet_reformat_ctx()
2491 reformat_params.data = in; in mlx5_ib_flow_action_create_packet_reformat_ctx()
2493 mlx5_packet_reformat_alloc(dev->mdev, &reformat_params, in mlx5_ib_flow_action_create_packet_reformat_ctx()

Completed in 17 milliseconds