Commit 5796bd04 authored by Sony Chacko's avatar Sony Chacko Committed by David S. Miller

qlcnic: fix bug in LRO descriptor access macro

Signed-off-by: default avatarSony Chacko <sony.chacko@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bff57d8e
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
(((sts_data) >> 58) & 0x03F) (((sts_data) >> 58) & 0x03F)
#define qlcnic_get_lro_sts_refhandle(sts_data) \ #define qlcnic_get_lro_sts_refhandle(sts_data) \
((sts_data) & 0x0FFFF) ((sts_data) & 0x07FFF)
#define qlcnic_get_lro_sts_length(sts_data) \ #define qlcnic_get_lro_sts_length(sts_data) \
(((sts_data) >> 16) & 0x0FFFF) (((sts_data) >> 16) & 0x0FFFF)
#define qlcnic_get_lro_sts_l2_hdr_offset(sts_data) \ #define qlcnic_get_lro_sts_l2_hdr_offset(sts_data) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment