From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A1BE942B9C for ; Thu, 25 May 2023 15:54:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95CEA410DC; Thu, 25 May 2023 15:54:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 9891240DDB; Thu, 25 May 2023 15:54:29 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34PBnsc2023516; Thu, 25 May 2023 06:54:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=Z70CgnJ/DCAuGAy9Z8u+hOtFQEFw1ny9gRBL9wYRJ50=; b=Rk+3OirJYsokf7oaa1t2BIQbBupj8gPT56vQEbd3O1iajMB5J6tg+MefMC9joZatMG7L bb+p9sjyMSlOpDKG0CVLj7LZXBMoh9TC/w/0EWGJm/geuN/COZ6ov/S3qTW2QuAyIGyT OzU0mWfDzxpbgX+oye5pPMhuwmGxzStyO8agKXM+CpyhiEh/7VebNQ/4O8uh4Jc5090B s4jhLNlv1g7CNVaWUd7Cq3++AAObVkQ1tpLHg0YVYIBmQGxbbYkQhburYCUMLy1xmBqb 5z74KUUxif5czh2rtFSi6n2JFVjWoWrjv2yWHjZGC/ETCcGtEbGG9r5dWul4hWqMe8gG kw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3qsspt2xh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 06:54:28 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 25 May 2023 06:54:26 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 25 May 2023 06:54:26 -0700 Received: from localhost.marvell.com (unknown [10.30.47.116]) by maili.marvell.com (Postfix) with ESMTP id B73DD3F7081; Thu, 25 May 2023 06:54:23 -0700 (PDT) From: Devendra Singh Rawat To: , , CC: , , , Devendra Singh Rawat Subject: [PATCH] net/qede: fix RSS indirection table initialization Date: Thu, 25 May 2023 19:24:21 +0530 Message-ID: <20230525135421.301959-1-dsinghrawat@marvell.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: S9NDKK9cybb-5y0-YCNRhyLT0UCmr_B8 X-Proofpoint-ORIG-GUID: S9NDKK9cybb-5y0-YCNRhyLT0UCmr_B8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-25_07,2023-05-25_03,2023-05-22_02 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org RSS indirection table was not updated for VF ports during RSS hash update, this resulted in device start failure. This fix sets update rss indirection table in VFPF channel request, sent for updating RSS hash for VF. Fixes: 7ab35bf6b97b ("net/qede: fix RSS") Cc: stable@dpdk.org Signed-off-by: Devendra Singh Rawat Signed-off-by: Alok Prasad --- drivers/net/qede/qede_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index a4923670d6..22cd470646 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -2142,6 +2142,7 @@ int qede_rss_hash_update(struct rte_eth_dev *eth_dev, rss_params.rss_enable = 1; } + rss_params.update_rss_ind_table = 1; rss_params.update_rss_config = 1; /* tbl_size has to be set with capabilities */ rss_params.rss_table_size_log = 7; -- 2.18.2