From: John Fastabend <john.fastabend@gmail.com>
To: ayuj <ayuj.verma@gmail.com>,
netdev@vger.kernel.org,
intel-wired-lan <intel-wired-lan@lists.osuosl.org>
Subject: Re: Configure traffic class to bringup DCB in back-to-back setup
Date: Wed, 13 Jul 2016 10:44:51 -0700 [thread overview]
Message-ID: <57867E13.3040708@gmail.com> (raw)
In-Reply-To: <loom.20160713T110657-740@post.gmane.org>
On 16-07-13 02:09 AM, ayuj wrote:
> I just checked TLV's. Below are the details:
>
OK so not really a netdev discussion seeing its just a user
space protocol setup issue. Going forward probably drop
netdev and add intel-wired-lan.
> OS :- CentOS 7.2
> kernel 3.10.0-327.el7.x86_64
> lldpad:- lldpad v0.9.46
> dcbtool:- v0.9.46
> ixgbe :- ixgbe-4.3.15
>
> steps followed:-
>
> # modporbe ixgbe
> # service lldpad start
> Redirecting to /bin/systemctl start lldpad.service
>
> # service lldpad status
> Redirecting to /bin/systemctl status lldpad.service
> ● lldpad.service - Link Layer Discovery Protocol Agent Daemon.
> Loaded: loaded (/usr/lib/systemd/system/lldpad.service; disabled; vendor
> preset: disabled)
> Active: active (running) since Tue 2016-07-05 05:49:12 EDT; 1s ago
> Main PID: 133737 (lldpad)
> CGroup: /system.slice/lldpad.service
> └─133737 /usr/sbin/lldpad -t
>
> Jul 05 05:49:12 localhost.localdomain systemd[1]: Started Link Layer
> Discovery Protocol Agent Daemon..
> Jul 05 05:49:12 localhost.localdomain systemd[1]: Starting Link Layer
> Discovery Protocol Agent Daemon....
>
> lldptool -t -i p3p2 -n
> Chassis ID TLV
> MAC: 00:1b:21:bb:2e:da
> Port ID TLV
> MAC: 00:1b:21:bb:2e:da
> Time to Live TLV
> 120
> IEEE 8021QAZ ETS Configuration TLV
> Willing: yes
> CBS: not supported
> MAX_TCS: 8
> PRIO_MAP: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
> TC Bandwidth: 0% 0% 0% 0% 0% 0% 0% 0%
> TSA_MAP: 0:strict 1:strict 2:strict 3:strict 4:strict 5:strict 6:strict
> 7:strict
> IEEE 8021QAZ PFC TLV
> Willing: yes
> MACsec Bypass Capable: no
> PFC capable traffic classes: 8
> PFC enabled: none
> End of LLDPDU TLV
>
> Please help me in configuring traffic classes. I want to bringup DCB setup
> in a back-to-back senario.
>
So at the moment it appears to be configured to use 802.1QAZ spec which
superseded the older spec even though lldpad supports both. Note the
tool itself really requires some spec knowledge to use correctly. The
spec to read is 802.1Q.
To configure it back-to-back (typical scenario is connected to a DCB
enabled switch where your administrator would setup the switch and this
would autoneg just fine) the servers need to be setup manually.
Perhaps reading if you haven't already the man page for lldptool and
lldptool-ets, lldptool-pfc would help. From the ets man page this
should kick things off,
#lldptool -T -i eth2 -V ETS-CFG \
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets \
up2tc=0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7 \
tcbw=12,12,12,12,13,13,13,13
#lldptool -T -i eth2 -V ETS-REC \
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets \
up2tc=0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7 \
tcbw=12,12,12,12,13,13,13,13
Thanks,
John
next prev parent reply other threads:[~2016-07-13 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 9:09 Configure traffic class to bringup DCB in back-to-back setup ayuj
2016-07-13 17:44 ` John Fastabend [this message]
2016-07-14 9:35 ` ayuj
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=57867E13.3040708@gmail.com \
--to=john.fastabend@gmail.com \
--cc=ayuj.verma@gmail.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=netdev@vger.kernel.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).