ifnet: garbage collect drbr_*_drv().
They were left in 62d76917b8
but after years proved not to be useful.
This commit is contained in:
parent
b92f4ae58a
commit
8a6f38c8ac
@ -5675,7 +5675,7 @@ bxe_tx_mq_start_locked(struct bxe_softc *sc,
|
||||
}
|
||||
|
||||
/* fetch the depth of the driver queue */
|
||||
depth = drbr_inuse_drv(ifp, tx_br);
|
||||
depth = drbr_inuse(ifp, tx_br);
|
||||
if (depth > fp->eth_q_stats.tx_max_drbr_queue_depth) {
|
||||
fp->eth_q_stats.tx_max_drbr_queue_depth = depth;
|
||||
}
|
||||
|
26
sys/net/if.c
26
sys/net/if.c
@ -4591,29 +4591,3 @@ if_setgetcounterfn(if_t ifp, if_get_counter_t fn)
|
||||
|
||||
ifp->if_get_counter = fn;
|
||||
}
|
||||
|
||||
/* Revisit these - These are inline functions originally. */
|
||||
int
|
||||
drbr_inuse_drv(if_t ifh, struct buf_ring *br)
|
||||
{
|
||||
return drbr_inuse(ifh, br);
|
||||
}
|
||||
|
||||
struct mbuf*
|
||||
drbr_dequeue_drv(if_t ifh, struct buf_ring *br)
|
||||
{
|
||||
return drbr_dequeue(ifh, br);
|
||||
}
|
||||
|
||||
int
|
||||
drbr_needs_enqueue_drv(if_t ifh, struct buf_ring *br)
|
||||
{
|
||||
return drbr_needs_enqueue(ifh, br);
|
||||
}
|
||||
|
||||
int
|
||||
drbr_enqueue_drv(if_t ifh, struct buf_ring *br, struct mbuf *m)
|
||||
{
|
||||
return drbr_enqueue(ifh, br, m);
|
||||
|
||||
}
|
||||
|
@ -776,12 +776,6 @@ void if_settransmitfn(if_t ifp, if_transmit_fn_t);
|
||||
void if_setqflushfn(if_t ifp, if_qflush_fn_t);
|
||||
void if_setgetcounterfn(if_t ifp, if_get_counter_t);
|
||||
|
||||
/* Revisit the below. These are inline functions originally */
|
||||
int drbr_inuse_drv(if_t ifp, struct buf_ring *br);
|
||||
struct mbuf* drbr_dequeue_drv(if_t ifp, struct buf_ring *br);
|
||||
int drbr_needs_enqueue_drv(if_t ifp, struct buf_ring *br);
|
||||
int drbr_enqueue_drv(if_t ifp, struct buf_ring *br, struct mbuf *m);
|
||||
|
||||
/* TSO */
|
||||
void if_hw_tsomax_common(if_t ifp, struct ifnet_hw_tsomax *);
|
||||
int if_hw_tsomax_update(if_t ifp, struct ifnet_hw_tsomax *);
|
||||
|
Loading…
Reference in New Issue
Block a user