diff options
author | np <np@FreeBSD.org> | 2013-02-26 00:27:27 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2013-02-26 00:27:27 +0000 |
commit | b803c7de89432aa2b5990620a631d44776c10a45 (patch) | |
tree | 13f48187ef670ac30a91f7085111c96bf6fb5952 /sys/dev/cxgbe/common/t4_msg.h | |
parent | f9193e6daaff1856be00a9438fef1064b731599a (diff) | |
download | FreeBSD-src-b803c7de89432aa2b5990620a631d44776c10a45.zip FreeBSD-src-b803c7de89432aa2b5990620a631d44776c10a45.tar.gz |
cxgbe(4): Ask the card's firmware to pad up tiny CPLs by encapsulating
them in a firmware message if it is able to do so. This works out
better for one of the FIFOs in the chip.
MFC after: 5 days
Diffstat (limited to 'sys/dev/cxgbe/common/t4_msg.h')
-rw-r--r-- | sys/dev/cxgbe/common/t4_msg.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sys/dev/cxgbe/common/t4_msg.h b/sys/dev/cxgbe/common/t4_msg.h index 92f760b..2111d30 100644 --- a/sys/dev/cxgbe/common/t4_msg.h +++ b/sys/dev/cxgbe/common/t4_msg.h @@ -2224,6 +2224,15 @@ struct cpl_sge_egr_update { #define V_EGR_QID(x) ((x) << S_EGR_QID) #define G_EGR_QID(x) (((x) >> S_EGR_QID) & M_EGR_QID) +/* cpl_fw*.type values */ +enum { + FW_TYPE_CMD_RPL = 0, + FW_TYPE_WR_RPL = 1, + FW_TYPE_CQE = 2, + FW_TYPE_OFLD_CONNECTION_WR_RPL = 3, + FW_TYPE_RSSCPL = 4, +}; + struct cpl_fw2_pld { RSS_HDR u8 opcode; @@ -2292,10 +2301,11 @@ struct cpl_fw6_msg { /* cpl_fw6_msg.type values */ enum { - FW6_TYPE_CMD_RPL = 0, - FW6_TYPE_WR_RPL = 1, - FW6_TYPE_CQE = 2, - FW6_TYPE_OFLD_CONNECTION_WR_RPL = 3, + FW6_TYPE_CMD_RPL = FW_TYPE_CMD_RPL, + FW6_TYPE_WR_RPL = FW_TYPE_WR_RPL, + FW6_TYPE_CQE = FW_TYPE_CQE, + FW6_TYPE_OFLD_CONNECTION_WR_RPL = FW_TYPE_OFLD_CONNECTION_WR_RPL, + FW6_TYPE_RSSCPL = FW_TYPE_RSSCPL, NUM_FW6_TYPES }; |