]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix pre-set max number of queues for VF
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Fri, 16 Jul 2021 09:33:56 +0000 (11:33 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 6 Dec 2021 17:44:56 +0000 (09:44 -0800)
commit8aa55ab422d9d0d825ebfb877702ed661e96e682
tree75b03773b1eede27be8ecd0d7269c9279de6218f
parent61125b8be85dfbc7e9c7fe1cc6c6d631ab603516
i40e: Fix pre-set max number of queues for VF

After setting pre-set combined to 16 queues and reserving 16 queues by
tc qdisc, pre-set maximum combined queues returned to default value
after VF reset being 4 and this generated errors during removing tc.
Fixed by removing clear num_req_queues before reset VF.

Fixes: e284fc280473 (i40e: Add and delete cloud filter)
Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Bindushree P <Bindushree.p@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c