[dpdk-dev] [PATCH v3] kni: create KNI interface in current network namespace

Nicolas Dichtel nicolas.dichtel at 6wind.com
Wed Dec 3 11:51:29 CET 2014


Le 03/12/2014 02:37, Takayuki Usui a écrit :
> With this patch, KNI interface (e.g. vEth0) is created in the
> network namespace where the DPDK application is running.
> Otherwise, all interfaces are created in the default namespace
> in the host.
>
> put_net() is required, since get_net_ns_by_pid() increments
> the reference counter of the network namespace with get_net().
>
> Signed-off-by: Takayuki Usui <takayuki at midokura.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel at 6wind.com>


More information about the dev mailing list