diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-06-05 14:24:48 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-05 21:25:56 -0700 |
commit | 5d700ecb06275af22b3db6559eb5b3d7a8e6bf70 (patch) | |
tree | f38897aae80081e76cf3bca90f6ab0ba9317fbb7 /drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | |
parent | 4f3a0fcfb64b107bfbec0779a02438b321cc5dcf (diff) | |
download | lwn-5d700ecb06275af22b3db6559eb5b3d7a8e6bf70.tar.gz lwn-5d700ecb06275af22b3db6559eb5b3d7a8e6bf70.zip |
cxgb4: Add sge ec context flush service
Add function to flush the sge ec context cache, and utilize
this new function in the driver
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h index aceb1e8cacc8..ab4674684acc 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h @@ -772,7 +772,7 @@ struct fw_ldst_cmd { } addrval; struct fw_ldst_idctxt { __be32 physid; - __be32 msg_pkd; + __be32 msg_ctxtflush; __be32 ctxt_data7; __be32 ctxt_data6; __be32 ctxt_data5; @@ -834,6 +834,10 @@ struct fw_ldst_cmd { #define FW_LDST_CMD_MSG_S 31 #define FW_LDST_CMD_MSG_V(x) ((x) << FW_LDST_CMD_MSG_S) +#define FW_LDST_CMD_CTXTFLUSH_S 30 +#define FW_LDST_CMD_CTXTFLUSH_V(x) ((x) << FW_LDST_CMD_CTXTFLUSH_S) +#define FW_LDST_CMD_CTXTFLUSH_F FW_LDST_CMD_CTXTFLUSH_V(1U) + #define FW_LDST_CMD_PADDR_S 8 #define FW_LDST_CMD_PADDR_V(x) ((x) << FW_LDST_CMD_PADDR_S) |