cxgb4vf: Use correct shift factor for extracting the SGE DMA Ingress Padding Boundary
authorCasey Leedom <leedom@chelsio.com>
Tue, 29 Jun 2010 12:54:12 +0000 (12:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 20:57:12 +0000 (13:57 -0700)
commitb3003be36a3c9215cd17182349981581de269048
tree73ea04abe84b2452ffe47a327008ecd8313cd4cc
parent64bb336c8f4de8b281d0d44f2ec2c900b9b28466
cxgb4vf: Use correct shift factor for extracting the SGE DMA Ingress Padding Boundary

Use correct shift factor for extracting the SGE DMA Ingress Padding
Boundary.  Was accidentally using the register field's shift which was
close enough (4 instead of the propper value of 5) that it actually
sort of worked for various packet sizes ...

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4vf/sge.c