[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170424190743.4ad24ad1@cakuba.netronome.com>
Date: Mon, 24 Apr 2017 19:07:43 -0700
From: Jakub Kicinski <kubakici@...pl>
To: Jamal Hadi Salim <jhs@...atatu.com>
Cc: David Miller <davem@...emloft.net>, benjamin.lahaise@...ronome.com,
netdev@...r.kernel.org, bcrl@...ck.org,
Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH net-next 0/2] flower: add MPLS matching support
On Mon, 24 Apr 2017 22:06:08 -0400, Jamal Hadi Salim wrote:
> On 17-04-24 10:00 PM, Jamal Hadi Salim wrote:
> > On 17-04-24 09:48 PM, Jamal Hadi Salim wrote:
>
> >
> > Hrm. maybe I am wrong.
> > Lets say user sets all of the 8 bits in BOS,
> > what does setting
> > key_val->mpls_bos = nla_get_u8 do?
> >
> > Same with the 20 bits for the label in the u32
> > or 3 bit bits in the u8 tc.
>
> The label and tc are masked - maybe just the BOS
> needs something similar?
Indeed, good catch!
Powered by blists - more mailing lists