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

igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80

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



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

[ Upstream commit 83607175 ]

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

Fixes: d4e0fe01 ("igbvf: add new driver to support 82576 virtual functions")
Signed-off-by: default avatarOlga Zaborska <olga.zaborska@intel.com>
Tested-by: default avatarRafal Romanowski <rafal.romanowski@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 7c4b90a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment