summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-12-16 18:46:20 -0500
committerDavid S. Miller <davem@davemloft.net>2018-12-17 23:08:53 -0800
commite916b0815a11c6cbc82f2d8510982ea022628880 (patch)
tree2ff6df74c364b0afa3890b50b51aa7bf99f79b3f /drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
parentf7588cd89331211e2c4f0fdb94bb0ed4f92847be (diff)
bnxt_en: Add bnxt_get_avail_cp_rings_for_en() helper function.
The available CP rings are calculated differently on the new 57500 chips, so add this helper to do this calculation correctly. The VFs will be assigned these available CP rings. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c')
0 files changed, 0 insertions, 0 deletions