numam-dpdk/drivers/net
Ajit Khaparde edafb57ba4 net/bnxt: fix VF resource allocation
If the resource requirement of a VF is more than what is allotted
to it by the FW, a VF can request to reallocate some of the resources.

This is possible only when the NIC is running the Resource Manager aware
CHiMP FW.

If necessary, calculate Tx and Rx ring count using the new RM API.
Otherwise use the Tx and Rx ring count as-is. Update the cp ring count
based on the Tx and Rx ring count.

Fixes: b7778e8a1c ("net/bnxt: refactor to properly allocate resources for PF/VF")

Signed-off-by: Jay Ding <jay.ding@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2018-05-23 00:35:01 +02:00
..
af_packet ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
ark net/ark: fix call to probing finish function for first port 2018-05-23 00:35:01 +02:00
avf net/avf: fix traffic blocked on reset 2018-05-17 19:06:29 +02:00
avp drivers/net: use higher level of probing helper for PCI 2018-05-14 22:31:53 +01:00
axgbe net/axgbe: fix EEPROM string comparison 2018-05-14 23:32:23 +02:00
bnx2x net/bnx2x: fix memzone name overrun 2018-05-15 22:28:12 +02:00
bnxt net/bnxt: fix VF resource allocation 2018-05-23 00:35:01 +02:00
bonding net/bonding: export mode 4 slave info routine 2018-05-23 00:35:01 +02:00
cxgbe net/cxgbevf: fix inter-VM traffic when physical link down 2018-05-23 00:35:01 +02:00
dpaa ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
dpaa2 net/dpaa2: change VLAN strip value to offload flag 2018-05-14 22:32:23 +01:00
e1000 net/e1000: fix build of igb only 2018-05-23 00:35:01 +02:00
ena ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
enic net/enic: fix missing offload capabilities 2018-05-14 22:32:23 +01:00
failsafe net/failsafe: fix duplicate event registration 2018-05-23 00:35:01 +02:00
fm10k ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
i40e net/i40e: remove dependency on old Rx flags 2018-05-23 00:35:01 +02:00
ifc net/ifcvf: add ifcvf vDPA driver 2018-04-27 15:54:55 +01:00
ixgbe net/ixgbe: remove unnecessary macro 2018-05-23 00:35:01 +02:00
kni ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
liquidio drivers/net: use higher level of probing helper for PCI 2018-05-14 22:31:53 +01:00
mlx4 net/mlx4: refactor RSS conversion functions 2018-05-23 00:35:01 +02:00
mlx5 net/mlx5: remove redundant checks 2018-05-23 00:35:01 +02:00
mvpp2 ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
nfp net/nfp: fix memcpy out of source range 2018-05-14 23:32:23 +02:00
null ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
octeontx ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
pcap ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
qede net/qede: fix unicast filter routine return code 2018-05-23 00:35:01 +02:00
ring ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
sfc net/sfc: fix errno if flow API RSS action parse fails 2018-05-17 19:44:23 +02:00
softnic ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
szedata2 ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
tap net/tap: fix device removal when no queue exist 2018-05-23 00:35:01 +02:00
thunderx ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
vdev_netvsc net/vdev_netvsc: fix automatic probing 2018-05-23 00:35:01 +02:00
vhost net/vhost: convert to new Rx/Tx offload API 2018-05-23 00:35:01 +02:00
virtio net/virtio-user: fix device init in legacy-mem mode 2018-05-17 12:29:05 +02:00
vmxnet3 ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
Makefile net/ifcvf: add ifcvf vDPA driver 2018-04-27 15:54:55 +01:00
meson.build net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00