]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e9b23302edcab813022cec7e5b8b0c8c9e40d38
tree73ea04abe84b2452ffe47a327008ecd8313cd4cc
parent38a483853c8a7eaf6f1a0f7d3dceb7b0ca4aeeb0
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