[systemd-devel] [PATCH] networkd: Introduce tuntap device
Susant Sahani
susant at redhat.com
Tue Jun 24 10:51:42 PDT 2014
On 06/24/2014 10:39 PM, Marcel Holtmann wrote:
> Hi Tom,
>
>>> This patch introduces tuntap support to networkd.
>>>
>>> Example conf
>>>
>>> file : tuntap.netdev
>>>
>>> [NetDev]
>>> Name=tuntap-test
>>> Kind=tuntap
>>>
>>> [TUNTAP]
>>
>> Hm, maybe call this TunTap instead?
>>
>>> Mode=tap
>>> OneQueue=true
>>> MultiQueue=true
>>> PacketInfo=true
>
> I wonder if it might be better separate in Tun and in Tap devices. Tun devices are IP only devices and Tap devices are actual Ethernet devices.
>
> It looks a bit silly that you have to specific Kind=tuntap only to later specific Mode=tap. Why not just do Kind=tap device? That under Linux the setup of both Tun and Tap devices happens via /dev/net/tun is just an implementation detail.
The intention behind keeping Kind=tuntap is related to the driver.
Kind - driver
Mode- how it behaves
. Of cource what you saying is correct implementation details
but Kind is related to the driver.
>
> Regards
>
> Marcel
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
Susant
More information about the systemd-devel
mailing list