ixgb: refactor tx path to use skb_dma_map/unmap
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Mar 2009 01:15:21 +0000 (01:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2009 08:17:24 +0000 (01:17 -0700)
commitfe52eeb82b746de441ed27c54ace940efe86bc9a
treee10b642cc9df4f479be0ee4ba2dfd378d51c0dd5
parent5f66f208064f083aab5e55935d0575892e033b59
ixgb: refactor tx path to use skb_dma_map/unmap

This code updates ixgb so that it can use the skb_dma_map/unmap functions
to map the buffers.  In addition it also updates the tx hang logic to use
time_stamp instead of dma to determine if it has detected a tx hang.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgb/ixgb_main.c