From: Aurélien <footplus@gmail.com>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Prioritize a vlan on another
Date: Fri, 4 Sep 2015 12:52:45 +0200 [thread overview]
Message-ID: <CAPN4dA_N+tLcSRWPcYmoxgLAkmv2HT2aDb8w8se=qH3id4z_Kw@mail.gmail.com> (raw)
In-Reply-To: <266BF78D-5C37-40E1-A065-1426CC2325E2@gmail.com>
On Tue, Sep 1, 2015 at 11:07 PM, <footplus@gmail.com> wrote:
>
> Hello,
>
> I'm not sure if this is the right place to ask this, but i'm stuck on a trafic priority problem since some time.
>
> I have 2 10Gb interfaces (bnx2x) bonded in a 802.3ad aggregate. On this aggregate, 2 vlans are configured (let's INT and EXT) I need to ensure that, when sending traffic at near line rate via EXT, all packets targeted to INT are sent in priority (dropping EXT traffic as needed).
>
Replying to myself:
It seems that all I was needing was a -j CLASSIFY --set-class 0:6 in iptables.
This sufficed to classifiy the traffic in band 0 within 8 prio qdisc
(with default priomap/bands) attached below the 8 first classes of mq.
However, the packet TOS does not seem to affect the priority inside
the VLAN/bonding with mq in any way.
Problem solved for me.
Thanks,
Best regards,
--
Aurélien Guillaume
prev parent reply other threads:[~2015-09-04 10:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 21:07 Prioritize a vlan on another footplus
2015-09-04 10:52 ` Aurélien [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='CAPN4dA_N+tLcSRWPcYmoxgLAkmv2HT2aDb8w8se=qH3id4z_Kw@mail.gmail.com' \
--to=footplus@gmail.com \
--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).