mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ixl(4)/ixlv(4): Remove a couple unnecessary register writes/flushes.
The one in ixl_xmit() has brought up to us as being unnecessary at least a couple times. Differential Revision: https://reviews.freebsd.org/D5208 Tested by: jeffrey.e.pieper@intel.com Sponsored by: Intel Corporation
This commit is contained in:
parent
e84c2dea93
commit
e4c893dd01
2 changed files with 0 additions and 2 deletions
|
|
@ -2912,7 +2912,6 @@ ixl_initialize_vsi(struct ixl_vsi *vsi)
|
|||
device_printf(dev, "Fail in init_rx_ring %d\n", i);
|
||||
break;
|
||||
}
|
||||
wr32(vsi->hw, I40E_QRX_TAIL(que->me), 0);
|
||||
#ifdef DEV_NETMAP
|
||||
/* preserve queue */
|
||||
if (vsi->ifp->if_capenable & IFCAP_NETMAP) {
|
||||
|
|
|
|||
|
|
@ -390,7 +390,6 @@ ixl_xmit(struct ixl_queue *que, struct mbuf **m_headp)
|
|||
++txr->total_packets;
|
||||
wr32(hw, txr->tail, i);
|
||||
|
||||
ixl_flush(hw);
|
||||
/* Mark outstanding work */
|
||||
if (que->busy == 0)
|
||||
que->busy = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue