Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/broadcom
Vasundhara Volam c027c6b4e9 bnxt_en: get rid of num_stat_ctxs variable
For bnxt_en driver, stat_ctxs created will always be same as
cp_nr_rings. Remove extra variable that duplicates the value.
Also introduce bnxt_get_avail_stat_ctxs_for_en() helper to get
available stat_ctxs and bnxt_get_ulp_stat_ctxs() helper to return
number of stat_ctxs used by RDMA.

Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-17 23:08:53 -08:00
..
2015-02-20 15:46:49 -05:00
2014-06-25 16:27:27 -07:00
2018-11-08 19:49:31 -08:00
2014-06-25 16:27:27 -07:00
2018-07-16 14:42:10 -07:00