From: Mallikarjuna R Chilakala Date: Thu, 13 May 2010 17:33:21 +0000 (+0000) Subject: ixgbe: Use bool flag to see if the packet unmapping is delayed in HWRSC X-Git-Tag: v2.6.35-rc1~473^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8171aaad7ec335b8cbd71f56eb08b545f0c404f;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed