automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw104701 [PATCH] examples/ipsec-secgw: wrong offload flag used for TSO IPv6
@ 2021-11-25 13:48 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-11-25 13:48 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/104701

_apply patch failure_

Submitter: Radu Nicolau <radu.nicolau@intel.com>
Date: Thursday, November 25 2021 13:03:54 
Applied on: CommitID:872c6a28075ccae66a31affef7ae3c5e9811affc
Apply patch set 104701 failed:

Checking patch examples/ipsec-secgw/ipsec_process.c...
error: while searching for:
					mb[j]->outer_l3_len = mb[j]->l3_len;
					mb[j]->outer_l2_len = mb[j]->l2_len;
					mb[j]->ol_flags |=
					(RTE_MBUF_F_TX_OUTER_IP_CKSUM |
						RTE_MBUF_F_TX_TUNNEL_ESP);
				}
				mb[j]->l4_len = sizeof(struct rte_tcp_hdr);
				mb[j]->ol_flags |= (RTE_MBUF_F_TX_TCP_SEG |

error: patch failed: examples/ipsec-secgw/ipsec_process.c:232
Applying patch examples/ipsec-secgw/ipsec_process.c with 1 reject...
Rejected hunk #1.
diff a/examples/ipsec-secgw/ipsec_process.c b/examples/ipsec-secgw/ipsec_process.c	(rejected hunks)
@@ -232,8 +232,10 @@ prep_process_group(void *sa, struct rte_mbuf *mb[], uint32_t cnt)
 					mb[j]->outer_l3_len = mb[j]->l3_len;
 					mb[j]->outer_l2_len = mb[j]->l2_len;
 					mb[j]->ol_flags |=
-					(RTE_MBUF_F_TX_OUTER_IP_CKSUM |
-						RTE_MBUF_F_TX_TUNNEL_ESP);
+						RTE_MBUF_F_TX_TUNNEL_ESP;
+					if (RTE_ETH_IS_IPV4_HDR(ptype))
+						mb[j]->ol_flags |=
+						RTE_MBUF_F_TX_OUTER_IP_CKSUM;
 				}
 				mb[j]->l4_len = sizeof(struct rte_tcp_hdr);
 				mb[j]->ol_flags |= (RTE_MBUF_F_TX_TCP_SEG |

https://lab.dpdk.org/results/dashboard/patchsets/20378/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-25 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25 13:48 |WARNING| pw104701 [PATCH] examples/ipsec-secgw: wrong offload flag used for TSO IPv6 dpdklab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).