DPDK usage discussions
 help / color / mirror / Atom feed
From: Carlos de Souza Moraes Neto <carlosmn@weg.net>
To: David Marchand <david.marchand@redhat.com>
Cc: Bruce Richardson <bruce.richardson@intel.com>,
	Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
	"users@dpdk.org" <users@dpdk.org>,
	Rafael Bonet Scheffer <rafaelbonet@weg.net>
Subject: RES: [E810 Offload VLAN Stripping]
Date: Tue, 12 Mar 2024 20:10:44 +0000	[thread overview]
Message-ID: <RO2P152MB6008508756FE676FB2A0BCF3DD2B2@RO2P152MB6008.LAMP152.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAJFAV8xvLmPrdVMyhBm0daCLcpG47D0z6vFMzjhjdKbLerFKuw@mail.gmail.com>

Hi David!

I think i messed up in some part and know it is working. I'm using testpmd to read tagged packets (IEC Sampled Values) that come to that port.




I'm using testpmd to read packets that arrive to the port.
This is the part to confirm I changed to 23.11 and revert de5da9d16430
root@SAL7:~/downloads/dpdk# git checkout v23.11
Previous HEAD position was f262f16087 version: 22.11.0
HEAD is now at eeb0605f11 version: 23.11.0
root@SAL7:~/downloads/dpdk# cat VERSION
23.11.0
root@SAL7:~/downloads/dpdk# git revert de5da9d16430
Auto-merging drivers/net/ice/ice_ethdev.c
Auto-merging drivers/net/ice/ice_ethdev.h
[detached HEAD 1b41a38e69] Revert "net/ice: support double VLAN"
 2 files changed, 15 insertions(+), 408 deletions(-)

After compiling and installing it I start testpmd with 

root@SAL7:~/downloads/dpdk/build# dpdk-testpmd -a 0000:01:00.0 -- --enable-hw-vlan-strip -i
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:01:00.0 (socket -1)
ice_load_pkg_type(): Active package is: 1.3.35.0, ICE OS Default Package (single VLAN mode)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa.
testpmd: create a new mbuf pool <mb_pool_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 0)
ice_set_rx_function(): Using AVX2 OFFLOAD Vector Rx (port 0).

Port 0: link state change event
Port 0: B4:96:91:EB:84:94
Checking link statuses...
Done
testpmd> set promisc all on
testpmd> set verbose 1
Change verbose level from 0 to 1
testpmd>
testpmd> start

io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  src=B4:B1:5A:18:04:3B - dst=01:0C:CD:04:00:01 - pool=mb_pool_0 - type=0x88ba - length=231 - nb_segs=1 - VLAN tci=0xe003 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0
  ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD
port 0/queue 0: received 1 packets
  src=B4:B1:5A:18:04:3B - dst=01:0C:CD:04:00:00 - pool=mb_pool_0 - type=0x88ba - length=863 - nb_segs=1 - VLAN tci=0x6004 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0
  ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD
port 0/queue 0: received 1 packets
  src=B4:B1:5A:18:04:3B - dst=01:0C:CD:04:00:01 - pool=mb_pool_0 - type=0x88ba - length=231 - nb_segs=1 - VLAN tci=0xe003 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0
  ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD
port 0/queue 0: received 1 packets
  src=B4:B1:5A:18:04:3B - dst=01:0C:CD:04:00:00 - pool=mb_pool_0 - type=0x88ba - length=863 - nb_segs=1 - VLAN tci=0x6004 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0
  ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD
port 0/queue 0: received 1 packets
  src=B4:B1:5A:18:04:3B - dst=01:0C:CD:04:00:01 - pool=mb_pool_0 - type=0x88ba - length=231 - nb_segs=1 - VLAN tci=0xe003 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0
  ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD




Atenciosamente, 

Carlos de Souza Moraes Neto
Depto. Centro de Negócios de Subestações
Fone: +55 (47) 3276-5786 Celular: +55 (47) 99927-9354 skype: carlossmneto
WEG Equipamentos Elétricos S/A. - Transmissão & Distribuição
www.weg.net




-----Mensagem original-----
De: David Marchand <david.marchand@redhat.com> 
Enviada em: terça-feira, 12 de março de 2024 08:52
Para: Carlos de Souza Moraes Neto <carlosmn@weg.net>
Cc: Bruce Richardson <bruce.richardson@intel.com>; Vladimir Medvedkin <vladimir.medvedkin@intel.com>; users@dpdk.org; Rafael Bonet Scheffer <rafaelbonet@weg.net>
Assunto: Re: [E810 Offload VLAN Stripping]

ATENÇÃO:  Esta mensagem é de REMETENTE EXTERNO - Tenha cuidado ao abrir links e anexos.
*** NOVO *** NÃO digite sua SENHA WEG quando solicitada por E-MAIL EXTERNO


Hello Carlos,

On Mon, Mar 11, 2024 at 7:07 PM Carlos de Souza Moraes Neto <carlosmn@weg.net> wrote:
> It worked in 22.11 but when I tried 23.11 and revert de5da9d16430 it didn’t work.

Are you testing with testpmd?
If not, please double check first with testpmd.

And describe the traffic you are testing with.

With this, I hope Intel can reproduce your issue.


--
David Marchand


  reply	other threads:[~2024-03-13 10:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08 18:18 Carlos de Souza Moraes Neto
2024-03-11 15:11 ` David Marchand
2024-03-11 18:06   ` RES: " Carlos de Souza Moraes Neto
2024-03-12 11:52     ` David Marchand
2024-03-12 20:10       ` Carlos de Souza Moraes Neto [this message]
2024-03-14 11:21         ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=RO2P152MB6008508756FE676FB2A0BCF3DD2B2@RO2P152MB6008.LAMP152.PROD.OUTLOOK.COM \
    --to=carlosmn@weg.net \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=rafaelbonet@weg.net \
    --cc=users@dpdk.org \
    --cc=vladimir.medvedkin@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).