Commit fbfe57cb authored by Radoslaw Tyl's avatar Radoslaw Tyl Committed by Lu Wei
Browse files

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

mainline inclusion
from mainline-v6.6-rc1
commit bb5ed01c
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I885ON

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bb5ed01cd2428cd25b1c88a3a9cba87055eb289f



--------------------------------

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.

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 avatarLu Wei <luwei32@huawei.com>
parent 36b20b20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment