From: Anish Bhatt <anish@chelsio.com>
To: netdev@vger.kernel.org
Cc: linux-rdma@vger.kernel.org, linux-scsi@vger.kernel.org,
davem@davemloft.net, roland@purestorage.com, hch@infradead.org,
michaelc@cs.wisc.edu, jbottomley@parallels.com, kxie@chelsio.com,
leedom@chelsio.com, hariprasad@chelsio.com,
swise@opengridcomputing.com, Anish Bhatt <anish@chelsio.com>
Subject: [PATCH net-next 1/4] cxgb4/iw_cxgb4: Move common defines to cxgb4
Date: Tue, 15 Jul 2014 19:55:50 -0700 [thread overview]
Message-ID: <1405479353-2289-2-git-send-email-anish@chelsio.com> (raw)
In-Reply-To: <1405479353-2289-1-git-send-email-anish@chelsio.com>
This define is used by cxgb4i and iw_cxgb4, moving to avoid code duplication
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
---
drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 1 -
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h b/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
index 91289a051af9..5709e77faf7c 100644
--- a/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
+++ b/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
@@ -849,6 +849,5 @@ enum { /* TCP congestion control algorithms */
#define G_CONG_CNTRL(x) (((x) >> S_CONG_CNTRL) & M_CONG_CNTRL)
#define CONG_CNTRL_VALID (1 << 18)
-#define T5_OPT_2_VALID (1 << 31)
#endif /* _T4FW_RI_API_H_ */
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h b/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
index abb45809c0c8..64006327df83 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
@@ -276,6 +276,7 @@ struct cpl_pass_accept_rpl {
#define WND_SCALE_EN(x) ((x) << 28)
#define TSTAMPS_EN(x) ((x) << 29)
#define SACK_EN(x) ((x) << 30)
+#define T5_OPT_2_VALID ((1U) << 31)
__be64 opt0;
};
--
2.0.1
next prev parent reply other threads:[~2014-07-16 2:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-16 2:55 [PATCH net-next 0/4] cxgb4i: Add ipv6 support Anish Bhatt
2014-07-16 2:55 ` Anish Bhatt [this message]
[not found] ` <1405479353-2289-1-git-send-email-anish-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
2014-07-16 2:55 ` [PATCH net-next 2/4] cxgb4: Export symbols required by cxgb4i for ipv6 support and required defines Anish Bhatt
2014-07-16 2:55 ` [PATCH net-next 3/4] libcxgbi: Add ipv6 api to driver Anish Bhatt
[not found] ` <1405479353-2289-4-git-send-email-anish-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
2014-07-17 6:23 ` David Miller
2014-07-16 2:55 ` [PATCH net-next 4/4] cxgb4i: Add ipv6 code to driver, call into libcxgbi ipv6 api Anish Bhatt
2014-07-16 8:08 ` [PATCH net-next 0/4] cxgb4i: Add ipv6 support Christoph Hellwig
[not found] ` <20140716080849.GA29924-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-07-16 8:32 ` Anish Bhatt
[not found] ` <525DB349B3FB5444AE057A887CB2A8D854356F-m9HP2+76emFEErodcbzraFjMPmZJtkid@public.gmane.org>
2014-07-16 8:47 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405479353-2289-2-git-send-email-anish@chelsio.com \
--to=anish@chelsio.com \
--cc=davem@davemloft.net \
--cc=hariprasad@chelsio.com \
--cc=hch@infradead.org \
--cc=jbottomley@parallels.com \
--cc=kxie@chelsio.com \
--cc=leedom@chelsio.com \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
--cc=netdev@vger.kernel.org \
--cc=roland@purestorage.com \
--cc=swise@opengridcomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox