From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754532AbdLFCad (ORCPT ); Tue, 5 Dec 2017 21:30:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42716 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754158AbdLFCaa (ORCPT ); Tue, 5 Dec 2017 21:30:30 -0500 Subject: Re: [PATCH net-next V3] tun: add eBPF based queue selection method To: David Miller Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, willemdebruijn.kernel@gmail.com, tom@herbertland.com, aconole@redhat.com, wexu@redhat.com References: <1512379883-11887-1-git-send-email-jasowang@redhat.com> <20171205.120218.108578256595160504.davem@davemloft.net> From: Jason Wang Message-ID: Date: Wed, 6 Dec 2017 10:30:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171205.120218.108578256595160504.davem@davemloft.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 06 Dec 2017 02:30:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017年12月06日 01:02, David Miller wrote: > From: Jason Wang > Date: Mon, 4 Dec 2017 17:31:23 +0800 > >> This patch introduces an eBPF based queue selection method. With this, >> the policy could be offloaded to userspace completely through a new >> ioctl TUNSETSTEERINGEBPF. >> >> Signed-off-by: Jason Wang >> --- >> Changes from V2: >> - call rtnl during netdev free >> - switch to use call_rcu() to prevent DOS from userspace >> - drop the policies setting/getting ioctls and allow detach through >> passing -1 as fd > Applied, thanks Jason. > > I really wish this driver had newlink/changelink support rather than > us adding all of these ioctls... Yes, will add this in my todo list. Thanks