summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSony Chacko <sony.chacko@qlogic.com>2012-12-04 03:33:57 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-04 13:00:12 -0500
commit5796bd040e26915b05edf7b0e43eb4aa971170aa (patch)
tree913ddd2cb2c6320e8779c56d5b3e711023e0a4da
parentbff57d8e1de3510bb8845f639631b6fced211801 (diff)
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>
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c2
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 880a9ca274dc..6f82812d0fab 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) \