[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200521.170419.723885053708627576.davem@davemloft.net>
Date: Thu, 21 May 2020 17:04:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: chrism@...lanox.com
Cc: netdev@...r.kernel.org, yotam.gi@...il.com, jiri@...lanox.com
Subject: Re: [PATCH net-next] net: psample: Add tunnel support
From: Chris Mi <chrism@...lanox.com>
Date: Tue, 19 May 2020 22:45:20 +0800
> Currently, psample can only send the packet bits after decapsulation.
> The tunnel information is lost. Add the tunnel support.
>
> If the sampled packet has no tunnel info, the behavior is the same as
> before. If it has, add a nested metadata field named PSAMPLE_ATTR_TUNNEL
> and include the tunnel subfields if applicable.
>
> Increase the metadata length for sampled packet with the tunnel info.
> If new subfields of tunnel info should be included, update the metadata
> length accordingly.
>
> Signed-off-by: Chris Mi <chrism@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks.
Powered by blists - more mailing lists