[dpdk-dev] [PATCH v4 6/8] net/vdev_netvsc: skip routed netvsc probing

Stephen Hemminger stephen at networkplumber.org
Thu Jan 18 19:26:47 CET 2018


On Thu, 18 Jan 2018 08:43:44 +0000
Matan Azrad <matan at mellanox.com> wrote:

> NetVSC netdevices which are already routed should not be probed because
> they are used for management purposes by the HyperV.
> 
> prevent routed netvsc devices probing.
> 
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> Signed-off-by: Matan Azrad <matan at mellanox.com>

Just checking for interface IPv4 or IPv6 (non-link local) is enough.
If device has a L3 address than skip it.

No need to read route table which maybe huge in some environments.


More information about the dev mailing list