summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixl
diff options
context:
space:
mode:
authorerj <erj@FreeBSD.org>2016-02-24 01:11:51 +0000
committererj <erj@FreeBSD.org>2016-02-24 01:11:51 +0000
commitc2197759a2059fe92bc16e6763e6b3a0c7e4e5c4 (patch)
treedf18b240e1e16e925105bcf05389042fe49751d1 /sys/dev/ixl
parent79e87efc0f3e944bb72580c9caf750c0cfb220e7 (diff)
downloadFreeBSD-src-c2197759a2059fe92bc16e6763e6b3a0c7e4e5c4.zip
FreeBSD-src-c2197759a2059fe92bc16e6763e6b3a0c7e4e5c4.tar.gz
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
Diffstat (limited to 'sys/dev/ixl')
-rw-r--r--sys/dev/ixl/if_ixl.c1
-rw-r--r--sys/dev/ixl/ixl_txrx.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c
index 22d8f01..3717cbf 100644
--- a/sys/dev/ixl/if_ixl.c
+++ b/sys/dev/ixl/if_ixl.c
@@ -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) {
diff --git a/sys/dev/ixl/ixl_txrx.c b/sys/dev/ixl/ixl_txrx.c
index e78af11..0ae7433 100644
--- a/sys/dev/ixl/ixl_txrx.c
+++ b/sys/dev/ixl/ixl_txrx.c
@@ -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;
OpenPOWER on IntegriCloud