[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 4 May 2015 17:56:10 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Tom Herbert <tom@...bertland.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 6/6] mpls: Add MPLS entropy label in flow_keys
On Mon, May 04, 2015 at 04:02:40PM -0700, Tom Herbert wrote:
> In flow dissector if an MPLS header contains an entropy label this is
> saved in the new extra entropy field of flow_keys. The entropy label is
> then represented in the flow hash function input.
>
> Signed-off-by: Tom Herbert <tom@...bertland.com>
> ---
> include/uapi/linux/in.h | 2 ++
> include/uapi/linux/mpls.h | 3 +++
> net/core/flow_dissector.c | 27 +++++++++++++++++++++++++++
> 3 files changed, 32 insertions(+)
>
> diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h
> index 589ced0..c86f6ab 100644
> --- a/include/uapi/linux/in.h
> +++ b/include/uapi/linux/in.h
> @@ -69,6 +69,8 @@ enum {
> #define IPPROTO_SCTP IPPROTO_SCTP
> IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */
> #define IPPROTO_UDPLITE IPPROTO_UDPLITE
> + IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */
> +#define IPPROTO_MPLS IPPROTO_SCTP
odd typo. was it tested?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists