Re: [PATCH net-next 05/11] tuntap: tweak on the path of non-xdp case in tun_build_skb()

2018-09-06 Thread Jason Wang
On 2018年09月07日 01:16, Michael S. Tsirkin wrote: On Thu, Sep 06, 2018 at 12:05:20PM +0800, Jason Wang wrote: If we're sure not to go native XDP, there's no need for several things like bh and rcu stuffs. Signed-off-by: Jason Wang True... --- drivers/net/tun.c | 9 ++--- 1 file

Re: [PATCH net-next 05/11] tuntap: tweak on the path of non-xdp case in tun_build_skb()

2018-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2018 at 12:05:20PM +0800, Jason Wang wrote: > If we're sure not to go native XDP, there's no need for several things > like bh and rcu stuffs. > > Signed-off-by: Jason Wang True... > --- > drivers/net/tun.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >

[PATCH net-next 05/11] tuntap: tweak on the path of non-xdp case in tun_build_skb()

2018-09-05 Thread Jason Wang
If we're sure not to go native XDP, there's no need for several things like bh and rcu stuffs. Signed-off-by: Jason Wang --- drivers/net/tun.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index f8cdcfa392c3..389aa0727cc6