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 AD6BEA0C4D; Fri, 13 Aug 2021 12:45:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64D7B40DF4; Fri, 13 Aug 2021 12:45:33 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 7DD7340140 for ; Fri, 13 Aug 2021 12:45:31 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10074"; a="195126213" X-IronPort-AV: E=Sophos;i="5.84,318,1620716400"; d="scan'208";a="195126213" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2021 03:45:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,318,1620716400"; d="scan'208";a="447019922" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga007.fm.intel.com with ESMTP; 13 Aug 2021 03:45:30 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 13 Aug 2021 03:45:30 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 13 Aug 2021 03:45:29 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Fri, 13 Aug 2021 03:45:29 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.172) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 13 Aug 2021 03:45:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y/NFpQFJCNVKJFw1GMBw2ufIaiImnCZvF5WcsrzoUwG+MtIdd797iUf5moAuPeE9+UxgXCLLQNf+bxXXIuXwPI/1vUtUeKQQIUWsMUQzv1eXn29C5B/INoPQYz6yZSYLLab/aNLCfieBHtHEOeGdlAKqyrvuHyAsmpjAx8jxWuwUZpTCr71c+ROx3Oib7/NUZvCfAcpX355uYJOtZx+ZNNwjVbb/Tre+SadLzsrIvE7L+joAROJGle/uspWITuECxJYh9KDz2J64tn/7sCoRmbqDhjEgpUWf0hJU4EUf42AUSi0OyjGGzAtw1KGMbYqWkJTSJ2gg3mp6lVWG1FXS2w== 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=D5e3ige8m1gAbNOYjwjsmw7huH0432NJfP1w6i5n5Z0=; b=Vz03ul+pbEnWOQpUOqHjdR1ZZhGfbGbV8ci2laL4vBlT2qmWVApNRjCDhSq1PCR6XiOnJc6sys0/chpdLxb5zSdESdBB/jGat4wOgqR+OkVdThkbZu/eFNdLMbuqE7Iz9uovuJ9fZk+W87xj4g1yXQk/RHHTg7Wx1O1SoyxDVhrBj1+oB8FSHl7SEYPbjvdoFzVsqT74Hh/lAyPzawjoMz8L8cX2g3ZWT7j7IfGiCNRsi8cmS2jvLjRSnUhoqTWxY+HcPFfs92E028fh34H9TACRHErwzs5cwf7GL7QJa4lFV7ZXNM2QjEfi2+YUmpTulSuGYcURZCoESK+MLCQerQ== 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=D5e3ige8m1gAbNOYjwjsmw7huH0432NJfP1w6i5n5Z0=; b=sjqQMI6zTsZHU3VAYurEmP1HFsJYjnMwWnhtKuJi5Mi8Wmn/UjwGlUIXY5RD2AraC+4r5AkkmPYThvPtvuTVrGshdC/t4GLXaTF8RBar43iTHK/73Lvd9DtnUN5NwyrpNKZTARwxiigqc5BlketoV607D+wqBib0nvdmKV5E/7U= Authentication-Results: iol.unh.edu; dkim=none (message not signed) header.d=none;iol.unh.edu; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5061.namprd11.prod.outlook.com (2603:10b6:510:3c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13; Fri, 13 Aug 2021 10:45:20 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::2979:70ca:38a:dbaf]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::2979:70ca:38a:dbaf%7]) with mapi id 15.20.4415.019; Fri, 13 Aug 2021 10:45:20 +0000 To: Wenjun Wu , , , , References: <20210802072517.942854-1-wenjun1.wu@intel.com> From: Ferruh Yigit CC: Thomas Monjalon , David Marchand , Aaron Conole , dpdklab X-User: ferruhy Message-ID: Date: Fri, 13 Aug 2021 11:45:15 +0100 In-Reply-To: <20210802072517.942854-1-wenjun1.wu@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB9PR06CA0027.eurprd06.prod.outlook.com (2603:10a6:10:1db::32) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.206] (37.228.236.146) by DB9PR06CA0027.eurprd06.prod.outlook.com (2603:10a6:10:1db::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13 via Frontend Transport; Fri, 13 Aug 2021 10:45:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 34bfd7ed-5f04-4487-4f6c-08d95e47725c X-MS-TrafficTypeDiagnostic: PH0PR11MB5061: 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:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kFE7ZTDvKT5d6SR/dy2xYLSrAPri6TB3weHpf0zqqfwoHMfJhgsUm0uUyXavFTBQemASHCP3YgRsa+v+/FUNcCdnMpQTOB4pP99KVsXinv9dinl114H3MDH4TVzb3hCgyylZRD2l0+nab89aaRoZePu2dE7vMUw8y+RIhnzdNnDf/IC1VdyzFbpdr9+7Mrx3X/VuuurwnFNNMCHE0spvtbOtBv4aI0c/vT/8sOuz0QwLHBU82TeGcIoY78fkmlMPy8RSEkVjxkSwMjPP2P89zYjd8I/6woY1mIbOR1kgR1WqvShPN1wOiIednGS0lDq038w35EKP9LVBsEcXlDI3+CUsCLfNK8epjCliKiy7lkkZTkbb2ZECCi7smxEMYD27r9lV10MuWYJNYDcZRfz43zTcHVPaUN8AmgtTXZt07tJ9BJuDiWMbzJEIUv7r8z+uuzNxdNoby8AXtwU2pDIkjPDwAas0rxr2vi9OMn3kMhnEhOnJkz9LWz/3D9VKHLgDpIDMqNFi+OaK/VV5hhjy+GzjT1YbvcIalz/fOcjP6NBccMt5kg968rkLeTRk5bnDGc/KAmJhOTZm6iVGfNLct3Au3WN4IN5UKHYehobejMald4G3Oq+KO1hJAlhST65egIIevf7ARPb3gbG4Rd6KStz2k9hCdbdqJ6JY1YyCheHfa2PKdXZ+FGVVQxdqTlHM4iGdZ5eAQ8RAAT0ceceSZw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(376002)(39860400002)(366004)(396003)(83380400001)(8676002)(38100700002)(4326008)(36756003)(53546011)(6666004)(2906002)(66946007)(478600001)(66476007)(66556008)(2616005)(8936002)(16576012)(86362001)(31696002)(26005)(6486002)(186003)(956004)(316002)(31686004)(5660300002)(44832011)(54906003)(6636002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VGhsR20xVHF6dDFic0NxOWtRS1MyU0haU21IdE5qZzhyaHUxMU1mTXQzbEto?= =?utf-8?B?Mlc3dEk1OUlETnoyMys4SkFVVEJFWTVJU3ZBaHlzaG1nUG1rOE9PQTlnaS9S?= =?utf-8?B?SXk4YnJMbUFFK2lzYlYrZFhJOU5QVW55bWo0bjVpR3lVSHN4aWlCZldsbm5w?= =?utf-8?B?ZitBdmtaaTEzOTYrTStCOTZreXJDSnFQbmhzaWdHTjRLS3J4dk5Sd0NVK3JS?= =?utf-8?B?dUVUeklHbThMVEFndG1MZ1N5dmFrekdkYzFrTVJHcXBqNzNLS3Zlak9MbDlu?= =?utf-8?B?Z2Z5ZEJSUTRuY0NlOE16U1FXVG42TjVUbCtnRmR1NDY4RjV1ekpvL0RVL3o3?= =?utf-8?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VdlRQQmF0?= =?utf-8?B?UUtnbEJ4ejk5U1BqSFE3WDhpKzgxTitweGlkZUZMQ3ZVVmd1V3dwZDBVSFJK?= =?utf-8?B?a0Y0T25kckNoTjRraDF3dDRHc3ptYVR0WWEvRFpaaml1c1o2MXVYTms2R2RH?= =?utf-8?B?Y3hDYWJBdFVnY0lzckJFU2wydnY0M2NvajdZQVVDSzJZSkQ2UjVoQ1NybEd4?= =?utf-8?B?RmdJeXNjN203c0FoV2dIQXhsNXgxYUdzdHVnNHMrZHkyOXdHRk5YN0RPRmhF?= =?utf-8?B?QWVaTWFld0toMHJkSmtkT2kwSU9RYXBlTkYvcmV1OXptM3dwR3dVVVJBaEhV?= =?utf-8?B?WEkxUCsxWXNtSmxyZWRlZmtCTnIvMGdYb2xKMUxSZVE1cEZkWVdraGMzRFRp?= =?utf-8?B?OWFKYy83RmcvenlHY0k5WnFVZUZCbGtHV3hDRFk4a1JVVzZoUWRUVVM1TzRw?= =?utf-8?B?aDFLN1JrcW5xQ1hid2FwbkZsSDU2cUFKSFZ1S2tyU2Z6MTZMblBVdzI0WlFa?= =?utf-8?Q?S6+LpmH6UpOXAs2ehWyuQlci4xd21LZ29braPDc?= X-MS-Exchange-CrossTenant-Network-Message-Id: 34bfd7ed-5f04-4487-4f6c-08d95e47725c X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2021 10:45:20.6744 (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: LjlBAmehFQzMHyzCug+bYlSTZSzEaDbHEwPUdVxZktw9TY6cTilKxEp23f+jS5w+CsO0fh0VyC+D79YMuV+02w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5061 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] net/ice: fix the reversed priority of DCF switch rule X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 8/2/2021 8:25 AM, Wenjun Wu wrote: > This patch fixes the reversed priority of DCF switch rule. Priority 0 and 1 > are supported, and priority 0 should be the highest priority. > > Fixes: 2321e34c23b3 ("net/ice: support flow priority for DCF switch filter") > I guess 'Cc: stable@dpdk.org' tag is needed, will add in next-net. Please check if it is needed next time, './devtools/check-git-log.sh' should help. @Aaron, @Thomas, Can we add 'check-git-log.sh' checks to the CI? Thanks, ferruh > Signed-off-by: Wenjun Wu > --- > drivers/net/ice/ice_switch_filter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c > index eeed386c63..f222cb9cb0 100644 > --- a/drivers/net/ice/ice_switch_filter.c > +++ b/drivers/net/ice/ice_switch_filter.c > @@ -1572,7 +1572,7 @@ ice_switch_parse_dcf_action(struct ice_dcf_adapter *ad, > rule_info->sw_act.src = rule_info->sw_act.vsi_handle; > rule_info->sw_act.flag = ICE_FLTR_RX; > rule_info->rx = 1; > - rule_info->priority = priority + 5; > + rule_info->priority = 6 - priority; > > return 0; > } >