From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E97A0A2E1B for ; Tue, 3 Sep 2019 08:43:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E828C1E85D; Tue, 3 Sep 2019 08:43:30 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 84E4F1D444 for ; Tue, 3 Sep 2019 08:43:27 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x836dmKd024977 for ; Mon, 2 Sep 2019 23:43:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=JCz164BTEA208wT8q6hwRaYtchKu/hZ/H7t+lW0Ni90=; b=EJ/Hk4R1ReH1NHdFj5bDr/reBScKUJUJtupJyDxwkw7uZdfYFWkVx40zaLzy+bJe62tF fhz5MN6aVbhIgvUORX/imVjMMIQkyHbri4E2RsKqVvuonRSAXbkrGSSbO2zKjCzq+4iu P3WYicOMR78fFzum+d5/MXK6U9fc0oP00qbJl5uRDVSPW9BySJe6m/EyL+r453zW5O0K xIeGkZzSdyhs6ew+n/ayFoH8/5mxfTjqHMJxQMD81zeKLf+1xt9p3WVfquamED2i0x+Q 6oHofk+iorjvL1sS/LjnGkWnjji6cZQzsqiW+5MFsGkA70Ao9rD9cIeT5ciLsbWc98JJ ig== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2uqp8p92hn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 02 Sep 2019 23:43:26 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 2 Sep 2019 23:43:24 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Mon, 2 Sep 2019 23:43:24 -0700 Received: from localhost.localdomain (unknown [10.28.34.15]) by maili.marvell.com (Postfix) with ESMTP id B03F43F7041; Mon, 2 Sep 2019 23:43:22 -0700 (PDT) From: To: Jerin Jacob , Nithin Dabilpuram , Kiran Kumar K CC: Date: Tue, 3 Sep 2019 12:13:05 +0530 Message-ID: <20190903064305.14895-2-kirankumark@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190903064305.14895-1-kirankumark@marvell.com> References: <20190903064305.14895-1-kirankumark@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-09-03_01:2019-09-03,2019-09-02 signatures=0 Subject: [dpdk-dev] [PATCH 2/2] net/octeontx2: enable GTPU for RSS hash index X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Kiran Kumar K Adding support to parse GTPU flag for RSS hash index calculation in octeontx2. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_rss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/octeontx2/otx2_rss.c b/drivers/net/octeontx2/otx2_rss.c index 5afa21490..bc7b64387 100644 --- a/drivers/net/octeontx2/otx2_rss.c +++ b/drivers/net/octeontx2/otx2_rss.c @@ -243,6 +243,9 @@ otx2_rss_ethdev_to_nix(struct otx2_eth_dev *dev, uint64_t ethdev_rss, if (ethdev_rss & ETH_RSS_GENEVE) flowkey_cfg |= FLOW_KEY_TYPE_GENEVE; + if (ethdev_rss & ETH_RSS_GTPU) + flowkey_cfg |= FLOW_KEY_TYPE_GTPU; + return flowkey_cfg; } -- 2.17.1