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 E7BABA0C45; Fri, 24 Sep 2021 10:23:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 685BC4122D; Fri, 24 Sep 2021 10:23:48 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id F278B40142; Fri, 24 Sep 2021 10:23:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="223671073" X-IronPort-AV: E=Sophos;i="5.85,319,1624345200"; d="scan'208";a="223671073" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2021 01:23:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,319,1624345200"; d="scan'208";a="475916101" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga007.fm.intel.com with ESMTP; 24 Sep 2021 01:23:46 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 24 Sep 2021 01:23:45 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 24 Sep 2021 01:23:45 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 24 Sep 2021 01:23:45 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 24 Sep 2021 01:23:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JWK2WOc/M77YHSh6UqvMgJ4/ZuvQQxHcdYs5ZWzm109OtnUDhYGf1Kmg0zugDktch8dpI4/StCi6zocAriKtkBjj1g5tI0LGblgE7B1voQRk2ATpDWjaVI6bozD5eJCa5+74JK+zZu1XBUe7IUOT2HSsGt/WVPdON8Pikmt+x/X1RmsvYN963cYWgvU6vMkHHAMiluqrCdklbWprffca9iDG+TeFd04IqAltanPb9u/Opu7CrHZMykjQeRIXS7pWUTQl8S6RysuiL2mlI8HpWtnpCALm5pcHFUqlOIIsNqShSkGcPEPhYkk3ms6dyr7aCPOej9cTfCtLNrm4VHtc2A== 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; bh=wiSBuyB/mr/AXszbxPGKtQiYZc96j5qxTsZ+1TnvS84=; b=Rx/GRuVua7Vvx3qblQs5ulDhFEE+Y3p7VGKV2gSQKl6K4LvLJye7hADJiNetIgU0CYXtmYkvzChxtjFmOIpq93Tig0yEA0RDe6UoCkkeBoTVuPro/Tj8+JdQXrsQ4FprK2Ovr5XEY2qkx/L0x6idxapnZSdKFWI2tD7DwYphHZX/Gwcgx8pYgptj7S3UiOA0H23TW8slKlWPW7vcxndYMPZNi+6jcEQOvSQlG0CR2a+H2wd3DxU9qe3O41fpnVRYv9xlrWIYqE8gbngCjc7Ng4hygZ4g2kZFXqb2hTGQnjFhRQjpvMNo573nyzN+eqGfqTQ6hOjDvEANUJEPUaMGAA== 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=wiSBuyB/mr/AXszbxPGKtQiYZc96j5qxTsZ+1TnvS84=; b=fcTQHDt6vnRvdzs+SExTQnTJtSTvJQETIW+6k0QMGJGQS09VnTJEUpqcQGi1D2SYIb0cKCOMPsVsHFv93ehIjnOnrH9MeYBiuw2rCSpCLMNzSsrpWR3uSnsE+n1ylQIb6oe9FsGzgoP0vwf5ieZwZIUDEPAoMNZl/V6X+ZtoZd4= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3633.namprd11.prod.outlook.com (2603:10b6:408:8a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Fri, 24 Sep 2021 08:23:43 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::a437:5cee:7df:1fa7]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::a437:5cee:7df:1fa7%3]) with mapi id 15.20.4544.014; Fri, 24 Sep 2021 08:23:42 +0000 From: "Wang, Haiyue" To: "Yu, DapengX" , "Yang, Qiming" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ice: retry getting VF VSI map after it fails Thread-Index: AQHXsRtleSTHCcWZ9UCl29s9+lq96quy2K1w Date: Fri, 24 Sep 2021 08:23:42 +0000 Message-ID: References: <20210914030858.202578-1-dapengx.yu@intel.com> <20210924080820.1110722-1-dapengx.yu@intel.com> In-Reply-To: <20210924080820.1110722-1-dapengx.yu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d301177d-853e-4537-e283-08d97f349ec4 x-ms-traffictypediagnostic: BN8PR11MB3633: 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:1091; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jF5H2NGrbUvoG08nUN2OoeEx6vYCu0nS/hYGWxswCzbzIJs8I9/TdIx88EhDMDNqbgRpy/q9iGIiyrfP3xQnTU498m0hUP7X4JlzGM8HKvfaZ90rZ0mPfq729w2Gn3/XCqMIl5kk3iAMxI7DtMSl9Xv6f+MVKccyvP9V2TBPz2Pa1wHxVbACHZ/6o+grmDt5SAziW/h1CSPi1t6m4j4GmAUAblSktOpNJbqDXARz7Pt678mhXB2qyR7PL7VAgi/7XIIj4ladfcaS5hWhjO/6+blpkAv/7cy+SM7slIDhxHLZyM2MdLJEwg81+gGOmFT0yJmgZbOzxxBp1CXH7Eo5mno4tIDc77qHSQ+pj2W12mPZws6cc643FIimKzPrwBDx1cIuq+NLPkybyLMpvXw4auaashcbHFy/n3DWCp4spm+F2bYMdSNTXix290/F83V+pusR3Zv2bvhhvDmXCGPaXYM3a2SD/n+3tURbTnyd3frjF0fR0yG8lv1jK9huyviX6k5/0oRZ1Z8+JakGgr3OgXoS+iCBDh9r+QJ7n9cf+YcL45zCaNqyAFFNaJfIlD/5n3Jdu0Csvl2GR0s5UA+U7i4q0kG2iOpI087NtgRQIlJTJBsviJt0Fd3a2lBJPl9DFZkww6nO2oDBZKZJenXDyskQ6nSXG45krj0Hxjd4bW4NTKIWJbEJao98lofzrXm2whqdxmw61ienJ9z61Ft6rg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7696005)(5660300002)(38070700005)(122000001)(9686003)(38100700002)(33656002)(4744005)(8676002)(52536014)(64756008)(66476007)(53546011)(316002)(76116006)(54906003)(6506007)(66556008)(66446008)(110136005)(508600001)(71200400001)(26005)(186003)(8936002)(66946007)(6636002)(4326008)(55016002)(2906002)(450100002)(83380400001)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4yo+I/ApzaV1t15SdfwJOJJvz8L9JuLvvpvH7J94P1GJv4A/pE/4ZKQHrUDW?= =?us-ascii?Q?SE49xLjC4AKubGEKjAH208YRX/1By91wxFTCNO0hft6E7p/y+1b7iq147vKa?= =?us-ascii?Q?zIsjECofIVbo3smGAPLzEZh0/pxRiqe3O2fxJfpLVY98YRFl4iPuW5pnMasx?= =?us-ascii?Q?/NZCR9iIhRIeom74bViHfFLn5BuzjW4Kh+GcnkMPxkuRA/KzctO8HIRXngQN?= =?us-ascii?Q?nlqEuVY7SNSUZ9aeGtuVyrcrwcZkr0/XDbe5TxCgxobRkRGeVz25/knDHGgp?= =?us-ascii?Q?HBqGAzBG41ZqcBjNQ5nIS4RChyLkRpKLGxmqtEnHBT92Pus1iFU5vca0k5Jp?= =?us-ascii?Q?XpE0fUYlnqgEGJFrInXg8NZebxJwc3ctM1ux/LlzdYH+xOaI7e792Vjdgwwr?= =?us-ascii?Q?j/JBayP+HY3ucASJthnU+GLvyg4Ep3aUKozz+HCffScPjY9tUeIpHyhb1c7a?= =?us-ascii?Q?zqJQOCvLUPGe5byULmtEGKar9nNaYVhjxA3VdNQp22F5+3CfhFAS1Fncqk53?= =?us-ascii?Q?gxnoysUQg9/ORw8Jj21iYLGkrcrjAoeIyev6pfBdwGL7c46t9SecoIDnsGJ+?= =?us-ascii?Q?w+fcZDqOnMUqMWMYrI2bbrUA3RI7f28O2uQqbdPvnUaKvtkA2H7jKmkbT7GO?= =?us-ascii?Q?VYsxjyTjzxFd24HidjgbTPUAOTV+7iHW9GN4R6/Lw+sO287JBDj3zrieguTE?= =?us-ascii?Q?xNKjmD7GWdsmYpsL63LiIJBSXdFZ0Z3yYLyxkIy2qQvkPBbKWqzWvq6mhI5P?= =?us-ascii?Q?JMn9usSo1EWSjd7BgIk3qJ0tjMBW+/7fauc+cJ7iv5U/IlC4cfDtOZi3/v31?= =?us-ascii?Q?CKFptxfYryJKvAekAozU8HmLW4k2Y6gU2ftUNdKfy71Y+7J3gCa3QbVlBgky?= =?us-ascii?Q?5tL4OXxFZ/ZQWD1ONKAA0Y9pXaRLEY8unrJIZVyvkrLunT6F6mdtoSXWRjTo?= =?us-ascii?Q?sY5lYcl2RZzrqPFe3O7qI4e+Cyvf/btCjIXBzjzVghSfqgV3rmaYau1yn7Wh?= =?us-ascii?Q?p2pGAalVSgYoTeosLsJJqjpbY5S5tXBlTLqj1O2d9eS1qNwQ3fw48OEPtrXO?= =?us-ascii?Q?k3UusxZlzsHLKvv7ovNziw0/um/RPu0c8RFhPARV4XtcaauoYimwIgWkds8r?= =?us-ascii?Q?7nlWgoJSdGV7F/lkPHwcGCaG9rULI3V4jTeSc6tKdJk4ByCBMvWYneWzElk1?= =?us-ascii?Q?jdVpj9DpyALq0bYI8LlAvNlHP3q8sEsmLdmSp62QNvihLB60ZUw0NoEwqGh8?= =?us-ascii?Q?Y9O+TKO3Sv2mwrClzL5b1ZJZrB0ENL2WYx6l3jKL43yIojkUXSsYNBp/r1ND?= =?us-ascii?Q?3Msuj+JY19d/iEdDG/Re5EXh?= 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d301177d-853e-4537-e283-08d97f349ec4 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2021 08:23:42.5697 (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: BfmkIIqUilOXYdk/GztMaiU4Z3xmL1leyb5AFCxQ39TUpYB7pNOI2BlG1shNmy6mM7rc9pDXNExaKwwLHbX8cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3633 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] net/ice: retry getting VF VSI map after it fails 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" > -----Original Message----- > From: Yu, DapengX > Sent: Friday, September 24, 2021 16:08 > To: Yang, Qiming ; Zhang, Qi Z > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX ; > stable@dpdk.org > Subject: [PATCH v2] net/ice: retry getting VF VSI map after it fails >=20 > From: Dapeng Yu >=20 > The request of getting VF VSI map request may fail when DCF is busy, > this patch adds retry mechanism to make it able to succeed. >=20 > Fixes: b09d34ac8584 ("net/ice: fix flow redirector") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu > --- > V2: > * Remove goto > --- > drivers/net/ice/ice_dcf.c | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-) >=20 Acked-by: Haiyue Wang > -- > 2.27.0