Commit 72d0bfc6 authored by Radoslaw Tyl's avatar Radoslaw Tyl Committed by Lee Jones
Browse files

UPSTREAM: igb: set max size RX buffer when store bad packet is enabled



commit bb5ed01c upstream.

Increase the RX buffer size to 3K when the SBP bit is on. The size of
the RX buffer determines the number of pages allocated which may not
be sufficient for receive frames larger than the set MTU size.

Bug: 306483516
Cc: stable@vger.kernel.org
Fixes: 89eaefb6 ("igb: Support RX-ALL feature flag.")
Reported-by: default avatarManfred Rudigier <manfred.rudigier@omicronenergy.com>
Signed-off-by: default avatarRadoslaw Tyl <radoslawx.tyl@intel.com>
Tested-by: Arpana Arland <arpanax.arland@intel.com> (A Contingent worker at Intel)
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit be7353af)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I3f05b369cd9ac24643af3e37e2ce1d099c63bc02
parent 4d065e6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment