lkml.org 
[lkml]   [2017]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V2 net-next 5/7] tun: support receiving skb through msg_control
From
Date


On 2017年03月30日 23:06, Michael S. Tsirkin wrote:
> On Thu, Mar 30, 2017 at 03:22:28PM +0800, Jason Wang wrote:
>> This patch makes tun_recvmsg() can receive from skb from its caller
>> through msg_control. Vhost_net will be the first user.
>>
>> Signed-off-by: Jason Wang<jasowang@redhat.com>
> Do we need to bother with tun? I didn't realize one
> can even use that with vhost. What would be the point of
> all the virtio header stuff dealing with checksums etc?
>
> Even if you see a use-case is it worth optimizing?
>
>

It's for tap in fact. I use "tun" just because we have already had a
tap.c which is used by macvtap.

Thanks

\
 
 \ /
  Last update: 2017-03-31 06:10    [W:0.046 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site