linux_dsm_epyc7002/drivers/net/ethernet/emulex/benet
Suresh Reddy b9263cbf21 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 <suresh.reddy@broadcom.com>
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-07 16:18:19 -07:00
..
be_cmds.c be2net: use max-TXQs limit too while provisioning VF queue pairs 2016-06-07 16:18:19 -07:00
be_cmds.h be2net: use max-TXQs limit too while provisioning VF queue pairs 2016-06-07 16:18:19 -07:00
be_ethtool.c be2net: return error status from be_set_phys_id() 2016-02-07 13:55:22 -05:00
be_hw.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_main.c be2net: use max-TXQs limit too while provisioning VF queue pairs 2016-06-07 16:18:19 -07:00
be_roce.c RDMA/be2net: Remove open and close entry points 2015-12-28 11:45:55 -05:00
be_roce.h RDMA/be2net: Remove open and close entry points 2015-12-28 11:45:55 -05:00
be.h be2net: use max-TXQs limit too while provisioning VF queue pairs 2016-06-07 16:18:19 -07:00
Kconfig be2net: make hwmon interface optional 2015-05-19 16:40:04 -04:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00