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 3603F43CFF; Fri, 22 Mar 2024 01:22:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FE43402A7; Fri, 22 Mar 2024 01:22:41 +0100 (CET) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by mails.dpdk.org (Postfix) with ESMTP id CCAD4400D6 for ; Fri, 22 Mar 2024 01:22:39 +0100 (CET) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d6a1aff12bso13710881fa.2 for ; Thu, 21 Mar 2024 17:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; t=1711066959; x=1711671759; darn=dpdk.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mWVvV/MCbhX0wRsDgAOvPdQfJDe6LJa7GnpYmx7QbhA=; b=arV/zA4SWOJJawfH8iP1KHwc4kiE72b/8PLrLwQDZAECtQGsbhdeHX9ozyg6eN//hi 9qs+449WC53gsBl59k6FDZMLqYOWhGLTSxVB4rYfDl3OsWyhuMedBikZihEl0bOCT5w3 61uMyJYMwijbJUM4FhjDKjwdTN35cOaXEPuQi8gRhPzyH/kmJalNenqD1E1tI+TT3WwY Kgem77mL+rPEkecdIQzzpKLPb5BmIbFFTK+tr6OdLE4n/ceIwcrJEpJ4p2QMaNu753BE IMg9xlzdK3eIQ61UpmbMQNDMZsRU+X8l+t6QvCbX2DPQvPHVXSjA3WaIaP16b8H/VgrZ yXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711066959; x=1711671759; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mWVvV/MCbhX0wRsDgAOvPdQfJDe6LJa7GnpYmx7QbhA=; b=N9BJMFN3OUhPT3y/FvDqUAPHSyRgPaseF1+zo5nKxfPoPZngZAX7A9N5dttURsOvfy qTUwLbVlB9rAQ5vRrIDofh+FvMiTu4Sl7Rj7nfuxczpOea4EFR+X3Bfls7sZX7k+LmtN rZL4mMOs8sSuP+IhhHFAJxIwqsH9QlEcEz7qTJ6KpoQ7UtE2blknLCEtN4HaQf59MJUJ oLz8co4pP4zRvKoWYFxJvy8ZUQYzzc81ObAHpqUo5GmyzyqQWQmWO/sNshBumwGdW03f M+3YhxQC28KeTwW8FEejCxjV20y5tPJo89ykqw0cZLznWrXOUdUDg9UuxQrAWAjbfDiN xz/Q== X-Gm-Message-State: AOJu0YyZo+NhTfRfsjmQciK5XDQYmOt8piHqM+48E4KKsjeWrkxeceAW kNjsAIGWLauGYu6A4FnODi6widxDWUO2MRK2QaxwR9w5UkwJkfTlQgHzJkYorsLCQQY4mGtzG9E hfdOvvpeKpFqSRJHhbUcKmq2PD0MWNB5gDrgzM8l6MnvHkXA6/g== X-Google-Smtp-Source: AGHT+IFrjfY/mh3cU1CyhzdpX98Alt0Pj9cHVvYIEHtm3RqRn6qq2Ham7I1Xp6EyXJBHLfUpgQrswvQXss6VR7iT4SQ= X-Received: by 2002:a2e:a238:0:b0:2d3:1c52:7ae5 with SMTP id i24-20020a2ea238000000b002d31c527ae5mr629004ljm.46.1711066958628; Thu, 21 Mar 2024 17:22:38 -0700 (PDT) MIME-Version: 1.0 From: Prasanna Panchamukhi Date: Thu, 21 Mar 2024 17:22:27 -0700 Message-ID: Subject: DPDK/Hot swap of SFPs 10G/1G current is not support on Intel x553 controller To: dev@dpdk.org Cc: "Jayakumar, Muthurajan" Content-Type: multipart/alternative; boundary="0000000000004230d2061434d216" 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 --0000000000004230d2061434d216 Content-Type: text/plain; charset="UTF-8" Hot swap of SFPs 10G/1G current is not support on Intel x553 controller with dpdk 21.11.3 CPU Intel(R) Atom(TM) CPU C3558R @ 2.40GHz x553 ports bond to dpdk inserted with 10G and 1G SFPs # lspci 07:00.0 *Ether*net controller: Intel Corporation *Ether*net Connection X553 10 GbE SFP+ (rev 11) 07:00.1 *Ether*net controller: Intel Corporation *Ether*net Connection X553 10 GbE SFP+ (rev 11) # /usr/share/dpdk/tools/dpdk-devbind.py --status Network devices using DPDK-compatible driver ============================================ 0000:07:00.0 'Ethernet Connection X553 10 GbE SFP+ 15c4' drv=vfio-pci unused= 0000:07:00.1 'Ethernet Connection X553 10 GbE SFP+ 15c4' drv=vfio-pci unused= et7 Driver PMDPort HWaddr cc:1a:a3:ff:ea:e9 MTU 9236 Speed 1,000Mbps Link UP Duplex FULL Autoneg ON RX Queues: 1 RX Queue size: 4096 TX Queues: 1 TX Queue Size: 1024 Inc/RX packets: 22,327 bytes: 23,925,237 dropped: 0 Out/TX packets: 22,352 bytes: 23,924,291 dropped: 0 et6 Driver PMDPort HWaddr cc:1a:a3:ff:ea:e9 MTU 9236 Speed 10,000Mbps Link UP Duplex FULL Autoneg ON RX Queues: 1 RX Queue size: 4096 TX Queues: 1 TX Queue Size: 1024 Inc/RX packets: 2,798,567,431 bytes: 4,186,656,722,403 dropped: 0 Out/TX packets: 523,462,096 bytes: 783,087,633,300 dropped: 28,382 Swap the SFPs with the cable between port6 and port 7. et7 Driver PMDPort HWaddr cc:1a:a3:ff:ea:e9 MTU 9236 Speed UNKNOWN Link DOWN Duplex HALF Autoneg ON RX Queues: 1 RX Queue size: 4096 TX Queues: 1 TX Queue Size: 1024 Inc/RX packets: 22,327 bytes: 23,925,237 dropped: 0 Out/TX packets: 22,362 bytes: 23,924,891 dropped: 0 et7 Driver PMDPort HWaddr cc:1a:a3:ff:ea:e9 MTU 9236 Speed UNKNOWN Link DOWN Duplex HALF Autoneg ON RX Queues: 1 RX Queue size: 4096 TX Queues: 1 TX Queue Size: 1024 Inc/RX packets: 22,327 bytes: 23,925,237 dropped: 0 Out/TX packets: 22,362 bytes: 23,924,891 dropped: 0 Same experiment with Linux ixgbe kernel driver and on hotswap on SFPs both link and speed were correctly reported. Logs below: I saw some patches in the archives posted in 2021 which did not make it to the upstream release that support these features by Stephen. https://mails.dpdk.org/archives/dev/2021-December/230965.html Is there a plan to support this feature dpdk like linux kernel ixgbe driver ? Thanks, Prasanna --0000000000004230d2061434d216 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hot swap o= f=C2=A0=C2=A0SFPs 10G/1G current is not support on Intel x553 controller wi= th dpdk 21.11.3=C2=A0

