DPDK usage discussions
 help / color / mirror / Atom feed
From: <martin_curran-gray@keysight.com>
To: <users@dpdk.org>
Cc: martin_curran-gray@keysight.com
Subject: [dpdk-users] RX Vector PMD with X710
Date: Fri, 4 Mar 2016 09:22:16 +0000	[thread overview]
Message-ID: <22C95CA62CBADB498D32A348F0F073BC116B8030@wcosexch02k.cos.is.keysight.com> (raw)

Hi,

About 12 months ago I did a brief evaluation of an Intel X710 card with DPDK 1.7.0.

I've now returned to this with DPDK 2.2.0

I've struggled to get the performance I had before, but have gradually tweaked my app, and the dpdk settings and am getting close.

I've used the test pmd program and noticed, that on my build/configure, it runs in vector rx mode

PMD: i40e_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=1).

But I don't seem to be able to get vector rx mode in my app.

                                                PMD: i40e_set_rx_function(): Port[2] doesn't meet Vector Rx preconditions

I've temporarily tweaked various things I can find to match the defaults the test pmd program uses, but still no joy
( I do get  rxBurst Alloc )

The documentation on the web
http://dpdk.readthedocs.org/en/v2.2.0/nics/ixgbe.html

mentions


  *   rxq->rx_free_thresh >= RTE_PMD_IXGBE_RX_MAX_BURST
  *   rxq->rx_free_thresh < rxq->nb_rx_desc
  *   (rxq->nb_rx_desc % rxq->rx_free_thresh) == 0
  *   rxq->nb_rx_desc < (IXGBE_MAX_RING_DESC - RTE_PMD_IXGBE_RX_MAX_BURST)
I've checked that for my real settings, and they all now pass, since before, I didn't get burst alloc but I do now

I've moved nb_rx_desc and rx_free_thresh to be the same as the values used by testpmd

I've also checked other settings the web page refers to


  *   hw_vlan_strip
  *   hw_vlan_extend
  *   hw_ip_checksum
  *   header_split
  *   dev_conf
fdir_conf->mode will also be checked.


And made my settings for my code match those reported in testpmd, (I've tweaked the testpmd code slightly to print out some settings, see below)

But I still don't get Vector RX in my app, but the test pmd does!

Is there something else I'm missing?

Using centos 6.4  with kernel  2.6.32-358.el6.x86_64
Twin sandybridge host, 64G Ram
Intel X710-DA4

I'm running the testpmd with the same config, igb_uio.ko, include files etc.  as my app (to the best of my knowledge)

Thanks

Martin



********************* Infos for port 0 , RX queue 0  *********************
Mempool: mbuf_pool_socket_0
RX prefetch threshold: 0
RX host threshold: 0
RX writeback threshold: 0
RX free threshold: 32
RX drop packets: off
RX deferred start: off
RX scattered packets: off
Number of RXDs: 128

********************* Infos for port 1  *********************
MAC address: 68:05:CA:36:F2:B9
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 10000 Mbps
Link duplex: full-duplex
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
  strip on
  filter on
  qinq(extend) off
Hash key size in bytes: 52
Redirection table size: 512
Supported flow types:
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Max possible RX queues: 192
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Max possible TX queues: 192
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32

  ######################## FDIR infos for port 0      ########################
  MODE:   DISABLE

                 reply	other threads:[~2016-03-04  9:22 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=22C95CA62CBADB498D32A348F0F073BC116B8030@wcosexch02k.cos.is.keysight.com \
    --to=martin_curran-gray@keysight.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).