diff options
author | Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> | 2010-05-13 17:33:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-13 21:07:33 -0700 |
commit | e8171aaad7ec335b8cbd71f56eb08b545f0c404f (patch) | |
tree | efd76846ee2cf0a266386b97c23130dc55d9c11d /drivers/net/ixgbe/ixgbe_common.h | |
parent | e433ea1fb03c10debf101019668b83abed041c24 (diff) | |
download | blackbird-op-linux-e8171aaad7ec335b8cbd71f56eb08b545f0c404f.tar.gz blackbird-op-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.h')
0 files changed, 0 insertions, 0 deletions