CPU=C2=A0 Intel(R) At= om(TM) CPU C3558R @ 2.40GHz

x553 ports bond to dpdk inserted with 10G and 1= G SFPs=C2=A0

# lspci=C2=A0

<= br>

07:00.0=C2=A0Ethernet controller: Intel Corporati= on=C2=A0Ethernet Connection X553 10 GbE SFP+ (rev 11)

<= p style=3D"font-variant-numeric:normal;font-variant-east-asian:normal;font-= variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;fo= nt-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;margi= n:0px;color:rgb(0,0,0)">07:00.1=C2=A0Ethernet controller: Intel Corporation=C2=A0= Ethernet Connection X553 10 GbE SFP+ (rev 11)


# /usr/share/dpdk/tools/dpdk-devbind.py --status


Network devic= es using DPDK-compatible driver

=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


0000:07:00.0 'Ethernet Connection X553 10 GbE SFP+ 15c4'= drv=3Dvfio-pci unused=3D

0000:07:00.1 'Ethernet Con= nection X553 10 GbE SFP+ 15c4' drv=3Dvfio-pci=C2=A0unused=3D

=C2=A0

=C2=A0et7=C2=A0=C2=A0=C2=A0Driver PMDPort=C2=A0=C2=A0HWad= dr cc:1a:a3:ff:ea:e9=C2=A0MTU 9236=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Speed 1,00= 0Mbps=C2=A0Link UP=C2=A0=C2=A0Duplex FULL=C2=A0Autoneg ON=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0RX Queues: 1=C2=A0=C2=A0=C2=A0RX Queue size: 4096=C2= =A0

