DPDK usage discussions
 help / color / mirror / Atom feed
From: Jesper Wramberg <jesper.wramberg@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Possible to rate limit a VF on ConnectX-3 ?
Date: Thu, 3 Dec 2015 09:51:23 +0100	[thread overview]
Message-ID: <CALhSPotjoYfnC9WSV0SS6QQO0sK8p1fcQ2w5PBpiAu7Kti16Ow@mail.gmail.com> (raw)

Morning all,

I was wondering if anyone know if/how you can rate limit a virtual function
on a ConnectX-3 ?
I am running OFED 3.1 and NIC FW 2.34.5060 (latest from dell). I have tried
the following with no luck:

ip link set <pf> vf <x> rate <y>
mlnx_qos
mlnx_qcn

The closest I have gotten was with mlnx_qos but it seems I can only rate
limit all traffic or no traffic (using traffic class 0). I tried
manipulating the TCs with tc_wrap but it seem that all traffic falls into
user priority 0 or something ? I also tried using different TX queues in
DPDK but the result was the same. The other commands seems to have no
effect at all. My mlx4_core.conf file looks like this:

options mlx4_core port_type_array=2,2 num_vfs=3 probe_vf=3
log_num_mgm_entry_size=-1 fast_drop=1 use_prio=1 enable_qos=1
enable_vfs_qos=1

I simply tried to enable everything that might be relevant :-)
Alternatively, I also configured the transmitter using the VF to use one
specific VLAN with one specific priority. Unfortunately I couldn't seem to
rate limit based on VLAN or VLAN prio either :-(

Best Regards,
Jesper

             reply	other threads:[~2015-12-03  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03  8:51 Jesper Wramberg [this message]
2015-12-04 14:46 ` Jesper Wramberg
2015-12-04 21:07   ` Gilad Berman

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=CALhSPotjoYfnC9WSV0SS6QQO0sK8p1fcQ2w5PBpiAu7Kti16Ow@mail.gmail.com \
    --to=jesper.wramberg@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).