This will be used by followup patch to tc act ct to recirculate the packet after going to the connection tracking module and share this recirculation from tc to OVS.
Signed-off-by: Paul Blakey <pa...@mellanox.com> --- include/linux/skbuff.h | 1 + net/core/skbuff.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 95d25b0..02768c7 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -3912,6 +3912,7 @@ enum skb_ext_id { #ifdef CONFIG_XFRM SKB_EXT_SEC_PATH, #endif + SKB_EXT_TC_RECIRC_ID, SKB_EXT_NUM, /* must be last */ }; diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 26d8484..57a2655 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -3911,6 +3911,7 @@ int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb) #ifdef CONFIG_XFRM [SKB_EXT_SEC_PATH] = SKB_EXT_CHUNKSIZEOF(struct sec_path), #endif + [SKB_EXT_TC_RECIRC_ID] = SKB_EXT_CHUNKSIZEOF(uint32_t), }; static __always_inline unsigned int skb_ext_total_length(void) @@ -3922,6 +3923,7 @@ static __always_inline unsigned int skb_ext_total_length(void) #ifdef CONFIG_XFRM skb_ext_type_len[SKB_EXT_SEC_PATH] + #endif + skb_ext_type_len[SKB_EXT_TC_RECIRC_ID] + 0; } -- 1.8.3.1