[dpdk-dev] [PATCH v9 0/5] net/virtio: add link speed devarg

Ivan Dyukov i.dyukov at samsung.com
Mon Apr 6 10:57:58 CEST 2020


doc/guides/nics/virtio.rst              |  15 +++++++++++++++
drivers/net/virtio/virtio_ethdev.c      | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
drivers/net/virtio/virtio_ethdev.h      |   3 ++-
drivers/net/virtio/virtio_pci.h         |  16 ++++++++++++++++
drivers/net/virtio/virtio_user_ethdev.c |  18 +++++++++++++-----
lib/librte_ethdev/rte_ethdev.h          |  27 ++++++++++++++-------------
6 files changed, 184 insertions(+), 39 deletions(-)

v9 chagnes:
* [PATCH 2/5] remove limited set of acceptable speeds [10G, 20G, 40G, 56G, 100G], now all natural numbers are acceptable
* [PATCH 2/5] returns speed_capa as maximum available capability for specified speed
* [PATCH 5/5] remove duplex negotiation
* [PATCH 5/5] set default speed to 0xffffffff

v8 changes:
* fix code style

v7 chagnes:
* rebased to latest master
* added support of VIRTIO_NET_F_SPEED_DUPLEX

v6 changes:
* fix code style

v5 changes:
* fixed code style
* fixed commit message and logging text

v4 changes:
* link_speed renamed to speed devarg
* speed devarg is added to virtio-user driver

v3 changes:
* link_speed devarg is added to virtio documentation




More information about the dev mailing list