DPDK usage discussions
 help / color / mirror / Atom feed
From: Adrien Mazarguil <adrien.mazarguil@6wind.com>
To: "Wu, Xiaoban" <Xiaoban_Wu@student.uml.edu>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Interesting considerate but annoying behavior of MLX5 driver
Date: Wed, 2 May 2018 12:13:40 +0200	[thread overview]
Message-ID: <20180502101340.GC4957@6wind.com> (raw)
In-Reply-To: <DM5PR02MB2523A48E871973443F4824F4BC8D0@DM5PR02MB2523.namprd02.prod.outlook.com>

On Fri, Apr 27, 2018 at 01:29:38AM +0000, Wu, Xiaoban wrote:
> Hi Stephen,
> 
> 
> Thanks very much for your help. Though I don't know if it is a overkill, the following does the job.
> 
> 
> /sbin/ethtool -s enp59s0f0 autoneg off
> /sbin/ethtool -A enp59s0f0 rx off
> /sbin/ethtool -A enp59s0f0 tx off

Note that DPDK applications should rely on rte_eth_dev_flow_ctrl_get/set()
with fc_conf->mode = RTE_FC_NONE to achieve the same behavior in a generic
fashion.

While doing so translates exactly to the above ethtool calls with mlx4 and
mlx5, other PMDs do not typically leave a kernel netdevice around for
external applications to play with.

-- 
Adrien Mazarguil
6WIND

      reply	other threads:[~2018-05-02 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26 22:26 Wu, Xiaoban
2018-04-26 22:40 ` Stephen Hemminger
2018-04-27  1:29   ` Wu, Xiaoban
2018-05-02 10:13     ` Adrien Mazarguil [this message]

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=20180502101340.GC4957@6wind.com \
    --to=adrien.mazarguil@6wind.com \
    --cc=Xiaoban_Wu@student.uml.edu \
    --cc=stephen@networkplumber.org \
    --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).