Commit 3965b790 authored by Olga Zaborska's avatar Olga Zaborska Committed by sanglipeng
Browse files

igb: Change IGB_MIN to allow set rx/tx value between 64 and 80

stable inclusion
from stable-v5.10.195
commit d878011b5d9399a3ef2e3c5b74b245dbb7ebf9a0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d878011b5d9399a3ef2e3c5b74b245dbb7ebf9a0



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

[ Upstream commit 6319685b ]

Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx
value between 64 and 80. All igb devices can use as low as 64 descriptors.
This change will unify igb with other drivers.
Based on commit 7b1be198 ("e1000e: lower ring minimum size to 64")

Fixes: 9d5c8243 ("igb: PCI-Express 82575 Gigabit Ethernet driver")
Signed-off-by: default avatarOlga Zaborska <olga.zaborska@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent f9b55ac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment