DPDK usage discussions
 help / color / mirror / Atom feed
From: Xiaowen Yang <xiaowen.1.yang@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] [help]testpmd rss ether issue
Date: Thu, 21 May 2020 18:06:00 +0800	[thread overview]
Message-ID: <CAHr2NYDzRWpCRPGyrsYCBVsKK0Unt3s9eqvG-AWvG7Q0_+c=Ew@mail.gmail.com> (raw)

Hi

Dpdk experts:

        I try to config rss with ether, command as below, but all the
packet receive to the same queue, and the RSS hash is also the same. Even
changing the payload.





                testpmd> port config all rss ether



testpmd> show port info 0



********************* Infos for port 0  *********************

MAC address: CA:5C:51:04:87:17

Device name: 0000:b3:02.2

Driver name: net_i40e_vf

Devargs:

Connect to socket: 0

memory allocation on the socket: 0

Link status: down

Link speed: 0 Mbps

Link duplex: full-duplex

MTU: 1500

Promiscuous mode: enabled

Allmulticast mode: disabled

Maximum number of MAC addresses: 64

Maximum number of MAC addresses of hash filtering: 0

VLAN offload:

  strip off

  filter off

  qinq(extend) off

Hash key size in bytes: 52

Redirection table size: 64

Supported RSS offload flow types:

  ipv4-frag

  ipv4-tcp

  ipv4-udp

  ipv4-sctp

  ipv4-other

  ipv6-frag

  ipv6-tcp

  ipv6-udp

  ipv6-sctp

  ipv6-other

  l2_payload

Minimum size of RX buffer: 1024

Maximum configurable length of RX packet: 9728

Current number of RX queues: 4

Max possible RX queues: 4

Max possible number of RXDs per queue: 4096

Min possible number of RXDs per queue: 64

RXDs number alignment: 32

Current number of TX queues: 4

Max possible TX queues: 4

Max possible number of TXDs per queue: 4096

Min possible number of TXDs per queue: 64

TXDs number alignment: 32



The message as below:

port 0/queue 0: sent 1 packets

  src=16:B1:D5:FF:2C:65 - dst=CA:5C:51:04:87:17 - type=0x8100 - length=60 -
nb_segs=1 - RSS hash=0x2ebbd8e9 - RSS queue=0x0 - hw ptype: L2_ETHER  - sw
ptype: L2_ETHER_VLAN  - l2_len=18 - Send queue=0x0

  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD
PKT_RX_OUTER_L4_CKSUM_UNKNOWN PKT_RX_INNER_L4_CKSUM_UNKNOWN
PKT_RX_INNER_IP_CKSUM_UNKNOWN

port 0/queue 0: received 1 packets

  src=16:B1:D5:FF:2C:65 - dst=CA:5C:51:04:87:17 - type=0x8100 - length=60 -
nb_segs=1 - RSS hash=0x2ebbd8e9 - RSS queue=0x0 - hw ptype: L2_ETHER  - sw
ptype: L2_ETHER_VLAN  - l2_len=18 - Receive queue=0x0

  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD
PKT_RX_OUTER_L4_CKSUM_UNKNOWN PKT_RX_INNER_L4_CKSUM_UNKNOWN
PKT_RX_INNER_IP_CKSUM_UNKNOWN

yangxiaowen pkt_burst_io_forward-82 rx_port:0,rx_queue:0,core:5

yangxiaowen pkt_burst_io_forward-99 msg_data :

ca 5c 51 04 87 17 16 b1 d5 ff 2c 65 81 00 03 24

ae fe 10 00 00 10 00 63 13 80 06 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00





 thank you!

yangxiaowen

                 reply	other threads:[~2020-05-23 20:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAHr2NYDzRWpCRPGyrsYCBVsKK0Unt3s9eqvG-AWvG7Q0_+c=Ew@mail.gmail.com' \
    --to=xiaowen.1.yang@gmail.com \
    --cc=users@dpdk.org \
    /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).