From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 43D0158E8 for ; Fri, 28 Nov 2014 10:50:45 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XuIFE-0004hG-Ta; Fri, 28 Nov 2014 10:53:57 +0100 Message-ID: <54784562.90906@6wind.com> Date: Fri, 28 Nov 2014 10:50:26 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Jijiang Liu , dev@dpdk.org References: <1417107801-9544-1-git-send-email-jijiang.liu@intel.com> <1417107801-9544-5-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1417107801-9544-5-git-send-email-jijiang.liu@intel.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 4/4] testpmd:rework csum forward engine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 09:50:45 -0000 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. Regards, Olivier