]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitff937b916eb6316fe4644564a572ed3b5867bc1f
tree4459b01559e710a6fd660f989a621a2b9ab6374f
parent239174945dac8cb9613db7755103d5fb6c32241d
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: f10939403352 ("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