=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0TX Queues: 1=C2=A0=C2=A0=C2=A0TX Queue Size: = 1024=C2=A0

=C2=A0=C2=A0= =C2=A0=C2=A0Inc/RX=C2=A0packets: 22,327=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0bytes: 23,925,237=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0dropped: 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0O= ut/TX=C2=A0packets: 22,352=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bytes: = 23,924,291=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dropped: 0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0


et6=C2=A0=C2=A0=C2=A0Driver PMDPort=C2=A0=C2=A0HWaddr cc:= 1a:a3:ff:ea:e9=C2=A0MTU 9236=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Speed 10,000Mbps= =C2=A0Link UP=C2=A0=C2=A0Duplex FULL=C2=A0Autoneg ON=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0RX Queues: 1=C2=A0=C2=A0=C2=A0RX Queue size: 4096=C2=A0

<= p style=3D"box-sizing:border-box;margin:0px;padding:0px;font-size:16px;colo= r:rgb(128,128,128);font-family:intel-clear,tahoma,Helvetica,helvetica,Arial= ,sans-serif;background-color:rgb(247,247,247)">=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0TX Queues: 1=C2=A0=C2=A0=C2=A0TX Queue Size: 1024=C2= =A0

=C2=A0=C2=A0=C2=A0= =C2=A0Inc/RX=C2=A0packets: 2,798,567,431=C2=A0=C2=A0=C2=A0bytes: 4,186,656,= 722,403=C2=A0=C2=A0

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dropped: 0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0Out/TX=C2=A0packets: 523,462,096= =C2=A0=C2=A0=C2=A0=C2=A0bytes: 783,087,633,300=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0dropped: 28,382=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0

Swap the SFPs with the cable between po= rt6 and port 7.

=C2=A0

et7=C2=A0=C2=A0=C2=A0Driv= er PMDPort=C2=A0=C2=A0HWaddr cc:1a:a3:ff:ea:e9=C2=A0MTU 9236=C2=A0

<= p style=3D"box-sizing:border-box;margin:0px;padding:0px;font-size:16px;colo= r:rgb(128,128,128);font-family:intel-clear,tahoma,Helvetica,helvetica,Arial= ,sans-serif;background-color:rgb(247,247,247)">=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0Speed UNKNOWN=C2=A0=C2=A0Link DOWN=C2=A0Duplex HALF=C2= =A0Autoneg ON=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0RX Queues: 1=C2=A0=C2=A0= =C2=A0RX Queue size: 4096=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0TX Queues: 1=C2=A0= =C2=A0=C2=A0TX Queue Size: 1024=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0Inc/RX=C2=A0packets: 22,327=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bytes: 23,925,237=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0

=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dropped: 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0Out/TX=C2=A0packets: 22,362=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0bytes: 23,924,891=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0<= /p>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0dropped: 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0

et= 7=C2=A0=C2=A0=C2=A0Driver PMDPort=C2=A0=C2=A0HWaddr cc:1a:a3:ff:ea:e9=C2=A0= MTU 9236=C2=A0

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Speed UNKNOWN=C2=A0=C2=A0Link = DOWN=C2=A0Duplex HALF=C2=A0Autoneg ON=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0R= X Queues: 1=C2=A0=C2=A0=C2=A0RX Queue size: 4096=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0TX Queues: 1=C2=A0=C2=A0=C2=A0TX Queue Size: 1024=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0Inc/RX=C2= =A0packets: 22,327=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bytes: 23,925,2= 37=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dropped: 0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0Out/TX=C2=A0packets:= 22,362=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bytes: 23,924,891=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0

= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dropped: 0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0

Same experiment with Linux ixgbe kernel driver and on hotswap on SFPs = both link and speed were correctly reported. Logs below:

=C2=A0


I s= aw some patches in the archives posted in 2021 which did not make it to the= upstream release that support these features by Stephen.


https://mails.dpdk.org/archives/dev/2021-De= cember/230965.html

<= br>

Is there a plan to s= upport this feature dpdk like linux kernel ixgbe driver ?


Thanks,

P= rasanna

--0000000000004230d2061434d216--