]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: Validate the number of queues a PF sends
authorPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Mon, 20 Aug 2018 15:12:29 +0000 (08:12 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 30 Aug 2018 20:53:04 +0000 (13:53 -0700)
commitcd415db67ef7921f5de0c8a57fef8809efaa6167
treed1ab91d4a19e1800813f657a96153c529881fcc9
parent07c6556121d332f0815045db0adf33f70502e599
i40evf: Validate the number of queues a PF sends

A PF can send any number of queues to the VF and the VF may not
be able to support that many. Check to see that the number of
queues is less than or equal to the max number of queues the
VF can have.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c