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 69F2E42B98 for ; Thu, 25 May 2023 11:29:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63D56410F9; Thu, 25 May 2023 11:29:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1DA02410DC; Thu, 25 May 2023 11:29:25 +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 34P9G9Vm022379; Thu, 25 May 2023 02:29:24 -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=UN2OevYxQmkc/TUa+4D74NXdLW8VjW2FIRolE5jeIgk=; b=emJhI6aWp4j+6uNpNe37o1pL0A6sNDYaeH5LWtAnW4TLM3chRxhI0cNgatIb+gvalxgR xdg1HKnHTf2V1cwn4NsallRZU9d2K6KB27qL7CPcVNQtZ5uq7wBSLHHC3f6Wm+cRvgd3 AxRNhhPOIC/YFHLU/Jx3FJBc+x3gbNa8VNomBuvyc2uy2UJz0j1hCw2rtXTG2Rmyq6e2 TJI3S/LCEL8lODg3WBSPAJ3+qrLVXi9VUYXjxpKnR8xp1en4VQ7Xioy4cuxf0piHgvJK lQn+sszC129HIdzsF7nqej1ZaKB2c7RfEbjyLZabQ0k2u8SJhop+hUHA3DTgakv6Id3Q Vg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3qsspt26me-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 02:29:24 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 24 May 2023 22:30:08 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 24 May 2023 22:30:08 -0700 Received: from localhost.marvell.com (unknown [10.30.47.116]) by maili.marvell.com (Postfix) with ESMTP id C41053F704C; Wed, 24 May 2023 22:30:05 -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 11:00:01 +0530 Message-ID: <20230525053001.283328-1-dsinghrawat@marvell.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: woAkBGHsq5tDegi3WvKuYb57v6m-SxtX X-Proofpoint-ORIG-GUID: woAkBGHsq5tDegi3WvKuYb57v6m-SxtX 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_05,2023-05-24_01,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 updates RSS indirection table during RSS hash update. 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