Deprecate unused int isc_max_txqsets and int isc_max_rxqsets as they
were redundant and not being used to set anything up. Submitted by: Matt Macy <mmacy@mattmacy.io> Reported by: Jeb Cramer <cramerj@intel.com> Sponsored by: Limelight Networks
This commit is contained in:
parent
5bbbf9ea35
commit
4100e547e2
@ -761,12 +761,12 @@ bnxt_attach_pre(if_ctx_t ctx)
|
||||
scctx->isc_nrxd[1];
|
||||
scctx->isc_rxqsizes[2] = sizeof(struct rx_prod_pkt_bd) *
|
||||
scctx->isc_nrxd[2];
|
||||
scctx->isc_max_rxqsets = min(pci_msix_count(softc->dev)-1,
|
||||
scctx->isc_nrxqsets_max = min(pci_msix_count(softc->dev)-1,
|
||||
softc->func.max_cp_rings - 1);
|
||||
scctx->isc_max_rxqsets = min(scctx->isc_max_rxqsets,
|
||||
scctx->isc_nrxqsets_max = min(scctx->isc_nrxqsets_max,
|
||||
softc->func.max_rx_rings);
|
||||
scctx->isc_max_txqsets = min(softc->func.max_rx_rings,
|
||||
softc->func.max_cp_rings - scctx->isc_max_rxqsets - 1);
|
||||
scctx->isc_ntxqsets_max = min(softc->func.max_rx_rings,
|
||||
softc->func.max_cp_rings - scctx->isc_nrxqsets_max - 1);
|
||||
scctx->isc_rss_table_size = HW_HASH_INDEX_SIZE;
|
||||
scctx->isc_rss_table_mask = scctx->isc_rss_table_size - 1;
|
||||
|
||||
|
@ -200,8 +200,6 @@ typedef struct if_softc_ctx {
|
||||
uint8_t isc_txd_size[8];
|
||||
uint8_t isc_rxd_size[8];
|
||||
|
||||
int isc_max_txqsets;
|
||||
int isc_max_rxqsets;
|
||||
int isc_tx_tso_segments_max;
|
||||
int isc_tx_tso_size_max;
|
||||
int isc_tx_tso_segsize_max;
|
||||
|
Loading…
x
Reference in New Issue
Block a user