]> 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)
commit8e900c31751ca970aeb3f70651e6a21975cc2af4
tree4459b01559e710a6fd660f989a621a2b9ab6374f
parent5fc8c26e2270d68a0f8bdb6fe676a9ce88fed0f0
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: 20cdcc5122df ("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