[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ae82894-fc8b-2ad9-7dfd-cf74cd6042a1@mojatatu.com>
Date: Mon, 24 Apr 2017 21:48:39 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Jakub Kicinski <kubakici@...pl>
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 17-04-24 09:20 PM, Jakub Kicinski wrote:
> On Mon, 24 Apr 2017 20:58:18 -0400, Jamal Hadi Salim wrote:
>> On 17-04-24 02:32 PM, David Miller wrote:
>> You have 3 TLVs, one of which is u8 that only allows use of 3 bits.
>> The other is a u32 which allows only 20 bits to be set.
>
> I don't think we will ever reuse bits in a field which is called
> MPLS_LABEL for anything else than an MPLS label.
That is true. So maybe bad example. It also helps the mpls disector
wont for example allow copying of more than 20 bits for a label.
cheers,
jamal
Powered by blists - more mailing lists