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 A6E2E429C6 for ; Sun, 23 Apr 2023 15:26:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95D6D42C76; Sun, 23 Apr 2023 15:26:25 +0200 (CEST) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 5B73240687 for ; Thu, 20 Apr 2023 13:31:26 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-51f6461af24so664180a12.2 for ; Thu, 20 Apr 2023 04:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681990285; x=1684582285; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=62zznrDNSnAoJOBLvDGzaRVsV0MSVltTIZuQtwxBlUs=; b=GJeZZJ0GvX0s0SPuRYOT4JsYFPQ77rVV7n77VTAqHxA5pIKzQU+3aIHrg4OF1RAEwF hcfOidOUf3VC1XnOQBAO0msE0fTrNLOV9bGSDsDpV4SwMk6XOzX8K2wd6DxaNyAGIP75 INtZDxJtWcKCCf5p6LlHoZEuwnkT58lHbKMXkK3u+ZdZBQ+quU5jlDyubC/7NL5hsN4p ZI4LNQQSRmlDh7HyxSMKWW/3M4GvCmPuonsVhULp9qRaAiVT827HOn9pWHzv4riF594n DJe8ImvBXyyIo7O+671AVbiMspXzo90WRmIK9agEv+j2piDXY7UabwJo6Vh0GSIIBzyF Ve6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681990285; x=1684582285; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=62zznrDNSnAoJOBLvDGzaRVsV0MSVltTIZuQtwxBlUs=; b=VzQL6j9LAy0aLUOuWYUcPrhO06J7oNcLJ8aq0JC1GKdBizJ/XNJUpIX/vQ7Lx3meBm JAvsANjmKERYYDOc+NsMOoZdfABSAlxL/VvM2I41yWfQBXILQiR/xKf2W9oUVDWwNush C9CYWCcn0TaLRbfkZHYN/j+2zu6oXkuE2h41SeUNQrsxpAsnte33pq7T8+1AUTtkGtMJ kJu5aQ+woepnztlUwDfEwMergtPgdjWqxxHyWZYcRq5VEiPS+588sOmKkc4PyiEv4I8L kNemuGgotVORkPVwN4Fl5WFwXjgJvbDVhi399g8HOfZksEl8pCryUpiGZl9wFHdMrDzg jUFA== X-Gm-Message-State: AAQBX9e2bVX0C/NtyZeRqShp02zasjruTkmkdRR2WVXmSGVC6/xIgjCq /YxQsL7mDf1UVQsfNoPQ7LnJi5Qz/EwzT+Tc1XLTXoEszVU= X-Google-Smtp-Source: AKy350a0d4a9wKYun26VWJr0kTZK7+28kZZq5LL9s5lDxcYOJidT8wr4F1FnE2L+juYkw3dA9q563A7lLv9SZsTzxY4= X-Received: by 2002:a17:90a:688f:b0:247:8ce1:996e with SMTP id a15-20020a17090a688f00b002478ce1996emr1287036pjd.29.1681990284953; Thu, 20 Apr 2023 04:31:24 -0700 (PDT) MIME-Version: 1.0 From: Igor de Paula Date: Thu, 20 Apr 2023 12:33:25 +0100 Message-ID: Subject: Issue with rte_eth_dev_start To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000734c0705f9c2e16d" X-Mailman-Approved-At: Sun, 23 Apr 2023 15:26:25 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000734c0705f9c2e16d Content-Type: text/plain; charset="UTF-8" Hi, I am having trouble with restarting a HW port allocated to DPDK. I am running the DPDK version: 21.08.0 and Ubuntu 20.04.3 LTS. The driver is : net_e100igb After I start the port with no issues I try to call rte_eth_dev_stop to stop it. When I am ready I call rte_eth_dev_start to start it again an I get the following message: EAL: Error disabling MSI-X interrupts for fd 46. I am not sure what this error is coming from and what it causes. I found little information online. If someone could explain, I would really appreciate it. This is a copy print on setup with no issues: 2023-04-20 11:09:51.703542: Driver: net_e1000_igb 2023-04-20 11:09:51.703546: Bus Id: 0000:01:00.0 2023-04-20 11:09:51.703551: rx offload cap: 280e (92e0f) 2023-04-20 11:09:51.703555: tx offload cap: 8002 (803f) 2023-04-20 11:09:51.703559: NUMA Socket: 0 2023-04-20 11:09:51.703563: MAC Address: b4:96:91:63:62:40 2023-04-20 11:09:51.703568: Max Rx Queue: 8 2023-04-20 11:09:51.703572: Max Tx Queue: 8 2023-04-20 11:09:51.703577: Max Rx Descriptors: 4096 2023-04-20 11:09:51.703581: Max Tx Descriptors: 4096 2023-04-20 11:09:51.703585: Max Rx Packet Length: 16383 2023-04-20 11:09:51.703589: Available Link Speeds: 10Mb/s 100Mb/s 1Gb/s 2023-04-20 11:09:51.703608: Fixed Link Speed: Auto 2023-04-20 11:09:51.703616: Fixed Duplex: Auto 2023-04-20 11:09:51.703623: MTU Set to: 16383 2023-04-20 11:09:51.703632: Actual Rx Descriptors: 4096 2023-04-20 11:09:51.703636: Actual Tx Descriptors: 4096 2023-04-20 11:09:51.703695: Set up 1 send queues 2023-04-20 11:09:51.703700: Actual MTU: 16383 2023-04-20 11:09:51.703704: Actual Linkspeed: 0 2023-04-20 11:09:51.703708: Actual duplex: 0 2023-04-20 11:09:51.703713: Successfully set port interrupt event 2023-04-20 11:09:51.818085: Flow control turned off for Port 0 2023-04-20 11:09:51.844179: Port 0 up and running 2023-04-20 11:09:51.844303: Event type: LSC interrupt 2023-04-20 11:09:51.844382: Port 0 Link Down And after I stop and start: 2023-04-20 11:11:00.492428: Driver: net_e1000_igb 2023-04-20 11:11:00.492476: Bus Id: 0000:01:00.0 2023-04-20 11:11:00.492526: rx offload cap: 280e (92e0f) 2023-04-20 11:11:00.492576: tx offload cap: 8002 (803f) 2023-04-20 11:11:00.492624: NUMA Socket: 0 2023-04-20 11:11:00.492672: MAC Address: b4:96:91:63:62:40 2023-04-20 11:11:00.492721: Max Rx Queue: 8 2023-04-20 11:11:00.492770: Max Tx Queue: 8 2023-04-20 11:11:00.492813: Max Rx Descriptors: 4096 2023-04-20 11:11:00.492851: Max Tx Descriptors: 4096 2023-04-20 11:11:00.492889: Max Rx Packet Length: 16383 2023-04-20 11:11:00.492958: Available Link Speeds: 10Mb/s 100Mb/s 1Gb/s 2023-04-20 11:11:00.493207: Fixed Link Speed: Auto 2023-04-20 11:11:00.493301: Fixed Duplex: Full 2023-04-20 11:11:00.493822: MTU Set to: 16383 2023-04-20 11:11:00.493889: Actual Rx Descriptors: 4096 2023-04-20 11:11:00.493936: Actual Tx Descriptors: 4096 2023-04-20 11:11:00.494190: Actual MTU: 16383 2023-04-20 11:11:00.494229: Actual Linkspeed: 0 2023-04-20 11:11:00.494266: Actual duplex: 1 2023-04-20 11:11:00.494305: Successfully set port interrupt event *EAL: Error disabling MSI-X interrupts for fd 46* 2023-04-20 11:11:00.603181: Flow control turned off for Port 0 2023-04-20 11:11:00.629151: Port 0 up and running 2023-04-20 11:11:00.629222: Event type: LSC interrupt 2023-04-20 11:11:00.629273: Port 0 Link Down Thanks, Igor --000000000000734c0705f9c2e16d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I am having trouble with restarting a HW port alloc= ated to DPDK.
I am running the DPDK version: 21.08.0 and Ubuntu 20.04.3 = LTS.
The driver is : net_e100igb
After I start the port with no issue= s=C2=A0I try to call rte_eth_dev_stop to stop it.
When I am ready I call= rte_eth_dev_start to start it again an I get the following message:
EAL= : Error disabling MSI-X interrupts=C2=A0for fd 46.
I am not sure what th= is error is coming from and what it causes.
I found little information o= nline. If someone could explain,=C2=A0I would really appreciate it.
This= is a copy print on setup with no issues:
2023-04-20 11:09:51.703542: = =C2=A0 =C2=A0 Driver: net_e1000_igb
2023-04-20 11:09:51.703546: =C2=A0 = =C2=A0 Bus Id: 0000:01:00.0
2023-04-20 11:09:51.703551: =C2=A0 =C2=A0 rx= offload cap: 280e (92e0f)
2023-04-20 11:09:51.703555: =C2=A0 =C2=A0 tx = offload cap: 8002 (803f)
2023-04-20 11:09:51.703559: =C2=A0 =C2=A0 NUMA = Socket: 0
2023-04-20 11:09:51.703563: =C2=A0 =C2=A0 MAC Address: b4:96:9= 1:63:62:40
2023-04-20 11:09:51.703568: =C2=A0 =C2=A0 Max Rx Queue: 8
= 2023-04-20 11:09:51.703572: =C2=A0 =C2=A0 Max Tx Queue: 8
2023-04-20 11:= 09:51.703577: =C2=A0 =C2=A0 Max Rx Descriptors: 4096
2023-04-20 11:09:51= .703581: =C2=A0 =C2=A0 Max Tx Descriptors: 4096
2023-04-20 11:09:51.7035= 85: =C2=A0 =C2=A0 Max Rx Packet Length: 16383
2023-04-20 11:09:51.703589= : =C2=A0 =C2=A0 Available Link Speeds: 10Mb/s 100Mb/s 1Gb/s
2023-04-20 1= 1:09:51.703608: =C2=A0 =C2=A0 Fixed Link Speed: Auto
2023-04-20 11:09:51= .703616: =C2=A0 =C2=A0 Fixed Duplex: Auto
2023-04-20 11:09:51.703623: = =C2=A0 =C2=A0 MTU Set to: 16383
2023-04-20 11:09:51.703632: =C2=A0 =C2= =A0 Actual Rx Descriptors: 4096
2023-04-20 11:09:51.703636: =C2=A0 =C2= =A0 Actual Tx Descriptors: 4096
2023-04-20 11:09:51.703695: =C2=A0 =C2= =A0 Set up 1 send queues
2023-04-20 11:09:51.703700: =C2=A0 =C2=A0 Actua= l MTU: 16383
2023-04-20 11:09:51.703704: =C2=A0 =C2=A0 Actual Linkspeed:= 0
2023-04-20 11:09:51.703708: =C2=A0 =C2=A0 Actual duplex: 0
2023-04= -20 11:09:51.703713: =C2=A0 =C2=A0 Successfully set port interrupt event2023-04-20 11:09:51.818085: =C2=A0 =C2=A0 Flow control turned off for Port= 0
2023-04-20 11:09:51.844179: =C2=A0 =C2=A0 Port 0 up and running
20= 23-04-20 11:09:51.844303: Event type: LSC interrupt
2023-04-20 11:09:51.= 844382: =C2=A0 =C2=A0 Port 0 Link Down

