Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Dmitry Bogdanov <dbogdanov@marvell.com>
To: <netdev@vger.kernel.org>, "David S . Miller" <davem@davemloft.net>
Cc: Dmitry Bogdanov <dbogdanov@marvell.com>,
	Igor Russkikh <irusskikh@marvell.com>,
	Michal Kalderon <michal.kalderon@marvell.com>
Subject: [PATCH v2 net 3/3] net: qed: RDMA personality shouldn't fail VF load
Date: Mon, 31 Aug 2020 12:43:29 +0300	[thread overview]
Message-ID: <a356c374d4b5456947242d27d325831f339fd569.1597833340.git.dbogdanov@marvell.com> (raw)
Message-ID: <20200831094329.mB_xvI9EIdP2kGOt1L2eZowkFP_qXxitML9N6JfRyTQ@z> (raw)
In-Reply-To: <cover.1597833340.git.dbogdanov@marvell.com>

Fix the assert during VF driver installation when the personality is iWARP

Fixes: 1fe614d10f45 ("qed: Relax VF firmware requirements")
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
---
 drivers/net/ethernet/qlogic/qed/qed_sriov.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/qlogic/qed/qed_sriov.c b/drivers/net/ethernet/qlogic/qed/qed_sriov.c
index f1f75b6d0421..b8dc5c4591ef 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_sriov.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_sriov.c
@@ -71,6 +71,7 @@ static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf)
 		p_ramrod->personality = PERSONALITY_ETH;
 		break;
 	case QED_PCI_ETH_ROCE:
+	case QED_PCI_ETH_IWARP:
 		p_ramrod->personality = PERSONALITY_RDMA_AND_ETH;
 		break;
 	default:
-- 
2.17.1


  parent reply	other threads:[~2020-08-31  9:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 20:29 [PATCH net 0/3] net: qed disable aRFS in NPAR and 100G Dmitry Bogdanov
2020-08-19 20:29 ` [PATCH net 1/3] net: qed: Disable aRFS for " Dmitry Bogdanov
2020-08-20 11:08   ` Dmitry Bogdanov
2020-08-21 11:51   ` [PATCH v2, " Dmitry Bogdanov
2020-08-31  9:43   ` [PATCH v2 " Dmitry Bogdanov
2020-09-01 15:29   ` Igor Russkikh
2020-08-19 20:29 ` [PATCH net 2/3] net: qede: " Dmitry Bogdanov
2020-08-19 22:49   ` David Miller
2020-08-20 11:08   ` Dmitry Bogdanov
2020-08-21 11:51   ` [PATCH v2, " Dmitry Bogdanov
2020-08-31  9:43   ` [PATCH v2 " Dmitry Bogdanov
2020-08-19 20:29 ` Dmitry Bogdanov [this message]
2020-08-20 11:08   ` [PATCH net 3/3] net: qed: RDMA personality shouldn't fail VF load Dmitry Bogdanov
2020-08-21 11:51   ` [PATCH v2, " Dmitry Bogdanov
2020-08-31  9:43   ` [PATCH v2 " Dmitry Bogdanov
2020-08-20 11:08 ` [PATCH net 0/3] net: qed disable aRFS in NPAR and 100G Dmitry Bogdanov
2020-08-21 11:45 ` Dmitry Bogdanov
2020-08-21 11:51 ` [PATCH v2, " Dmitry Bogdanov
2020-08-31  9:43 ` [PATCH v2 " Dmitry Bogdanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a356c374d4b5456947242d27d325831f339fd569.1597833340.git.dbogdanov@marvell.com \
    --to=dbogdanov@marvell.com \
    --cc=davem@davemloft.net \
    --cc=irusskikh@marvell.com \
    --cc=michal.kalderon@marvell.com \
    --cc=netdev@vger.kernel.org \
    --subject='Re: [PATCH v2 net 3/3] net: qed: RDMA personality shouldn'\''t fail VF load' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).