summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAkeem Abodunrin <akeem.g.abodunrin@intel.com>2016-09-12 14:18:37 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-09-24 20:07:16 -0700
commit7ac4b5c6fd351be8f849f687e290ca9724acfd33 (patch)
treedc69756ac67ae8eb80c226b75123b4bd2681b926 /drivers/net
parentfa90efa59dabbaac24f1ad2e6535e6daa2845257 (diff)
downloadlinux-stable-7ac4b5c6fd351be8f849f687e290ca9724acfd33.tar.gz
linux-stable-7ac4b5c6fd351be8f849f687e290ca9724acfd33.tar.bz2
linux-stable-7ac4b5c6fd351be8f849f687e290ca9724acfd33.zip
i40e: Increase minimum number of allocated VSI
This patch increases minimum number of allocated VSIs, so as to resolve failure adding VSI for VF when 64-VFs assigned to a PF. The driver supports up to 128 VFs per device, users can decide to enable up to 64-VFs on a single PF, especially 2 X 40 devices. In that scenario, with VMDq co-existence, there would be starvation of VSIs - with this patch, supported features would have enough VSIs for configuration now. Change-ID: If084f4cd823667af8fe7fdc11489c705b32039d5 Signed-off-by: Akeem Abodunrin <akeem.g.abodunrin@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h
index 30aaee42f648..6b22df62f018 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -74,7 +74,7 @@
#define I40E_MIN_NUM_DESCRIPTORS 64
#define I40E_MIN_MSIX 2
#define I40E_DEFAULT_NUM_VMDQ_VSI 8 /* max 256 VSIs */
-#define I40E_MIN_VSI_ALLOC 51 /* LAN, ATR, FCOE, 32 VF, 16 VMDQ */
+#define I40E_MIN_VSI_ALLOC 83 /* LAN, ATR, FCOE, 64 VF */
/* max 16 qps */
#define i40e_default_queues_per_vmdq(pf) \
(((pf)->flags & I40E_FLAG_RSS_AQ_CAPABLE) ? 4 : 1)