From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 4/4] testpmd:rework csum forward engine Date: Fri, 28 Nov 2014 11:10:27 +0100 Message-ID: <2110618.Ag0tEN76Sp@xps13> References: <1417107801-9544-1-git-send-email-jijiang.liu@intel.com> <1417107801-9544-5-git-send-email-jijiang.liu@intel.com> <54784562.90906@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Jijiang Liu Return-path: In-Reply-To: <54784562.90906-pdR9zngts4EAvxtiuMwx3w@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" 2014-11-28 10:50, Olivier MATZ: > Hi Jijiang, > > On 11/27/2014 06:03 PM, Jijiang Liu wrote: > > @@ -303,7 +305,7 @@ process_outer_cksums(void *outer_l3_hdr, uint16_t outer_ethertype, > > * TESTPMD_TX_OFFLOAD_* in ports[tx_port].tx_ol_flags. They control > > * wether a checksum must be calculated in software or in hardware. The > > * IP, UDP, TCP and SCTP flags always concern the inner layer. The > > - * VxLAN flag concerns the outer IP and UDP layer (if packet is > > + * VxLAN flag concerns the outer IP(if packet is > > * recognized as a vxlan packet). > > */ > > Please reindent the comment properly, taking care of the space before > the parenthesis. > > Another comment that concerns the whole patchset. It's maybe a question > for Thomas, but I think that having patches that don't break compilation > between each other would help when bissecting. > > In this case, I wonder if it's possible to split in something like: > > - change PKT_TX_IPV4 and PKT_TX_IPV6 definition > - add + rename flags (update them in mbuf + testpmd + i40) > - rename inner_l{23}, l{23} in l{23}, outer_l{23} (update them in mbuf > + testpmd + i40) > > I'm not sure it's feasible, I let Thomas give his mind about this. Exact, compilation must not be broken between patches. The proposal from Olivier seems OK. -- Thomas