]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix issue reconfiguring VF queues
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 27 Feb 2019 00:35:09 +0000 (16:35 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Mar 2019 15:19:17 +0000 (08:19 -0700)
commit81feeae93c82dba19db3595cfc9b1d359fddebc2
tree951848d775c79b4f5d0aeb92e14ee75fc8042ff9
parent469ba64a05539f9366f40f1aab3a0be1c9818226
ice: Fix issue reconfiguring VF queues

When VF requested for queues changes, we need to update LAN Tx queue with
correct number of VF queue pairs and re-allocate VF resources based on
this new requested number of queues, which is constraint within maximum
queue supported per VF.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h