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 CE3AEA00C4; Thu, 29 Sep 2022 08:58:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2DB140FAE; Thu, 29 Sep 2022 08:58:09 +0200 (CEST) Received: from IND01-MAX-obe.outbound.protection.outlook.com (mail-maxind01on2057.outbound.protection.outlook.com [40.107.222.57]) by mails.dpdk.org (Postfix) with ESMTP id 6517F40E5A for ; Thu, 29 Sep 2022 08:04:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H3P20We/kQGIPVDVuKaAr6JddluGRMHoHoYQoleuSVSYAb9T86HTe7uzvnNdxyAUPIhy+7nnzVt6QQEyHpTC/HWf7cmvr+PlsqOjmrGKBn9kvTtQnzmSxAm/jyeLc49PhXI/oJVyZInuGs4fgLCLdwq/5TH43yFAe2W3BIYzjpw7nykJ3Ho13CD1H19DNJ/zm+ZhhntC45XRqNO8uvVIPmEFIDsiyM5jiTYjvtBMoaMyNbvgI+XcfmL6fXmkMQUqmONf4bH9iEWFQJXWqSVoZ4MZWjS+WLqsBzavNfbAQG+Yd0r4WatshpRCU5BXQb3oGojK/h5CZyaDjXtjRjlKtg== 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=eksqsjq29C96uaOWcJg68+F1a4NeznSOjxvjsiaLoh8=; b=EYpIGbJMsbbvT2hNdWpwgwk89cVbvIO0QAwK3AL99mH47bXlFiwKOc7yWqJxiqfqQcfL3GGqvjE/8z6x2lwvgJtCSXphDSvPDY8NHqpIVhbGLHLRpqN/K+RxdsERQj9BHdhST3HG+R+oAraoZew+HW/fZ7hb67O391XJSu1U371EHODMqinb+meR+vPOEqDsWtO7Et/DNv97UfIA3GXhiGvCOqzI6c5yCvo/8iletMZ1HzNmrzmqDb0vC6l6yuEocwV7Mr4eJYcIh8yEMVyKN/f3zcmTpMlArgNfTISXkUgcoJ1yKIuhWlzxAXvDVRG/FhUkrNqDMGoA9Ht1jXjafQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hsc.com; dmarc=pass action=none header.from=hsc.com; dkim=pass header.d=hsc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hsc.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eksqsjq29C96uaOWcJg68+F1a4NeznSOjxvjsiaLoh8=; b=CtK79N1EZzZ5BpwHvR57LvLCTEXKRgJf9u+5w5vQ6rtQaq/VN/BUMSjRYba0hqZ9qv6RU7OQD9usOZsH1UiHmSVbSz9Vcqngk1iZNzioZaPXAHPeUObyJaUsE6GmqrjFcbPYULwJW5Rb+1x5JqghWgu8pyPWrY+xbE3eNMvPJO+OqhHYJn1gaeJ5c6faQd1zbuvkiVui01jSLk9+RoOXb7FJWr71ywdvOPdCS+C7VIvvrWIUPYGrHbJL03JHZdAd5vyqpeJZV3O6SX2mlwnwjgdvBcEC2S3DPjlXkJ71yk4hnkyV7MWystBE6NEZA8Yu98bfHjhjD7083UqbOkMjDg== Received: from PN3PR01MB5770.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:7d::6) by MAZPR01MB7844.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:25::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.20; Thu, 29 Sep 2022 06:04:40 +0000 Received: from PN3PR01MB5770.INDPRD01.PROD.OUTLOOK.COM ([fe80::9872:3498:dd94:8485]) by PN3PR01MB5770.INDPRD01.PROD.OUTLOOK.COM ([fe80::9872:3498:dd94:8485%8]) with mapi id 15.20.5676.017; Thu, 29 Sep 2022 06:04:40 +0000 From: Chinmaya Agarwal To: "dev@dpdk.org" Subject: Error seen in DPDK's library function on bringing MLX5 interface UP Thread-Topic: Error seen in DPDK's library function on bringing MLX5 interface UP Thread-Index: AQHY08kNw8y2W35ECkGZmbHU1U+YXQ== Date: Thu, 29 Sep 2022 06:04:40 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hsc.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PN3PR01MB5770:EE_|MAZPR01MB7844:EE_ x-ms-office365-filtering-correlation-id: b466473e-075a-457a-e3e2-08daa1e07f10 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SfvRk5SEOF0u7cRC4fopcRL4I798ByinmaHnWeRvbbZp6FfxHHHU89HMCEEOpHivMoUHXvas0w5uVLhivCYGbil0BxBODH61fLnSpLFHb1l4cela+IZzokoJ7Hv4MCxHx4RUIs1LYd9vuMTfXpFm2v3pk1njLHXtBuYr/tNvXUKQgOuQobnJM3ShIhmZeBKdUg1EryLzh8wQ5eHPbM6IYB7sILsk7xh8Hn1spwnth7QRyYm4Od55L2HyGSNVK/SUYD6OdINl/R6Dhr/Ye5nb/2DuuoYwcbY1SDM8rVKaVgqQhusX4RqkB9PE9pI+30DwhURKyIxaaHMh9kyo710Pz+kI50oY/ATvgsHPeDn9/2BRE4uO+xzvaUNiMLydoE/3+r4MoiyJG2Tjq6DH3msAvg8c38soAhgyqTw0dvlJjKDzJPAUFQB3rxGx+hcUgufEgjsgZNqh1S0We/JXcGwrW64mcxe8DGKB5I9lJn4Uk1De87/ogrHKg7JGy0XQrlbBG+4eoXyV5z+7iFRzlc5f7g20i9VtG1WclPaFbfHDw21QsEIXrtUf9/xh/XVQXp+KE7ndmtp4JwRuaHbMhGEaVmEidOKbQEx9Ym1tP+T1apHJKxtW2IkBVATk9PP/c0eqEEX4DQURRz7z8LNArCTuVdNv3d8e/cc/CGViZ2xEiPAt5W29Ts/9Ci8+TNDKKkOIsgIofpeqTxUzuVSGvLmdf642AICHIvYfaMt5qSbfvLMUl3VewOFZxvlbeZ6qmRnjJ6PM0f7Zit0aO+A17zDqdQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PN3PR01MB5770.INDPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(376002)(366004)(136003)(346002)(39860400002)(451199015)(83380400001)(186003)(38070700005)(86362001)(66574015)(38100700002)(122000001)(52536014)(64756008)(66446008)(66476007)(66556008)(66946007)(76116006)(5660300002)(8936002)(41300700001)(2906002)(7696005)(478600001)(6506007)(26005)(9686003)(316002)(6916009)(19627235002)(8676002)(55016003)(71200400001)(33656002)(19627405001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?/SMHZdxe4eD4caCHQgtX9rVXspsiVGAg9mUUG58aDisJOT54qH71H/divC?= =?iso-8859-1?Q?XMQgSNobm0AWuk6wWV0Z1e9JeAbeh9Z1lFZWTYplTlnK11JVbPT5C8yGn/?= =?iso-8859-1?Q?iwtpqdEYrOglXdtLPnXo4cgyGrGRNmXJSVwFyQL8QextqKjQJPN6bu+Mdf?= =?iso-8859-1?Q?RYPGgrwjC1wVHBIc1vWg2pOCGpyweO0yZBiSj6SdTP4xnclnd58YvEspe6?= =?iso-8859-1?Q?iUNoKuL5dDG+XJJa9phmN6gscYpUG93iOAe//vYdYkoKNBDsvNYD2ISQeK?= =?iso-8859-1?Q?vygTrzPZSKi+YbrtwgU/rNEjNjfjO6UlO+DQbSDUHRkU61ocWZUKYNrbSH?= =?iso-8859-1?Q?Skn9r8+NmjviI+1aLw5AAzm4gvdhhfhQ4rhqdXT74ghmrh6PhmYnEwlXPd?= =?iso-8859-1?Q?2A4VvCKkvmJ0r6HKFjZslcFYNE0YAvMvHqn8GPRw5E/O3iGZ2yoNWER17j?= =?iso-8859-1?Q?ZgMDGeA0zMsl4G6EaOS5OHEVTkUJY1kwj1YYCXgK0rWOv2RQKOAKln9mMi?= =?iso-8859-1?Q?HUHI50o/dxXWIoL0MtX0dUNzdXztDPhsa70e5y+Q2PaXTWKjOR68uHpBfM?= =?iso-8859-1?Q?Y/YMH2646/3yfITixHjwe43yrk9qpF+bpztkcxKsxoGL1KLB2Mbwr9xlD1?= =?iso-8859-1?Q?NrUDAf3g05ilPdhQzqvKVvOT8AkmoaBLmlWhtYT9j7XgZP6IjXTYOH9WAn?= =?iso-8859-1?Q?0uC3sE+En55A3ZUZ/Eiy6jYksYJHi4zbokx0uAZo7ZoYfmrUKmWX+t8QT9?= =?iso-8859-1?Q?RVSH8ivmxt1zmuzA9G/sI60RNd1lHRpeDXg4F43d7/5FiZljVpU/UP04yl?= =?iso-8859-1?Q?+HruJvuwF5xpTv3qrN3/uQiEBVMKz1/jW9o9X7o5uVKgwQ/q4xmS/B+MeC?= =?iso-8859-1?Q?R98tTWk8bJ5kyJURDukOmtZzQ7f0puQC8BIo7YFPF5A4QMP57sZf6jb6Vv?= =?iso-8859-1?Q?Oey2h+tuLXMimwEknzdaN6Br3mEuQ1qLg+clvhf2UzFXmy58c5S+DDUPBo?= =?iso-8859-1?Q?zKCSqMMrxxN7cQakoQ8I5JLx3AdqXRanaA2KHlzgZZ+pgjiIxqBIjouSHi?= =?iso-8859-1?Q?AVNIghi6iEToG/OeKozoYOCL6xyG6Cw7XrpwhbmGIjBVD60cZ7kaDvLNPT?= =?iso-8859-1?Q?4+IZIphiHsY2Gg4a/Puh4ZorpXCE3tny+cTMCymS1qCNfY9yvP9/cUdQfO?= =?iso-8859-1?Q?+xwFEQ6UOWUOdYPYgekeiMomK7T5VuikDjqoiXtoUZFcw8ZIpFbaCBcAZk?= =?iso-8859-1?Q?mmAvCmf5QXdlssXtxxcKMeMIU9ab32Ncq0375XQpY1HyZkMMhMfbwVsJv0?= =?iso-8859-1?Q?aZ+DM6u7iZVzSC14qOzaZFOAgalWthmYjosRPHrzZAGTG6pmRXuDEwTKzx?= =?iso-8859-1?Q?N9n0m5WMZDqKByYgCf1psG2TmR6O7g9fM+WXXVE4/4hypoFoYoz0WsJTu1?= =?iso-8859-1?Q?K8HQEn0wmEGZgtL3Xi0Oa2sNAZHUdUqlIdsLff3YdH9lMiSejea7GTPbyW?= =?iso-8859-1?Q?EwTZZYWxHxCAHuY9Z4nVyksXEN79e4wvcXl9zh4OtKAssXmmbJWRzSnYk5?= =?iso-8859-1?Q?VjmDfOml3lNYk6NMD6BFGDLpPS9Gk4rT+X9xctEvt7IfTJ+jWxXPtCn4ho?= =?iso-8859-1?Q?SkT1W1Tyd5oIE=3D?= Content-Type: multipart/alternative; boundary="_000_PN3PR01MB5770B7F3594B4F67FE3A77F394579PN3PR01MB5770INDP_" MIME-Version: 1.0 X-OriginatorOrg: hsc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PN3PR01MB5770.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: b466473e-075a-457a-e3e2-08daa1e07f10 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2022 06:04:40.2281 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a65543b9-ae93-49b5-80f0-0b85821adc50 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6UJ2hdujY77YCxV4BEic7G+hMS5OuzvLbUnSHq6AkU3MmAiBnP1So9ULRW/xGPRo X-MS-Exchange-Transport-CrossTenantHeadersStamped: MAZPR01MB7844 X-Mailman-Approved-At: Thu, 29 Sep 2022 08:58:08 +0200 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 --_000_PN3PR01MB5770B7F3594B4F67FE3A77F394579PN3PR01MB5770INDP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, We are running VPP v22.02 (having DPDK v21.11 and compiled with MLX5 suppor= t) and an interface ens2 (PCI : 0000:0b:00.0) having mlx5_core driver. We a= re able to bring this interface inside VPP as HundredGigabitEthernetb/0/0 b= ut when we try to bring this interface's state up, we are getting an error:= - vpp# set interface state HundredGigabitEthernetb/0/0 up set interface state: Interface start failed On investigating this issue more, we found that the dpdk plugin in VPP call= s DPDK library's function "rte_eth_dev_start" and this particular function = is returning -2 for the first time when we try to set the state up and -22 = for the subsequent attempts. What could be the possible reason for this issue? Below are the debug logs enabled when VPP comes up and we try to bring the = interface up:- Sep 29 01:48:14 localhost vpp[179586]: /usr/bin/vpp[179586]: dpdk: EAL init= args: --log-level pmd,8 --in-memory --no-telemetry --file-prefix vpp -a 00= 00:0b:00.0 Sep 29 01:48:14 localhost /usr/bin/vpp[179586]: dpdk: EAL init args: --log-= level pmd,8 --in-memory --no-telemetry --file-prefix vpp -a 0000:0b:00.0 Sep 29 01:48:14 localhost vnet[179586]: dpdk/cryptodev: dpdk_cryptodev_init= : Not enough cryptodev resources Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Detected CPU lcores: 56 Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Detected NUMA nodes: 2 Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Detected static linkage = of DPDK Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Selected IOVA mode 'VA' Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No available 1048576 kB = hugepages reported Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No free 1048576 kB hugep= ages reported on node 0 Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No free 1048576 kB hugep= ages reported on node 1 Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No available 1048576 kB = hugepages reported Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: VFIO support initialized Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Probe PCI driver: mlx5_p= ci (15b3:1017) device: 0000:0b:00.0 (socket 0) Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: probe device "00= 00:0b:00.0". Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: mr_ext_memseg_en= is 1. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: mr_mempool_reg_e= n is 1. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: sys_mem_en is 0. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Tx doorbell mapp= ing parameter is -1. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: RTE_MEM is selec= ted. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Checking device = "mlx5_0".. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Dev information = matches for device "mlx5_0". Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: DevX is supporte= d. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: initialized B-tr= ee 0x7ef2fffe9dc1 with table 0x7ef2fffe7500 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink socket s= end buffer: 212992 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink socket r= ecv buffer: 212992 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink socket s= end buffer: 212992 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink socket r= ecv buffer: 212992 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: Checking device "ml= x5_0" Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: PCI information mat= ches for device "mlx5_0" Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: No E-Switch support= detected. Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: naming Ethernet dev= ice "0000:0b:00.0" Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: enhanced MPW is sup= ported Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: SWP support: 7 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011min_single_stri= de_log_num_of_bytes: 6 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011max_single_stri= de_log_num_of_bytes: 13 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011min_single_wqe_= log_num_of_strides: 3 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011max_single_wqe_= log_num_of_strides: 16 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011supported_qpts:= 256 Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: device supports Mul= ti-Packet RQ Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: tunnel offloading i= s supported for [VXLAN][GRE][GENEVE] Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: MPLS over GRE/UDP t= unnel offloading is not supported Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink socket s= end buffer: 212992 Sep 29 01:48:14 localhost vnet[179586]: dpdk: --- message(s) throttled --- Sep 29 01:49:02 localhost vnet[179586]: dpdk: Interface HundredGigabitEther= netb/0/0 error -2: Unknown error -2 Sep 29 01:49:02 localhost vnet[179586]: interface: sw_set_flags_helper: dpd= k_interface_admin_up_down: Interface start failed Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 starting dev= ice Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Rx queues nu= mber update: 1 -> 1 Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Tx queue 0 a= llocated and configured 1024 WRs Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: Port 0 txq 0 update= d with 0x7ef300622368. Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: Port 0 device_attr.= max_qp_wr is 32768. Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: Port 0 device_attr.= max_sge is 30. Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_common: mr_ctrl(0x7ef300= 61e744): flushed, cur_gen=3D0 Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_common: Mempool vpp pool= 0 is not registered Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Rx queue 0 f= reeing 1024 WRs Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Rx queue all= ocation failed: No such file or directory Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Tx queue 0 f= reeing WRs Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_common: freeing B-tree 0= x7ef30061e7f4 with table 0x7ef30061d280 Thanks and Regards, Chinmaya Agarwal. DISCLAIMER: This electronic message and all of its contents, contains infor= mation which is privileged, confidential or otherwise protected from disclo= sure. The information contained in this electronic mail transmission is int= ended for use only by the individual or entity to which it is addressed. If= you are not the intended recipient or may have received this electronic ma= il transmission in error, please notify the sender immediately and delete /= destroy all copies of this electronic mail transmission without disclosing= , copying, distributing, forwarding, printing or retaining any part of it. = Hughes Systique accepts no responsibility for loss or damage arising from t= he use of the information transmitted by this email including damage from v= irus. --_000_PN3PR01MB5770B7F3594B4F67FE3A77F394579PN3PR01MB5770INDP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

We are running VPP v22.02 (having DPDK v21.11 and compiled with MLX5 suppor= t) and an interface ens2 (PCI : 0000:0b:00.0) having mlx5_core driver. We a= re able to bring this interface inside VPP as HundredGigabitEthernetb/0/0 b= ut when we try to bring this interface's state up, we are getting an error:-

vpp# set interface state HundredGigabitEthernetb/0/0 up
set interface state: Interface start failed

On investigating this issue more, we found that the dpdk plugin in VPP= calls DPDK library's function "rte_eth_dev_start" and this parti= cular function is returning -2 for the first time when we try to set the st= ate up and -22 for the subsequent attempts.

What could be the possible reason for this issue?

Below are the debug logs enabled when VPP comes up and we try to bring= the interface up:-

Sep 29 01:48:14 localhost vpp[179586]: /usr/bin/vpp[179586]: dpdk: EAL= init args: --log-level pmd,8 --in-memory --no-telemetry --file-prefix vpp = -a 0000:0b:00.0
Sep 29 01:48:14 localhost /usr/bin/vpp[179586]: dpdk: EAL init args: -= -log-level pmd,8 --in-memory --no-telemetry --file-prefix vpp -a 0000:0b:00= .0
Sep 29 01:48:14 localhost vnet[179586]: dpdk/cryptodev: dpdk_cryptodev= _init: Not enough cryptodev resources
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Detected CPU lcores= : 56
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Detected NUMA nodes= : 2
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Detected static lin= kage of DPDK
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Selected IOVA mode = 'VA'
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No available 104857= 6 kB hugepages reported
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No free 1048576 kB = hugepages reported on node 0
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No free 1048576 kB = hugepages reported on node 1
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: No available 104857= 6 kB hugepages reported
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: VFIO support initia= lized
Sep 29 01:48:14 localhost vnet[179586]: dpdk: EAL: Probe PCI driver: m= lx5_pci (15b3:1017) device: 0000:0b:00.0 (socket 0)
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: probe devic= e "0000:0b:00.0".
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: mr_ext_mems= eg_en is 1.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: mr_mempool_= reg_en is 1.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: sys_mem_en = is 0.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Tx doorbell= mapping parameter is -1.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: RTE_MEM is = selected.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Checking de= vice "mlx5_0"..
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Dev informa= tion matches for device "mlx5_0".
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: DevX is sup= ported.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: initialized= B-tree 0x7ef2fffe9dc1 with table 0x7ef2fffe7500
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink soc= ket send buffer: 212992
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink soc= ket recv buffer: 212992
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink soc= ket send buffer: 212992
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink soc= ket recv buffer: 212992
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: Checking devic= e "mlx5_0"
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: PCI informatio= n matches for device "mlx5_0"
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: No E-Switch su= pport detected.
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: naming Etherne= t device "0000:0b:00.0"
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: enhanced MPW i= s supported
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: SWP support: 7=
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011min_single= _stride_log_num_of_bytes: 6
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011max_single= _stride_log_num_of_bytes: 13
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011min_single= _wqe_log_num_of_strides: 3
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011max_single= _wqe_log_num_of_strides: 16
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: #011supported_= qpts: 256
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: device support= s Multi-Packet RQ
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: tunnel offload= ing is supported for [VXLAN][GRE][GENEVE]
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_net: MPLS over GRE/= UDP tunnel offloading is not supported
Sep 29 01:48:14 localhost vnet[179586]: dpdk: mlx5_common: Netlink soc= ket send buffer: 212992
Sep 29 01:48:14 localhost vnet[179586]: dpdk: --- message(s) throttled= ---
Sep 29 01:49:02 localhost vnet[179586]: dpdk: Interface HundredGigabit= Ethernetb/0/0 error -2: Unknown error -2
Sep 29 01:49:02 localhost vnet[179586]: interface: sw_set_flags_helper= : dpdk_interface_admin_up_down: Interface start failed
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 startin= g device
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Rx queu= es number update: 1 -> 1
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Tx queu= e 0 allocated and configured 1024 WRs
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: Port 0 txq 0 u= pdated with 0x7ef300622368.
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: Port 0 device_= attr.max_qp_wr is 32768.
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: Port 0 device_= attr.max_sge is 30.
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_common: mr_ctrl(0x7= ef30061e744): flushed, cur_gen=3D0
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_common: Mempool vpp= pool 0 is not registered
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Rx queu= e 0 freeing 1024 WRs
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Rx queu= e allocation failed: No such file or directory
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_net: port 0 Tx queu= e 0 freeing WRs
Sep 29 01:49:02 localhost vnet[179586]: dpdk: mlx5_common: freeing B-tree 0= x7ef30061e7f4 with table 0x7ef30061d280

Thanks and Regards,
Chinmaya Agarwal.
DISCLAIMER: This electronic message and all of its contents, contains infor= mation which is privileged, confidential or otherwise protected from disclo= sure. The information contained in this electronic mail transmission is int= ended for use only by the individual or entity to which it is addressed. If you are not the intended recipient = or may have received this electronic mail transmission in error, please not= ify the sender immediately and delete / destroy all copies of this electron= ic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. H= ughes Systique accepts no responsibility for loss or damage arising from th= e use of the information transmitted by this email including damage from vi= rus. --_000_PN3PR01MB5770B7F3594B4F67FE3A77F394579PN3PR01MB5770INDP_--