tree 83d6c51589eb595e9928bf0224228df2605a7853
parent d06bc5c4f315839bd4b5bc362a10faa59ae97a79
author Michael S. Tsirkin <[EMAIL PROTECTED]> Tue Apr 12 08:26:54 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:26:54 2005
[PATCH] IB/mthca: add SYNC_TPT firmware command
Add code for SYNC_TPT firmware command, which will be used by FMR
implementation.
Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>
Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
mthca_cmd.c | 5 +++++
mthca_cmd.h | 1 +
2 files changed, 6 insertions(+)
Index: drivers/infiniband/hw/mthca/mthca_cmd.c
===================================================================
---
ca55cf39f8d05ed6e3bba20e5707563edc878406/drivers/infiniband/hw/mthca/mthca_cmd.c
(mode:100644 sha1:b0b5b1b3b44405a56f1ca578d94fe3cbfc87b0f8)
+++
83d6c51589eb595e9928bf0224228df2605a7853/drivers/infiniband/hw/mthca/mthca_cmd.c
(mode:100644 sha1:a397c39b504a1d39c66bc93b190a9b57ebe12532)
@@ -1404,6 +1404,11 @@
return err;
}
+int mthca_SYNC_TPT(struct mthca_dev *dev, u8 *status)
+{
+ return mthca_cmd(dev, 0, 0, 0, CMD_SYNC_TPT, CMD_TIME_CLASS_B, status);
+}
+
int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
int eq_num, u8 *status)
{
Index: drivers/infiniband/hw/mthca/mthca_cmd.h
===================================================================
---
ca55cf39f8d05ed6e3bba20e5707563edc878406/drivers/infiniband/hw/mthca/mthca_cmd.h
(mode:100644 sha1:b751b83851306a4ba2ec14af01389be68af4b717)
+++
83d6c51589eb595e9928bf0224228df2605a7853/drivers/infiniband/hw/mthca/mthca_cmd.h
(mode:100644 sha1:211408df114ae611f60ed0524ee5335b07529b31)
@@ -276,6 +276,7 @@
int mpt_index, u8 *status);
int mthca_WRITE_MTT(struct mthca_dev *dev, u64 *mtt_entry,
int num_mtt, u8 *status);
+int mthca_SYNC_TPT(struct mthca_dev *dev, u8 *status);
int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
int eq_num, u8 *status);
int mthca_SW2HW_EQ(struct mthca_dev *dev, void *eq_context,
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html