From a5fb2cf8be8298e589c2b619f7e907a0a1d76262 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Mon, 18 Dec 2017 14:19:07 -0600 Subject: Patch ENA PMD to skip setting tx flags in rx path On rx, the ENA PMD sets tx offload flags based on the received packet's l4 protocol. This means you need to turn off those offloads for every packet if you encapsulate packets arriving on an interface using that PMD. Disable this behavior. Change-Id: Icae9f32e3d292d767da440ae5c1280902bdaa083 Signed-off-by: Matthew Smith --- src/plugins/dpdk/device/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/dpdk') diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c index 8ea65c12ce2..d9ee2bd2b83 100644 --- a/src/plugins/dpdk/device/format.c +++ b/src/plugins/dpdk/device/format.c @@ -726,7 +726,7 @@ format_dpdk_rte_mbuf (u8 * s, va_list * va) u32 indent = format_get_indent (s) + 2; s = format (s, "PKT MBUF: port %d, nb_segs %d, pkt_len %d" - "\n%Ubuf_len %d, data_len %d, ol_flags 0x%x, data_off %d, phys_addr 0x%x" + "\n%Ubuf_len %d, data_len %d, ol_flags 0x%lx, data_off %d, phys_addr 0x%x" "\n%Upacket_type 0x%x l2_len %u l3_len %u outer_l2_len %u outer_l3_len %u", mb->port, mb->nb_segs, mb->pkt_len, format_white_space, indent, -- cgit 1.2.3-korg