Hi Stefan, wt., 13 kwi 2021 o 11:56 Stefan Chulski <stef...@marvell.com> napisaĆ(a): > > > > -----Original Message----- > > > From: Russell King - ARM Linux admin <li...@armlinux.org.uk> > > > Sent: Tuesday, April 13, 2021 12:18 PM > > > To: Stefan Chulski <stef...@marvell.com> > > > Cc: netdev@vger.kernel.org; thomas.petazz...@bootlin.com; > > > da...@davemloft.net; Nadav Haklai <nad...@marvell.com>; Yan > > Markman > > > <ymark...@marvell.com>; linux-ker...@vger.kernel.org; > > k...@kernel.org; > > > m...@semihalf.com; and...@lunn.ch; aten...@kernel.org; Liron Himi > > > <lir...@marvell.com>; Dana Vardi <da...@marvell.com> > > > Subject: [EXT] Re: [PATCH net-next] net: mvpp2: Add parsing support > > > for different IPv4 IHL values > > > > > > External Email > > > > > > ---------------------------------------------------------------------- > > > On Tue, Apr 13, 2021 at 11:45:31AM +0300, stef...@marvell.com wrote: > > > > From: Stefan Chulski <stef...@marvell.com> > > > > > > > > Add parser entries for different IPv4 IHL values. > > > > Each entry will set the L4 header offset according to the IPv4 IHL > > > > field. > > > > L3 header offset will set during the parsing of the IPv4 protocol. > > > > > > What is the impact of this commit? Is something broken at the moment, > > > if so what? Does this need to be backported to stable kernels? > > > > > > These are key questions, of which the former two should be covered in > > > every commit message so that the reason for the change can be known. > > > It's no good just describing what is being changed in the commit > > > without also describing why the change is being made. > > > > > > Thanks. > > > > Due to missed parser support for IP header length > 20, RX IPv4 checksum > > offload fail. > > > > Regards. > > Currently driver set skb->ip_summed = CHECKSUM_NONE and checksum done by > software. > So this just improve performance for packets with IP header length > 20. > IMO we can keep it in net-next. > > Stefan.
Please update the commit message in v2 with the explanation. Also - is there an easy way to test it? L3 forwarding with forced header length? Thanks, Marcin