summaryrefslogtreecommitdiff
path: root/qdf/linux/src
diff options
context:
space:
mode:
authorManjunathappa Prakash <prakashpm@codeaurora.org>2016-10-13 14:47:47 -0700
committerManjunathappa Prakash <prakashpm@codeaurora.org>2016-11-13 14:37:17 -0800
commit6e510ce32ee173710dbf48457215741c0b781007 (patch)
tree4cf5efeb6324a85c858f24f44a8833dbec64b863 /qdf/linux/src
parent0772149dcb9c40c592f394081d5d90be5d139074 (diff)
qcacmn: Add changes for per NAPI or per Rx CE LRO manager
Make changes for per per Rx context LRO manager, this addresses all parallel Rx concurrency issues. There by removes all the contention. Change-Id: I90604ffdf7b7fd930eee636426a4c7fc9b92c7d7 CRs-Fixed: 1079320
Diffstat (limited to 'qdf/linux/src')
-rw-r--r--qdf/linux/src/i_qdf_nbuf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qdf/linux/src/i_qdf_nbuf.h b/qdf/linux/src/i_qdf_nbuf.h
index 00c9bbad968e..94b59a5201bc 100644
--- a/qdf/linux/src/i_qdf_nbuf.h
+++ b/qdf/linux/src/i_qdf_nbuf.h
@@ -137,7 +137,8 @@ struct qdf_nbuf_cb {
tcp_pure_ack:1,
ipv6_proto:1,
ip_offset:7,
- tcp_offset:7;
+ tcp_offset:7,
+ rx_ctx_id:4;
uint32_t tcp_udp_chksum:16,
tcp_win:16;
uint32_t tcp_seq_num;
@@ -214,6 +215,8 @@ struct qdf_nbuf_cb {
#define QDF_NBUF_CB_RX_LRO_ELIGIBLE(skb) \
(((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.lro_eligible)
+#define QDF_NBUF_CB_RX_CTX_ID(skb) \
+ (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.rx_ctx_id)
#define QDF_NBUF_CB_RX_TCP_PROTO(skb) \
(((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.tcp_proto)
#define QDF_NBUF_CB_RX_TCP_PURE_ACK(skb) \