And after I stop and start:2023-04-20 11:11:00.492428: =C2=A0 =C2=A0 Driver: net_e1000_igb
2023-0= 4-20 11:11:00.492476: =C2=A0 =C2=A0 Bus Id: 0000:01:00.0
2023-04-20 11:1= 1:00.492526: =C2=A0 =C2=A0 rx offload cap: 280e (92e0f)
2023-04-20 11:11= :00.492576: =C2=A0 =C2=A0 tx offload cap: 8002 (803f)
2023-04-20 11:11:0= 0.492624: =C2=A0 =C2=A0 NUMA Socket: 0
2023-04-20 11:11:00.492672: =C2= =A0 =C2=A0 MAC Address: b4:96:91:63:62:40
2023-04-20 11:11:00.492721: = =C2=A0 =C2=A0 Max Rx Queue: 8
2023-04-20 11:11:00.492770: =C2=A0 =C2=A0 = Max Tx Queue: 8
2023-04-20 11:11:00.492813: =C2=A0 =C2=A0 Max Rx Descrip= tors: 4096
2023-04-20 11:11:00.492851: =C2=A0 =C2=A0 Max Tx Descriptors:= 4096
2023-04-20 11:11:00.492889: =C2=A0 =C2=A0 Max Rx Packet Length: 16= 383
2023-04-20 11:11:00.492958: =C2=A0 =C2=A0 Available Link Speeds: 10M= b/s 100Mb/s 1Gb/s
2023-04-20 11:11:00.493207: =C2=A0 =C2=A0 Fixed Link S= peed: Auto
2023-04-20 11:11:00.493301: =C2=A0 =C2=A0 Fixed Duplex: Full<= br>2023-04-20 11:11:00.493822: =C2=A0 =C2=A0 MTU Set to: 16383
2023-04-2= 0 11:11:00.493889: =C2=A0 =C2=A0 Actual Rx Descriptors: 4096
2023-04-20 = 11:11:00.493936: =C2=A0 =C2=A0 Actual Tx Descriptors: 4096
2023-04-20 11= :11:00.494190: =C2=A0 =C2=A0 Actual MTU: 16383
2023-04-20 11:11:00.49422= 9: =C2=A0 =C2=A0 Actual Linkspeed: 0
2023-04-20 11:11:00.494266: =C2=A0 = =C2=A0 Actual duplex: 1
2023-04-20 11:11:00.494305: =C2=A0 =C2=A0 Succes= sfully set port interrupt event
EAL: Error disabling MSI-X interrupts= for fd 46
2023-04-20 11:11:00.603181: =C2=A0 =C2=A0 Flow control tu= rned off for Port 0
2023-04-20 11:11:00.629151: =C2=A0 =C2=A0 Port 0 up = and running
2023-04-20 11:11:00.629222: Event type: LSC interrupt
202= 3-04-20 11:11:00.629273: =C2=A0 =C2=A0 Port 0 Link Down


Thanks,<= br>Igor


--000000000000734c0705f9c2e16d--