#
efbeaee0 |
| 23-Apr-2018 |
Gaetan Rivet <gaetan.rivet@6wind.com> |
net/vdev_netvsc: do not reference devargs list
This list should not be used by drivers. Use the public API instead.
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Thomas Monjalon <t
net/vdev_netvsc: do not reference devargs list
This list should not be used by drivers. Use the public API instead.
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
5feecc57 |
| 20-Mar-2018 |
Shahaf Shuler <shahafs@mellanox.com> |
align SPDX Mellanox copyrights
Aligning Mellanox SPDX copyrights to a single format. In addition replace to SPDX licence files which were missed.
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
align SPDX Mellanox copyrights
Aligning Mellanox SPDX copyrights to a single format. In addition replace to SPDX licence files which were missed.
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
show more ...
|
#
b0c0efb4 |
| 27-Feb-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: fix routed devices probing
NetVSC netdevices which are already routed should not be probed because they are used for management purposes by the HyperV.
The corrupted code got the r
net/vdev_netvsc: fix routed devices probing
NetVSC netdevices which are already routed should not be probed because they are used for management purposes by the HyperV.
The corrupted code got the routed devices from the system file /proc/net/route and wrongly parsed only the odd lines, so devices which their routes were in even lines, were considered as unrouted devices and were probed.
Use linux netlink lib to detect the routed NetVSC devices instead of file parsing.
Fixes: 31182fadfb21 ("net/vdev_netvsc: skip routed netvsc probing") Cc: stable@dpdk.org
Suggested-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
f99b4b07 |
| 05-Feb-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: fix device detection error check
The vdev_netvsc driver does periodic detection of PCI devices matched to the netvsc existed interfaces.
When it finds a match, the PCI address is w
net/vdev_netvsc: fix device detection error check
The vdev_netvsc driver does periodic detection of PCI devices matched to the netvsc existed interfaces.
When it finds a match, the PCI address is written to the pipe of the associated fail-safe PMD instance and a positive value is returned to the periodic check which is wrongly considered as error.
Change the check to consider only a negative value as error.
Fixes: e7dc5d7becc5 ("net/vdev_netvsc: implement core functionality")
Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
56252de7 |
| 18-Jan-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: add automatic probing
Using DPDK in Hyper-V VM systems requires vdev_netvsc driver to pair the NetVSC netdev device with the same MAC address PCI device by fail-safe PMD.
Add vdev_
net/vdev_netvsc: add automatic probing
Using DPDK in Hyper-V VM systems requires vdev_netvsc driver to pair the NetVSC netdev device with the same MAC address PCI device by fail-safe PMD.
Add vdev_netvsc custom scan in vdev bus to allow automatic probing in Hyper-V VM systems unless it was already specified by command line.
Add "ignore" parameter to disable this auto-detection.
Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
658dea3a |
| 18-Jan-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: add force parameter
This parameter allows specifying any non-NetVSC interface or routed NetVSC interfaces to use with tap sub-devices for development purposes.
Signed-off-by: Adrie
net/vdev_netvsc: add force parameter
This parameter allows specifying any non-NetVSC interface or routed NetVSC interfaces to use with tap sub-devices for development purposes.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
31182fad |
| 18-Jan-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: skip routed netvsc probing
NetVSC netdevices which are already routed should not be probed because they are used for management purposes by the HyperV.
prevent routed netvsc device
net/vdev_netvsc: skip routed netvsc probing
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@mellanox.com> Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
e7dc5d7b |
| 18-Jan-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: implement core functionality
As described in more details in the attached documentation (see patch contents), this virtual device driver manages NetVSC interfaces in virtual machine
net/vdev_netvsc: implement core functionality
As described in more details in the attached documentation (see patch contents), this virtual device driver manages NetVSC interfaces in virtual machines hosted by Hyper-V/Azure platforms.
This driver does not manage traffic nor Ethernet devices directly; it acts as a thin configuration layer that automatically instantiates and controls fail-safe PMD instances combining tap and PCI sub-devices, so that each NetVSC interface is exposed as a single consolidated port to DPDK applications.
PCI sub-devices being hot-pluggable (e.g. during VM migration), applications automatically benefit from increased throughput when present and automatic fallback on NetVSC otherwise without interruption thanks to fail-safe's hot-plug handling.
Once initialized, the sole job of the vdev_netvsc driver is to regularly scan for PCI devices to associate with NetVSC interfaces and feed their addresses to corresponding fail-safe instances.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
6086ab3b |
| 18-Jan-2018 |
Matan Azrad <matan@mellanox.com> |
net/vdev_netvsc: introduce Hyper-V platform driver
This patch lays the groundwork for this driver (draft documentation, copyright notices, code base skeleton and build system hooks). While it can be
net/vdev_netvsc: introduce Hyper-V platform driver
This patch lays the groundwork for this driver (draft documentation, copyright notices, code base skeleton and build system hooks). While it can be successfully compiled and invoked, it's an empty shell at this stage.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|