diff options
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.h')
| -rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h index adce7fb37148..df9a80973258 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h | |||
| @@ -1417,8 +1417,6 @@ struct bnxt { | |||
| 1417 | int cp_nr_pages; | 1417 | int cp_nr_pages; |
| 1418 | int cp_nr_rings; | 1418 | int cp_nr_rings; |
| 1419 | 1419 | ||
| 1420 | int num_stat_ctxs; | ||
| 1421 | |||
| 1422 | /* grp_info indexed by completion ring index */ | 1420 | /* grp_info indexed by completion ring index */ |
| 1423 | struct bnxt_ring_grp_info *grp_info; | 1421 | struct bnxt_ring_grp_info *grp_info; |
| 1424 | struct bnxt_vnic_info *vnic_info; | 1422 | struct bnxt_vnic_info *vnic_info; |
| @@ -1690,6 +1688,7 @@ int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings); | |||
| 1690 | int bnxt_hwrm_set_coal(struct bnxt *); | 1688 | int bnxt_hwrm_set_coal(struct bnxt *); |
| 1691 | unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp); | 1689 | unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp); |
| 1692 | void bnxt_set_max_func_stat_ctxs(struct bnxt *bp, unsigned int max); | 1690 | void bnxt_set_max_func_stat_ctxs(struct bnxt *bp, unsigned int max); |
| 1691 | unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp); | ||
| 1693 | unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp); | 1692 | unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp); |
| 1694 | unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp); | 1693 | unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp); |
| 1695 | int bnxt_get_avail_msix(struct bnxt *bp, int num); | 1694 | int bnxt_get_avail_msix(struct bnxt *bp, int num); |
