]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add EDPM mode type for user-fw compatibility
authorYuval Basson <yuval.bason@marvell.com>
Tue, 26 May 2020 06:41:20 +0000 (09:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 May 2020 22:15:40 +0000 (15:15 -0700)
commit1999461820e907b4d83419c116e19b88660ddbda
tree4459b01559e710a6fd660f989a621a2b9ab6374f
parentda5ea6c496d67e5513b603d85276206df77d67b1
qed: Add EDPM mode type for user-fw compatibility

In older FW versions the completion flag was treated as the ack flag in
edpm messages. Expose the FW option of setting which mode the QP is in
by adding a flag to the qedr <-> qed API.

Flag is added for backward compatibility with libqedr.
This flag will be set by qedr after determining whether the libqedr is
using the updated version.

Fixes: 0d95f727f14d ("qed: Add support for QP verbs")
Signed-off-by: Yuval Basson <yuval.bason@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_rdma.c
drivers/net/ethernet/qlogic/qed/qed_rdma.h
drivers/net/ethernet/qlogic/qed/qed_roce.c
include/linux/qed/qed_rdma_if.h