From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 0/3] Receive Side Coalescing for macb driver Date: Tue, 17 Apr 2018 09:53:32 -0400 (EDT) Message-ID: <20180417.095332.47355231483878538.davem@davemloft.net> References: <1523739187-20077-1-git-send-email-rafalo@cadence.com> <20180416.110855.61732218036810337.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: nicolas.ferre@microchip.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, piotrs@cadence.com, ltyrala@cadence.com To: rafalo@cadence.com Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Rafal Ozieblo Date: Tue, 17 Apr 2018 08:59:35 +0000 > If IP supports RSC and skb has 2B reserved for alignment we end up > with none packets receive correctly (2B missing in the each skb). > We can either leave few customers without support in Linux driver or > let them use the driver with decrease performance. You probably want to find a way to memmove() the headers to be aligned in this case, and then point the data afterwards into SKB page frags.