diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2012-12-04 03:33:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-04 18:00:12 (GMT) |
commit | 5796bd040e26915b05edf7b0e43eb4aa971170aa (patch) | |
tree | 913ddd2cb2c6320e8779c56d5b3e711023e0a4da /drivers/net/ethernet/qlogic/qlcnic | |
parent | bff57d8e1de3510bb8845f639631b6fced211801 (diff) | |
download | linux-fsl-qoriq-5796bd040e26915b05edf7b0e43eb4aa971170aa.tar.xz |
qlcnic: fix bug in LRO descriptor access macro
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index 880a9ca..6f82812 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c @@ -66,7 +66,7 @@ (((sts_data) >> 58) & 0x03F) #define qlcnic_get_lro_sts_refhandle(sts_data) \ - ((sts_data) & 0x0FFFF) + ((sts_data) & 0x07FFF) #define qlcnic_get_lro_sts_length(sts_data) \ (((sts_data) >> 16) & 0x0FFFF) #define qlcnic_get_lro_sts_l2_hdr_offset(sts_data) \ |