mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
bff57d8e1d
commit
5796bd040e
|
@ -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) \
|
||||||
|
|
Loading…
Reference in New Issue