Commit 7c4b90a6 authored by Olga Zaborska's avatar Olga Zaborska Committed by sanglipeng
Browse files

igc: Change IGC_MIN to allow set rx/tx value between 64 and 80

stable inclusion
from stable-v5.10.195
commit 9444881a375d505ec9caaab6c3f900d099acad9f
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=9444881a375d505ec9caaab6c3f900d099acad9f



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

[ Upstream commit 5aa48279 ]

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

Fixes: 0507ef8a ("igc: Add transmit and receive fastpath and interrupt handlers")
Signed-off-by: default avatarOlga Zaborska <olga.zaborska@intel.com>
Tested-by: default avatarNaama Meir <naamax.meir@linux.intel.com>
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 d3d6aa3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment