Re: [PATCH net-next] net: psample: Add tunnel support

2020-05-21 Thread David Miller
From: Chris Mi 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 metad

[PATCH net-next] net: psample: Add tunnel support

2020-05-19 Thread Chris Mi
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 subfie