From: Efstratios Karatzas <efkaratzas@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Detecting breakout cable usage in xl710 NIC at run time through dpdk driver / i40e interface
Date: Wed, 16 Mar 2016 17:08:39 -0700 [thread overview]
Message-ID: <CAPNd79949Wc3iF-p0L512dy8scpabVQmGXN65wbUFoW87sbR_Q@mail.gmail.com> (raw)
Hello dev@dpdk.org
In section "3.3.5.6 Update link mode" of the XL710 datasheet Rev2.4
there is a description on how to change the link mode configuration of
the NIC to enable support for breakout cable (4x10). This can also be
accomplished via the qcu utility provided by intel.
What I am looking for is whether there is way to reliably detect if a
breakout cable is plugged into the XL710 at run time. Keeping also in
mind that the cable could be either in the form of direct attach 4x10
or a standard qsfp + breakout fiber cable.
The end goal here is to automatically change the link mode of the NIC
to the appropriate value without requiring any manual step from user.
For example if direct attach 4x10 cable is plugged into the XL710
port, detect this and switch the link mode configuration to 4x10.
After looking into the i40e_* API and the datasheet, I can't find a
way to reliably perform this kind of check and I'm now wondering if
anyone knows if this is at all possible and if so, how I could go
about performing this kind of check.
Thank you,
Efstratios Karatzas
reply other threads:[~2016-03-17 0:08 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=CAPNd79949Wc3iF-p0L512dy8scpabVQmGXN65wbUFoW87sbR_Q@mail.gmail.com \
--to=efkaratzas@gmail.com \
--cc=dev@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).