swp_spec          204 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 		   struct mlx5e_swp_spec *swp_spec)
swp_spec          208 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 	if (swp_spec->l3_proto == htons(ETH_P_IPV6))
swp_spec          210 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 	if (swp_spec->l4_proto) {
swp_spec          212 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 		if (swp_spec->l4_proto == IPPROTO_UDP)
swp_spec          216 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 	if (swp_spec->is_tun) {
swp_spec          218 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 		if (swp_spec->tun_l3_proto == htons(ETH_P_IPV6))
swp_spec          222 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 		if (swp_spec->l3_proto == htons(ETH_P_IPV6))
swp_spec          225 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h 	switch (swp_spec->tun_l4_proto) {
swp_spec           53 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 	struct mlx5e_swp_spec swp_spec = {};
swp_spec           73 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 	swp_spec.l3_proto = l3_proto;
swp_spec           74 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 	swp_spec.l4_proto = l4_proto;
swp_spec           75 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 	swp_spec.is_tun = true;
swp_spec           77 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 		swp_spec.tun_l3_proto = htons(ETH_P_IPV6);
swp_spec           78 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 		swp_spec.tun_l4_proto = inner_ipv6_hdr(skb)->nexthdr;
swp_spec           80 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 		swp_spec.tun_l3_proto = htons(ETH_P_IP);
swp_spec           81 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 		swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol;
swp_spec           84 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h 	mlx5e_set_eseg_swp(skb, eseg, &swp_spec);
swp_spec          139 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 	struct mlx5e_swp_spec swp_spec = {};
swp_spec          150 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 	swp_spec.l3_proto = skb->protocol;
swp_spec          151 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 	swp_spec.is_tun = mode == XFRM_MODE_TUNNEL;
swp_spec          152 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 	if (swp_spec.is_tun) {
swp_spec          154 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 			swp_spec.tun_l3_proto = htons(ETH_P_IPV6);
swp_spec          155 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 			swp_spec.tun_l4_proto = inner_ipv6_hdr(skb)->nexthdr;
swp_spec          157 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 			swp_spec.tun_l3_proto = htons(ETH_P_IP);
swp_spec          158 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 			swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol;
swp_spec          161 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 		swp_spec.tun_l3_proto = skb->protocol;
swp_spec          162 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 		swp_spec.tun_l4_proto = xo->proto;
swp_spec          165 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 	mlx5e_set_eseg_swp(skb, eseg, &swp_spec);