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 E699AA04E4; Wed, 12 Aug 2020 04:43:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29C201C0B9; Wed, 12 Aug 2020 04:43:35 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2938B4C99; Wed, 12 Aug 2020 04:43:32 +0200 (CEST) IronPort-SDR: X9/AogXu0c1EvOyRhPEwR37Uc+TsRbR/h+APSOKiPDA0583epFk3qf8eL5uOY3nN4/dgidPqS7 Gbt1fJR8n7Og== X-IronPort-AV: E=McAfee;i="6000,8403,9710"; a="151541118" X-IronPort-AV: E=Sophos;i="5.76,302,1592895600"; d="scan'208";a="151541118" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 19:43:31 -0700 IronPort-SDR: qkYPvIfpqiIQ/zjtW0GJ2yN3oGNgBDR79FvaZBdRzdvCyH69GAzeNiw2hkSc/I4yTwt/ANEvjW 6Aq1LELQwyWA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,302,1592895600"; d="scan'208";a="317940209" Received: from unknown (HELO fmsmsx604.amr.corp.intel.com) ([10.18.84.214]) by fmsmga004.fm.intel.com with ESMTP; 11 Aug 2020 19:43:31 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 11 Aug 2020 19:43:31 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 11 Aug 2020 19:43:31 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Aug 2020 19:43:31 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Aug 2020 19:43:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FOPM8/HMGZs3mCB0dj4n1AM+dP3e1KI4iKP+QMIoAWUnp7lwWTcGyrD4l8W9YJBCB/MWGyt0PHcIZEfDj5L+kXcwkcpHsdKgJ/mr/4b5NxGYXgZr3ebQ5C+NT89MPdNiHIaf4+0yFqgKgXo4oGyYS1PytDdPUOQSVhCDn76B3/cA1206QQBKnrGlNIRjwVmiHd8IYIgHoc2B/YiWe+MCwgJIjzcuHDEVlLpfv2YOoxTIHcwk0nMwoZXFOvkAhxp4SotB7PZrMeTYRUerFHJdHMK51uuynHbL6jntgj6veQHhoeSmMIQe/KNVnhiTpJxljxlXlteHE2CdtmGodbooRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xLY6QMoJJmbAnD2WdERrXBcwyYrZ8LQhyCpCKKZenWw=; b=fQbSTyxek/3GClAIUsWvjSdAaq5+0WR/Ucg5OmEQGKAtCHWKOkQ22r/j3Q7eRHRvaCgEtV0wCTBm7jncNQNRbrV8ijLkSIXFsIgDnJjczd/w0DFklVKe2IH74RGmf+cw5cS+yEOQ0nn+sX+FS66uei80tjow+mY8m699ovD7Z+fBDFuAmJDrAnv9Ub5cst6IAoVVRHYOT95AlK80Fy27CmAEUypGwuvMtmW3A9DjrSTp123V5EeABZuPEmtkmyE43CII8HZ9mLpVAnGlsaSSsNbsvO3bIrgUzwoggKjBr/Wbci4PGDqO8WxOTE1OLh2Cp97JIJI4mPQ1s4ythlBj1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xLY6QMoJJmbAnD2WdERrXBcwyYrZ8LQhyCpCKKZenWw=; b=b20guueuCeAJwQq1l66FIJf8YaXPDe4wOzhi6nyWWQD6fITQ1Rrsgh1zRkoeOHaEg0kuxua08NCKS8Nh66ymoVw858LxM/JS0Zx6ENX5iX29Y0RTMH6Wgkqdfyqwl8fy66zlMIFpGlmsi7/PBR+2HeYjrCElOrbKdTirNf1qp60= Received: from DM6PR11MB3900.namprd11.prod.outlook.com (2603:10b6:5:19a::26) by DM6PR11MB4547.namprd11.prod.outlook.com (2603:10b6:5:2a1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.15; Wed, 12 Aug 2020 02:43:28 +0000 Received: from DM6PR11MB3900.namprd11.prod.outlook.com ([fe80::7db5:fe03:408e:9220]) by DM6PR11MB3900.namprd11.prod.outlook.com ([fe80::7db5:fe03:408e:9220%7]) with mapi id 15.20.3283.015; Wed, 12 Aug 2020 02:43:28 +0000 From: "Lu, Nannan" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Zhang, Qi Z" Thread-Topic: [PATCH v2] net/ice: fix VF index check for DCF Thread-Index: AQHWcEc/uvsHtu9ItUOGekJh5unG76kzw/0Q Date: Wed, 12 Aug 2020 02:43:28 +0000 Message-ID: References: <20200810024123.23387-1-wei.zhao1@intel.com> <20200812005646.58732-1-wei.zhao1@intel.com> In-Reply-To: <20200812005646.58732-1-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d0eeff0f-0ebe-46bf-d172-08d83e697e75 x-ms-traffictypediagnostic: DM6PR11MB4547: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1850; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mqyAqJY7QvmG1/Dvl+fsTXFJrfkqpJCySyJ/V1/AJFrZzWQwAPgKlegyZFCHL94HSzqfTSWFnzMqjgX+MEwbFfXUvSlJFKKaZWXdSnP7g3Ga6p51ryiw1uo8DL33h58i2ARVcxYx395pNpW5o6N107cXj+h/nw9bUNy+6LYs63vlQ1aruItPWcp/sc30PhO+MPp4yL1/ubOUHIfHcWeObAvv2B0WkhWrklMexVpIfevo2EkMgMttgpikKK6cj1l0ltNOG6gN38E6tq9FaCyS21tEpP5fi6V+PpEgRE21119v3L6RCI0q0hjwo92ciPgitLgcjDk4C1EqfIg6bIFY4A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3900.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(136003)(346002)(39860400002)(376002)(366004)(110136005)(71200400001)(86362001)(66556008)(64756008)(66946007)(66476007)(316002)(54906003)(55016002)(66446008)(9686003)(107886003)(2906002)(76116006)(4326008)(450100002)(33656002)(7696005)(52536014)(478600001)(8676002)(26005)(8936002)(186003)(6506007)(53546011)(5660300002)(83380400001)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: gcb3N8AEpm9JnjXoT/IJsbG8r3s5wDtB4QJW+swxQFa6OKMbWLw5XtC8PF3b2AQbpovLFCrNqp1XmgNaRq84AGvCHLLlXW2cuk0ktT3QwHx1+a+dc02uxukkSaVWLf0ATY9cqJzif84bHdqeUP+TbFl2t6aO4fGIOYKFwf0wxqH/6kJOhEQLkbmrw88JNZGRaeckWWP8Jufw9tim4qxVKeNMbed6JVsXm5aVnRrEtNUtqa+WiSS8Q3Hfbl3GkycnRGT3Py+yCazZ+l7ZOcZa4/WJ3m0G7RHox1qSbohTzRe6xXZ1qOKlqr/4w9yehsYqO7Uf7gYZFxSc27R2m15q6ejNXSFiegpvCrdFUsoyFUIy9cDciuSP+jL/NNcF5EihW5IAXDhNO5sRgjHP0wZa/C+BIjoDb6xF1HYjq4Ozlk9PvyS2Gzew/Zia6o3r8gXQ7QOx+SFuO7qKT42pYf/CmQqAilS6l4IxzfPrVJj+/2BPCFM5OvA3R6UJDe9AcGEUKYSEL8EUgNRYCHcAawGzqIIKhRj3RVTr4NrpsrZkWBd5klTOw95QDMDmYbv3A7W26vEq30G1UtDD7CtNdnCtwtVOuehHmOiPd9dMhx2eFXh5t2msQzO8FarP94xwRPDg6W7827UGsZe2qq1GkFZNqw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3900.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0eeff0f-0ebe-46bf-d172-08d83e697e75 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2020 02:43:28.5914 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zTrb5B+aFjymfB+gk6pWet5Lf/2RjZGAoP2PSxJF22zJjheQZOw92//440dHmVVj1caE9Ug8uvYTou0bqK2wGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4547 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] net/ice: fix VF index check for DCF 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" > -----Original Message----- > From: Zhao1, Wei > Sent: Wednesday, August 12, 2020 8:57 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhang, Qi Z ; Lu, Nannan > ; Zhao1, Wei > Subject: [PATCH v2] net/ice: fix VF index check for DCF >=20 > The vf index in rte_flow command need to check in order that larger the a= ctual > number. Also change some error log for wrong action. >=20 > Fixes: 829c3106812d ("net/ice: enable switch flow on DCF") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Zhao >=20 > --- > v2: change error log > --- > drivers/net/ice/ice_switch_filter.c | 18 ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-) >=20 Tested-by: Nannan Lu > -- > 2.19.1