From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: [git][a48a019] rvbd/rbt-kernel : devon_deterministic_ps Date: Thu, 20 Jul 2017 22:25:13 +0000 Message-ID: <20170720222513.24972.47989@leafminer.lab.nbttech.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: Michael@vger.kernel.org, , Chan@vger.kernel.org, , akepner@vger.kernel.org, Rzeszutek@vger.kernel.org, Konrad@vger.kernel.org, Wilk@vger.kernel.org, Return-path: Received: from smtp.riverbed.com ([208.70.196.45]:51647 "EHLO smtp1.riverbed.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965828AbdGTW2W (ORCPT ); Thu, 20 Jul 2017 18:28:22 -0400 Sender: netdev-owner@vger.kernel.org List-ID: @new_changed_in [] Repository: git@gitlab.lab.nbttech.com:rvbd/rbt-kernel.git Branch: devon_deterministic_ps Author: Arthur Kepner Date: 2017-07-20T15:22:12-07:00 New Revision: a48a019e7afe2db8e74fda96507b82bafcfebe99 Log: Merge branch 'bnx2-fix' into 'master' Apply the following patches from upstream and port extra skbuff operating routines used the these patches. commit b7b6a688d217936459ff5cf1087b2361db952509 Author: Ian Campbell Date: Wed Aug 24 22:28:12 2011 +0000 bnx2: convert to SKB paged frag API. Signed-off-by: Ian Campbell Reviewed-by: Konrad Rzeszutek Wilk Cc: Michael Chan Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller commit a1f4e8bcbccf50cf1894c263af4d677d4f566533 Author: Eric Dumazet Date: Thu Oct 13 07:50:19 2011 +0000 bnx2: fix skb truesize underestimation bnx2 allocates a full page per fragment. We must account PAGE_SIZE increments on skb->truesize, not the actual frag length. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 9e903e085262ffbf1fc44a17ac06058aca03524a Author: Eric Dumazet Date: Tue Oct 18 21:00:24 2011 +0000 net: add skb frag size accessors To ease skb->truesize sanitization, its better to be able to localize all references to skb frags size. Define accessors : skb_frag_size() to fetch frag size, and skb_frag_size_{set|add|sub}() to manipulate it. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Root Issue Details: For bug285465, there are some issues for handling paged data. Fix Summary Details: Apply the above three patches taken from upstream's code. Since RiOS is Redhat 6.1 release base, these patches need additionally skbuff helper routines, porting those as well. Testing: Run stress test on the interface that uses this driver. Fix Complete: # Yes Risk of Fix: # Low BugID: 285465 DesignID: ReviewID: CC: Reviewed-By: akepner Approved-By: See merge request !35 Open this commit in your browser: https://gitlab.lab.nbttech.com/rvbd/rbt-kernel/commit/a48a019e7afe2db8e74fda96507b82bafcfebe99