diff options
author | Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> | 2010-05-13 21:33:21 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-14 08:07:33 +0400 |
commit | e8171aaad7ec335b8cbd71f56eb08b545f0c404f (patch) | |
tree | efd76846ee2cf0a266386b97c23130dc55d9c11d /drivers/net/znet.c | |
parent | e433ea1fb03c10debf101019668b83abed041c24 (diff) | |
download | linux-e8171aaad7ec335b8cbd71f56eb08b545f0c404f.tar.xz |
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/znet.c')
0 files changed, 0 insertions, 0 deletions