summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_common.c
diff options
context:
space:
mode:
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>2010-05-13 19:33:21 +0200
committerDavid S. Miller <davem@davemloft.net>2010-05-14 06:07:33 +0200
commite8171aaad7ec335b8cbd71f56eb08b545f0c404f (patch)
treeefd76846ee2cf0a266386b97c23130dc55d9c11d /drivers/net/ixgbe/ixgbe_common.c
parentixgbe: fix setting of promisc mode when using mac-vlans (diff)
downloadlinux-e8171aaad7ec335b8cbd71f56eb08b545f0c404f.tar.xz
linux-e8171aaad7ec335b8cbd71f56eb08b545f0c404f.zip
ixgbe: Use bool flag to see if the packet unmapping is delayed in HWRSC
We can't use zero magic "bad" value to check if IXGBE_RSC_CB(skb)->dma is valid. It is only valid in x86/arm/m68k/alpha architectures and in spark, powerPC and other architectures it should be ~0. As per Benjamin Herrenschmidt feedback use a bool flag to decide if the packet unmapping is delayed in hardware RSC till EOP is reached Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_common.c')
0 files changed, 0 insertions, 0 deletions