2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/drivers/net/ethernet/intel
Alexander Duyck 729739b754 ixgbe: always write DMA for single_mapped value with skb
This change makes it so that we always write the DMA address for the skb
itself on the same tx_buffer struct that the skb is written on.  This way
we don't need the MAPPED_AS_PAGE flag and we always know it will be the
first DMA value that we will have to unmap.

In addition I have found an issue in which we were leaking a DMA mapping if
the value happened to be 0 which is possible on some platforms.  In order
to resolve that I have updated the transmit path to use the length instead
of the DMA mapping in order to determine if a mapping is actually present.

One other tweak in this patch is that it only writes the olinfo information
on the first descriptor.  As it turns out it isn't necessary to write it
for anything but the first descriptor so there is no need to carry it
forward.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-03-17 01:41:49 -07:00
..
e1000 v2 e1000: Neaten e1000_dump function 2012-02-24 02:03:43 -08:00
e1000e e1000e: use msleep instead of mdelay 2012-02-29 23:14:19 -08:00
igb igb: Support RX-ALL feature flag. 2012-03-17 01:02:26 -07:00
igbvf igbvf: reset netdevice addr_assign_type if changed 2012-02-17 15:58:06 -05:00
ixgb ixgb: Remove unnecessary defines, use pr_debug 2012-03-14 00:26:42 -07:00
ixgbe ixgbe: always write DMA for single_mapped value with skb 2012-03-17 01:41:49 -07:00
ixgbevf ixgbevf: print MAC via printk format specifier 2012-02-24 15:40:59 -05:00
e100.c e100: Show short v/s long rx length errors in ethtool stats. 2012-03-02 18:09:27 -08:00
Kconfig i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00