diff options
author | Somnath Kotur <somnath.kotur@emulex.com> | 2016-06-06 07:22:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-07 16:18:20 -0700 |
commit | de2b1e0366c8c332fa403e8bd8b6e2b22f557d2e (patch) | |
tree | e27cb31207e00c8d5e76d57b69a047132db1d73d /net/core | |
parent | 45f13df75f9044568af4789af1c52d0ffdc68155 (diff) |
be2net: Fix provisioning of RSS for VFs in multi-partition configurations
Currently, we do not distribute queue resources to enable RSS for VFs
in multi-channel/partition configurations.
Fix this by having each PF(SRIOV capable) calculate it's share of the
15 RSS Policy Tables available per port before provisioning resources for
all the VFs.
This proportional share calculation is done based on division of the
PF's MAX VFs with the Total MAX VFs on that port. It also needs to
learn about the no: of NIC PFs on the port and subtract that from
the 15 RSS Policy Tables on the port.
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions