[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKgT0UfdckbsMDM3-uF4gOCumvDmFx6eWFuJx9_oKKUyEVApCA@mail.gmail.com>
Date: Mon, 16 Jul 2018 10:20:54 -0700
From: Alexander Duyck <alexander.duyck@...il.com>
To: "Chopra, Manish" <Manish.Chopra@...ium.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
David Miller <davem@...emloft.net>,
Jiri Pirko <jiri@...nulli.us>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: tc mqprio offload command error
On Sun, Jul 15, 2018 at 6:30 PM, Chopra, Manish
<Manish.Chopra@...ium.com> wrote:
> Hello Folks,
>
> I am trying to set below command to try mqprio offload on 4.18 kernel. It is throwing the flowing error.
>
> # tc qdisc add dev eth0 root mqprio num_tc 2 map 1 1 1 1 0 0 0 0
> RTNETLINK answers: Numerical result out of range
>
> I can't really make out what's wrong with the above command, since this works fine with other OS kernels.
> Any thoughts if it is something broken on upstream kernel ?
>
> Thanks,
> Manish
You might need to specify the traffic class for the 8 remaining
priorities. The full map size is 16 entries, not just 8. The default
value for the last 4 mapping entries is TC 3 which would be out of
range if you only have 2 TCs specified.
- Alex
Powered by blists - more mailing lists