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 578C3423E6; Sun, 15 Jan 2023 21:12:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 453C942D30; Sun, 15 Jan 2023 21:11:48 +0100 (CET) Received: from CO1PR02CU002-vft-obe.outbound.protection.outlook.com (mail-westus2azon11010007.outbound.protection.outlook.com [52.101.46.7]) by mails.dpdk.org (Postfix) with ESMTP id 5D70140E03 for ; Fri, 13 Jan 2023 14:19:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oKRYmnxYuT74swfDcK8j+8LwXErrfaf+AEFI2Pi2Xvk7tT+nu7WLJYgjO5dK5jEzDrpzT1193gehopm6agrA+r7SuvZZtBlxe8+PTATUpucikkvuqvrQTbpE0DAYfz9DQYk1ONqNLyaIU7sRWVubuHTTeqpx8aDOWXeXP+lVRfURwbpt1hpipacHy7EA3IosAeLzHNQEVkORZgV2HLKfQSA5yr7oti9MeGqFXG8laBcBt3eGcQr0h2nuxLQ5quNuMJ06ZkFkoKxsB+IlmZM4ye30wiajgtscfL5gS7AgRREjiNEao4V6hSN2bguuRthskApCSJ/FBxUsba+qJqv+7Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Cv/8GuNHBQiQWxw+Gfbm+btFQDsxjiFJjioDksGiww4=; b=Am3QyaDlQSeS1xNs1hJgl9Xj1WeAhh5YmNlF/8UnL848C4lnJkk1bKKradp3VtCfIeSTnRAENx1RLqEWe2Bys4w58G9lSDbet+A5HyrLrR9ZYGgmsuB1jk6cvs8PRyPLEcuP3U3ei4W7a35UYlrsPVhc1cIN5yvtyo09qO/1dO0mdkSWQGnDo7cf2h06QpTkE3gkNm07ep2A78ZcfyHqyGD9uhwdwx0XgRwjsSbM/S5DKbUgKFYGLMEHeEjKVZxJYnSujxKP/xfBGuA6/ryQGgISYMggftjrilaq31Up1pMc+6vjvr6z0c25B2OTuq07x9piluh6HKIzi3xWw6sslA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cv/8GuNHBQiQWxw+Gfbm+btFQDsxjiFJjioDksGiww4=; b=ximViXYVGHjlSyEqPLvggubMEDZrNZ3zoLiTPcfqjK6gyOAYoXgr/3sbhR4HbzubFuxozE++Y61padDB7ClJ/XGiig7SRxCQjIRFIqw3U82AhIL2TZ4lgHIaUCAo1wyNZlBbJN8wnTRvTSdMEy6Ms4W802zKp55KVQxLcN7ojic= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; Received: from DM6PR05MB5577.namprd05.prod.outlook.com (2603:10b6:5:c::16) by CH2PR05MB7015.namprd05.prod.outlook.com (2603:10b6:610:3b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Fri, 13 Jan 2023 13:19:36 +0000 Received: from DM6PR05MB5577.namprd05.prod.outlook.com ([fe80::4cbc:cca6:3a16:5023]) by DM6PR05MB5577.namprd05.prod.outlook.com ([fe80::4cbc:cca6:3a16:5023%4]) with mapi id 15.20.5986.018; Fri, 13 Jan 2023 13:19:36 +0000 From: Vipin P R To: jingjing.wu@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, Vipin P R Subject: [PATCH] *** Intel iavf: Return in the case of ADD/DEL ETH address *** Date: Fri, 13 Jan 2023 13:19:22 +0000 Message-Id: <1673615963-21216-1-git-send-email-vipinp@vmware.com> X-Mailer: git-send-email 2.7.4 Content-Type: text/plain X-ClientProxiedBy: SJ0PR03CA0046.namprd03.prod.outlook.com (2603:10b6:a03:33e::21) To DM6PR05MB5577.namprd05.prod.outlook.com (2603:10b6:5:c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR05MB5577:EE_|CH2PR05MB7015:EE_ X-MS-Office365-Filtering-Correlation-Id: 42e75bb2-9521-41c7-f45f-08daf568d105 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WFtCEZA7jnlD6Zmj68K113j69MWosHKn0vGOb+qsSDW4yZW5MUQ/QvrUa93xqbMdMuy6NlIR7hY8E/85rgqHgfrzD74WM5ykvZdOrDjmMuj0YLZOXr3bov7zvvXEbYcLDLdJ40cNCPRp6eAu1SQT2Oudp9T/A4Wu+8Q+1o4I69cZDXI8cK/e9w2/4ij7rFFXlKsy8UTILaqdRfIfhrn22+Ye4jCy2aWR//UEJMEMaICLw5MCI06b3IQcErzdvCUJAGOl7iNTX05QgUVxFlQDJlyGc3HMK2/7LoGaC7rC7/z0EwReHK5wkGcSWlXwiCJLgB9CYIgYUoOuHOK2dE2IZwKcztvBaUWUaQWmUgsy6/hTRKg5RQ81Qh6q9ddh5ba74uRR58TRYfKZiIGNwdbH/QptXQghSLsscLK+57+2W8j0JGThm059+CtRRGSDtT9iUzrciLXcT2pW1yPXISQYYHu5UNYoSNxt8S0Njm+1Vs2jGXs4mmT9tKpN6DD1vBpmYO3ahRCBEkTmVdUtFj2wC4yqEcCxE4UnWeAtjVtoQOBy0dYAbITopM9h1KOnXHnMClC57OnyAGlbOR3wDRnMag2MvTAlfWIKreZQL6dCsi9/h6Pr5imHlcC0Fw5DnfUo2eJm7M2JrwpMW0fjaG2s2YuiXqjh/bghvSkn6vdK0nRT55gYLO+6GbFBGtSF5oypC0DaYsHbqxytJmuvlnqEnoMnQ6htSTgQNl+f2PmgMxLyY8a0wUP9QlHgMNYtw2pI X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR05MB5577.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(366004)(376002)(136003)(346002)(396003)(451199015)(86362001)(4744005)(316002)(26005)(52116002)(6512007)(186003)(478600001)(6486002)(5660300002)(2616005)(41300700001)(66476007)(4326008)(66556008)(66946007)(36756003)(8936002)(8676002)(83380400001)(6666004)(107886003)(38350700002)(6506007)(38100700002)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Y6UxOmgBJdIUNfSvNQy/Un6NUo2Pt1VmheGX6+xHRbVgAuIOJpvfOCs6pwEY?= =?us-ascii?Q?f3CRbh2EsDAq1HCWptNdggF15N0ctBLB2+uMl4Gu/xCjHswfYulzaeTKEK0r?= =?us-ascii?Q?PHbI0gj8JC3BIE5gnCBhAz+OrLcHc64Vx+6tkN2GUByCVqXril8KNznk6L8F?= =?us-ascii?Q?epPddsYCx7xNyurhH9X4pEVqp/RQvu/Dce18IAysJxFnsZk4KL6tsKLe4uPq?= =?us-ascii?Q?2Wb8/4ElDRFRRghQKHhM5hF7talvzhugR8/qP976wP0pPnj493WSiUNhrf0W?= =?us-ascii?Q?VBgBqgkkdaP0u1jOKLSyKSoZmYYQquf1VB57chDzM32XnLSJ0olvDGOcXIgV?= =?us-ascii?Q?BPndQNk9Ze0P8azg7QFClOpfBmHamqfDFQE+INwluvanOYsx4i6vJ58DoueW?= =?us-ascii?Q?uJfLNcSI/5aqx9Fys2JY0NDdJFZsE7HHbSjZNAz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h0ODdWx8ejoN1cdWyXd46o3WlYexozhGry4y54yj0i5O4yG1iUH?= =?us-ascii?Q?/ti0iFo9Jf34Up0kjsrDRd4JLppcRzarK5w8MD+BqoAWNWZz9+WPRYMGLpRt?= =?us-ascii?Q?CDqpFxOkeF0ATLPN/URT8yYrSRTEqdETMVidHIgVt+O+AmmUwckkKFIs8WA3?= =?us-ascii?Q?X9FNmrFHYJJDRtS0xAZ6+AYHJP4FCDyjhpQ9cv7GX/JM/oe9gjzOoN5lZqEp?= =?us-ascii?Q?vK364jver/sBfAeT5i86CxDTXBWaFwGiuV+NqCkI?= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42e75bb2-9521-41c7-f45f-08daf568d105 X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB5577.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 13:19:36.0453 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: J2eoqVXY8/ZyOzNfQWZLyRAeMqWhaf7/nL4aoOWD7/njl1LMibmf+P44ebFsxO26zhqklZbCZLOLFN6OTiUZXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR05MB7015 X-Mailman-Approved-At: Sun, 15 Jan 2023 21:11:39 +0100 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 *** Intel iavf: Return in the case of ADD/DEL ETH address In case of i40vf, VIRTCHNL_OP_DEL_ETH_ADDR and VIRTCHNL_OP_ADD_ETH_ADDR are unsupported. i40evf_execute_vf_cmd is invoked with these operations as part of i40evf_set_mc_addr_list() The cases are not handled in i40evf_execute_vf_cmd() thus hitting the default case. There is a retry logic of upto 200 times (2000 in iavf) with a delay of 10ms (1ms in iavf). This results in a needless delay of 2s in the init phase for each VNIC. The patch aims to rectify that delay. In fe2a571c70cc397f2ad4e280f8d084148fea5d62, i40e_ethdev_vf.c was deleted. Hence adding this in iavf_vchnl.c. *** Vipin P R (1): Intel iavf: Return in the case of ADD/DEL ETH address drivers/net/iavf/iavf_vchnl.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4