From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700066.outbound.protection.outlook.com [40.107.70.66]) by dpdk.org (Postfix) with ESMTP id AF159FEB; Wed, 8 Aug 2018 07:38:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VyS9UYDJTR8rL9QjdC40t2xkCUtwMpIGpUkgA7sRen0=; b=BMti3UNlDNLsq2N/z5SER/dkqQfteKeRnU8CH6A0mDtz0p6XjQU54rW0mU8dCfX9PAvOTW3EXdMwyioTwq4edC2EIRAo71x7Y5Z9YmC2rS4AGbxoxuNuaCzmdZ213RJK7OH6W1EcZni1OWZGHN1EDKbu/1QljAQlfVdnbqQKVC0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Rasesh.Mody@cavium.com; Received: from cavium.com (198.186.1.5) by BN7PR07MB5362.namprd07.prod.outlook.com (2603:10b6:408:2e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.19; Wed, 8 Aug 2018 05:38:47 +0000 From: Rasesh Mody To: dev@dpdk.org Cc: Shahed Shaikh , ferruh.yigit@intel.com, Dept-EngDPDKDev@cavium.com, stable@dpdk.org Date: Tue, 7 Aug 2018 22:38:34 -0700 Message-Id: <1533706715-27407-1-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [198.186.1.5] X-ClientProxiedBy: CO2PR05CA0108.namprd05.prod.outlook.com (2603:10b6:104:1::34) To BN7PR07MB5362.namprd07.prod.outlook.com (2603:10b6:408:2e::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8543395c-4d96-4638-034d-08d5fcf136cc X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BN7PR07MB5362; X-Microsoft-Exchange-Diagnostics: 1; BN7PR07MB5362; 3:dIzPKCAF68tO85/3acEKx1qIkOFD+h+X1zT4oHpM2Ahd1yq3Uv+Jliwk68VpJgLBcchecmxk7xwRVGUL94idLzvYwYsv7xjIYCpLYG5XZEkSQn3IWIMxrf6Ceyqk+Gu4Oe7CMmWeXyYCq/xhTxDwfHCWc6nlJJr+13Yyk05F0lPQ7jEIAL+/SsWBRiP1jGcXAoA5u18yVd00+24B0KdrK+ZEhY7FLlivH5XISfs2Nw3I/QMdV5H0gBM/lPVz+ZhT; 25:e9MzhroihitwMFcMvlWXFy263JvWcvc30xD8x3cpjUG7FpiBS4yuiHjcEZQQVbaXxgKJLoCkM0CBtlZ8qrtRHBdRXnw4suu//qwI6DcAKmGMBXjPTupFWdHKXBROmlo3ajb9IRIIdNXUj3ZzMXaBCXtLnPWtgnbyvWctkHaUcH09icJkZbnAOJou1WawtLphLZ3XZGV1RmzwYtQEELWM9g3H8iGUqv7ziXrFdSBC1eyB4WGYcJQoZdFUMkHXlBebwe9y6XfbuRqlrNPC9XumDfD4zWdtyBhtYeWU4G72WKNlZIU8LAoZjapqZdcl49BuAjkKSGrsJW46mxD8o6bidg==; 31:lZ6UW0cLi+QR0HO7pX3j6J4xTDbRUHW71vDgw0NBJdd0S2NvYWnD6q6DvtydQQSQ/MMG3bGLp7Qqe7NusLhRbEFbhRPrlEEluLnrnQtmfWLrQyKk6x4px/AdcqfqZfPoGjiYCiQ5iJpONNoGs1/MM8g0smcgEM29ReqxpAfBkgNGlmL80sxqcfFZiMc+evaahNJWzDnsHhpr+uDYMs+E4mxlvq32bD3HlotlCIytAzM= X-MS-TrafficTypeDiagnostic: BN7PR07MB5362: X-Microsoft-Exchange-Diagnostics: 1; BN7PR07MB5362; 20:QMQ4Gc1LxtlEFdRAIFvXjHRRlRTEHmbhue/4eWVkCTE98nYHALyDH1XsZUeMMvISjLhdnSBaz+787r2xrt/vVIpbcC2RAgElJxgYy5mkFJubz4go+9qNaJcySXQK3dHUOwULLQuN6JQY3ZVmyboKGV4wDSe+eyMJIX8IVNvCKWNLauxGUlDG33IXPswFr1zuDYuqxcJOfZgifcpwU+Z87i/ijJ5wo9xDzAw7HVaBIl9jxCwo+8XypYtSXENnyp0EdGrCSNbUTEX3f6IO+YX1S6oGiOh7MC7Dys997ukgJ2jWu74s965DRa8VGbihKwO4+0AEDzpP+8ngLZoPshyQoLBgNC5Oy9uAQVSZ9KoRKcp4R+m3P/TVyuQxL7f60oMSKb7MCRVyP0MZ14QInWfTlD/a1YmtV6i+2yVc30ZHZ/fP1xfwZPw4Q0bSj9RxNjHUKnG9PdT/PR6CHeqpn+fKqurecEWVLO8F0+gL8CZ9648F9nH1znbJWQmv+Pke1zTs; 4:gbLZfTeQByZvZbzn/TQMYaOGOhgffWBwXENrjorXUnF0L18fRW8lOO3lDIZwcfGcJUjt89bQdbeaWdmv+zKhXxkKCaqT4TrmcLd/Vm/FEz6YdgpKwzbTxKQemrzFVuVZVxFSxdIuu1Z62iS+2cqDPu47k0li59q9PE0ColUKd1EyOa8qC81OjXk1n4xt1pfDcbZtS2QxlzuaJwppPEySLXdu/etMZmEoPTkCiMQppmpjIMYgX0mt3RP9dZQoDvn3uorz+Yf0p6STiZSRq32efw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:BN7PR07MB5362; BCL:0; PCL:0; RULEID:; SRVR:BN7PR07MB5362; X-Forefront-PRVS: 07584EDBCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39850400004)(376002)(136003)(346002)(189003)(199004)(2361001)(72206003)(25786009)(478600001)(386003)(2351001)(26005)(97736004)(186003)(16526019)(44832011)(51416003)(7696005)(52116002)(53936002)(3846002)(47776003)(6116002)(55016002)(105586002)(106356001)(66066001)(316002)(4326008)(69596002)(476003)(2906002)(21086003)(8676002)(16586007)(36756003)(7736002)(86362001)(486006)(305945005)(5660300001)(50226002)(956004)(68736007)(81166006)(4720700003)(6916009)(81156014)(6666003)(2616005)(8936002)(50466002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR07MB5362; H:cavium.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN7PR07MB5362; 23:r673LP1RizDeFuuSZsjIFte9cSQQKPc8rQZtzOxd4?= =?us-ascii?Q?5z/tGYshFyX6uY8LkJ3e4nSzNrTCrPVyXQUNQ7R2k2IQ4yEbr25pBCdUeInV?= =?us-ascii?Q?dFhHCVYqinR1Kmhq3tolw3rAcbqMonLkosiTRNAa+sZBIZkZXYO7gAT+HOAV?= =?us-ascii?Q?IMRbJvgiR7DLDjjbM9r//OGXDiK9BsPkw5lEusxNg2hAlyLm1f9r1ln+idKU?= =?us-ascii?Q?fvXEnDzaM1WU8veTib9sXQCBnzp5dnMeE1p8Ql01XGDJTe9kiLesJ9hG4Z74?= =?us-ascii?Q?Yh2vfGlVWGvccmNCbz4vHDiI2RQQhAFSO4hccYTYfWVsIrntGqrXbg/y8OoN?= =?us-ascii?Q?koD+mliHDDPRfakg+ozHN6X6PATDfar9PBS2O8nZWLs/ydp5zq+ykhAYiGRr?= =?us-ascii?Q?BLQ8Id+f7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kby7nKEtxYlLDYg5GlBVGO7cKy65JWvNZTtOeT9KF1S7Sy8CL0knJP67oThlOMyCu5Xo5UTZ8af6vWdfA+up5Hv9RXMTkWfWM+/YjEKqRVbymD7AxdYCGkXqMpvdLRmeHP5yneCjVmXvjhN1VVCy6RJ+jbBHvetO6iwgRtQW05dzqEXS9Q8hyDkDJgBVveQeZ2Pl7xqryqxLLr3fVJQZ5 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2018 05:38:47.2107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8543395c-4d96-4638-034d-08d5fcf136cc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR07MB5362 Subject: [dpdk-stable] [PATCH 1/2] net/qede: fix ntuple filter configuration X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 05:38:50 -0000 From: Shahed Shaikh PMD did not pass down the intended queue id while configuring the ntuple filter. Fixes: 622075356e8f ("net/qede: support ntuple and flow director filter") Cc: stable@dpdk.org Signed-off-by: Shahed Shaikh --- drivers/net/qede/qede_fdir.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/qede/qede_fdir.c b/drivers/net/qede/qede_fdir.c index 27e1b93..83580d0 100644 --- a/drivers/net/qede/qede_fdir.c +++ b/drivers/net/qede/qede_fdir.c @@ -463,5 +463,8 @@ int qede_ntuple_filter_conf(struct rte_eth_dev *eth_dev, udpv4_flow->src_port = ntuple->src_port; udpv4_flow->dst_port = ntuple->dst_port; } + + fdir_entry.action.rx_queue = ntuple->queue; + return qede_config_cmn_fdir_filter(eth_dev, &fdir_entry, add); } -- 1.7.10.3