linux/drivers/net
Alexander Duyck 7cc6fd4c60 igb: Don't bother clearing Tx buffer_info in igb_clean_tx_ring
In the case of the Tx rings we need to only clear the Tx buffer_info when
we are resetting the rings.  Ideally we do this when we configure the ring
to bring it back up instead of when we are taking it down in order to avoid
dirtying pages we don't need to.

In addition we don't need to clear the Tx descriptor ring since we will
fully repopulate it when we begin transmitting frames and next_to_watch can
be cleared to prevent the ring from being cleaned beyond that point instead
of needing to touch anything in the Tx descriptor ring.

Finally with these changes we can avoid having to reset the skb member of
the Tx buffer_info structure in the cleanup path since the skb will always
be associated with the first buffer which has next_to_watch set.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-03-17 12:11:44 -07:00
..
appletalk
arcnet
bonding bonding: add 802.3ad support for 25G speeds 2017-03-16 20:27:10 -07:00
caif
can
cris
dsa net: dsa: mv88e6xxx: specify ageing time limits 2017-03-15 15:34:13 -07:00
ethernet igb: Don't bother clearing Tx buffer_info in igb_clean_tx_ring 2017-03-17 12:11:44 -07:00
fddi
fjes
hamradio
hippi
hyperv netvsc: remove unused #define 2017-03-16 21:39:51 -07:00
ieee802154
ipvlan
irda
phy drivers: net: phy: xgene: Fix mdio write 2017-03-15 21:52:51 -07:00
plip
ppp
slip
team
usb r8152: simply the arguments 2017-03-16 10:13:59 -07:00
vmxnet3
wan ucc/hdlc: fix two little issue 2017-03-13 21:53:48 -07:00
wimax
wireless
xen-netback
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
veth.c
virtio_net.c
vrf.c net: vrf: Set slave's private flag before linking 2017-03-16 10:18:34 -07:00
vxlan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
xen-netfront.c