From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [RFC 11/16] testpmd: rename vxlan in outer_ip in csum commands Date: Fri, 23 Jan 2015 18:49:49 +0100 Message-ID: <54C289BD.70601@6wind.com> References: <1421883395-27235-1-git-send-email-olivier.matz@6wind.com> <1421883395-27235-12-git-send-email-olivier.matz@6wind.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01DB6402@SHSMSX101.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Liu, Jijiang" Return-path: In-Reply-To: <1ED644BD7E0A5F4091CF203DAFB8E4CC01DB6402-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Jijiang, On 01/23/2015 12:21 PM, Liu, Jijiang wrote: >> static void >> pkt_burst_checksum_forward(struct fwd_stream *fs) @@ -432,18 +435,18 @@ >> pkt_burst_checksum_forward(struct fwd_stream *fs) >> /* step 4: fill the mbuf meta data (flags and header lengths) */ >> >> if (tunnel == 1) { >> - if (testpmd_ol_flags & >> TESTPMD_TX_OFFLOAD_VXLAN_CKSUM) { >> + if (testpmd_ol_flags & >> TESTPMD_TX_OFFLOAD_OUTER_IP_CKSUM) { >> m->outer_l2_len = outer_l2_len; >> m->outer_l3_len = outer_l3_len; >> m->l2_len = l4_tun_len + l2_len; >> m->l3_len = l3_len; > > There should be m->l4_len = l4_len here. Right, thank you for reporting it. I'll fix that (but not in this patch which is just a renaming of another part of the code). Regards, Olivier