aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorSuresh Reddy <[email protected]>2016-06-06 11:22:08 +0000
committerDavid S. Miller <[email protected]>2016-06-07 23:18:19 +0000
commitb9263cbf217433c1249c7341f8c0a9b4a5df6753 (patch)
tree223b328f8568682b2367a17968a82768dad261fa /net/tipc/node.c
parentdrivers/net: support hdlc function for QE-UCC (diff)
downloadkernel-b9263cbf217433c1249c7341f8c0a9b4a5df6753.tar.gz
kernel-b9263cbf217433c1249c7341f8c0a9b4a5df6753.zip
be2net: use max-TXQs limit too while provisioning VF queue pairs
When the PF driver provisions resources for VFs, it currently only looks at max RSS queues available to calculate the number of VF queue pairs. This logic breaks when there are less number of TX-queues than RSS-queues. This patch fixes this problem by using the max-TXQs available in the PF-pool in the calculations. As a part of this change the be_calculate_vf_qs() routine is renamed as be_calculate_vf_res() and the code that calculates limits on other related resources is moved here to contain all resource calculation code inside one routine. Signed-off-by: Suresh Reddy <[email protected]> Signed-off-by: Sathya Perla <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions