iavf: Limiting RSS queues to CPUs
Subsystems (2)
PATCH 1/1 iavf: Limiting RSS queues to CPUs
From: Aleksandr Loktionov <[email protected]>
Limiting RSS queues number to online CPUs number in order to avoid issues with creating misconfigured RSS queues.
Signed-off-by Aleksandr Loktionov <[email protected]>
--- drivers/net/ethernet/intel/iavf/iavf_virtchnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c +1 -1
@@ -416,7 +416,7 @@ int iavf_request_queues(struct iavf_adapter *adapter, int num)return -EBUSY ; } - vfres.num_queue_pairs = num; + vfres.num_queue_pairs =min_t (int, num,num_online_cpus ()); adapter->current_op =VIRTCHNL_OP_REQUEST_QUEUES ; adapter->flags |=IAVF_FLAG_REINIT_ITR_NEEDED ;
Signature · 1 line
2.19.2
Bowers
PATCH 1/1 iavf: Limiting RSS queues to CPUs
Quoted 11 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Alice Michael
Sent: Friday, March 29, 2019 12:49 PM
To: Michael, Alice <[email protected]>; intel-wired- lan at lists.osuosl.org
Cc: Loktionov, Aleksandr <[email protected]>
Subject: [Intel-wired-lan] [PATCH] iavf: Limiting RSS queues to CPUsFrom: Aleksandr Loktionov <[email protected]>
Quoted 7 lines
Limiting RSS queues number to online CPUs number in order to avoid issues with creating misconfigured RSS queues.
Signed-off-by Aleksandr Loktionov <[email protected]>--- drivers/net/ethernet/intel/iavf/iavf_virtchnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by Andrew Bowers <[email protected]>