[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140327103427.GG2845@minipsycho.orion>
Date: Thu, 27 Mar 2014 11:34:27 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, nhorman@...driver.com,
andy@...yhouse.net, tgraf@...g.ch, dborkman@...hat.com,
ogerlitz@...lanox.com, jesse@...ira.com, pshelar@...ira.com,
azhou@...ira.com, ben@...adent.org.uk, stephen@...workplumber.org,
jeffrey.t.kirsher@...el.com, vyasevic@...hat.com,
xiyou.wangcong@...il.com, john.r.fastabend@...el.com,
edumazet@...gle.com, jhs@...atatu.com, sfeldma@...ulusnetworks.com,
f.fainelli@...il.com, roopa@...ulusnetworks.com,
linville@...driver.com, dev@...nvswitch.org
Subject: Re: [patch net-next RFC v2 2/6] skbuff: add "missed_flow" flag
Thu, Mar 27, 2014 at 11:31:42AM CET, nicolas.dichtel@...nd.com wrote:
>Le 26/03/2014 17:31, Jiri Pirko a écrit :
>>This flag sets incoming switch device in order to let know that the flow
>>which the skb is part of is missed. Listener may react to it
>>appropriately,
>>
>>Signed-off-by: Jiri Pirko <jiri@...nulli.us>
>>---
>> include/linux/filter.h | 1 +
>> include/linux/skbuff.h | 13 +++++++++++++
>> net/core/filter.c | 3 +++
>> 3 files changed, 17 insertions(+)
>>
>>diff --git a/include/linux/filter.h b/include/linux/filter.h
>>index e568c8e..38c7c04 100644
>>--- a/include/linux/filter.h
>>+++ b/include/linux/filter.h
>>@@ -154,6 +154,7 @@ enum {
>> BPF_S_ANC_VLAN_TAG,
>> BPF_S_ANC_VLAN_TAG_PRESENT,
>> BPF_S_ANC_PAY_OFFSET,
>>+ BPF_S_ANC_MISSED_FLOW,
>> };
>>
>> #endif /* __LINUX_FILTER_H__ */
>>diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
>>index 03db95a..0100c2f 100644
>>--- a/include/linux/skbuff.h
>>+++ b/include/linux/skbuff.h
>>@@ -567,6 +567,7 @@ struct sk_buff {
>> * headers if needed
>> */
>> __u8 encapsulation:1;
>>+ __u8 missed_flow:1;
>> /* 6/8 bit hole (depending on ndisc_nodetype presence) */
>Please fix also the comment.
will do. Thanks.
--
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