[dpdk-dev] [PATCH v10 0/6] net/virtio: add link speed devarg

Ivan Dyukov i.dyukov at samsung.com
Wed Apr 15 22:03:52 CEST 2020


 doc/guides/nics/virtio.rst              |  15 +++++++++++++++
 drivers/net/virtio/virtio_ethdev.c      | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
 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, 183 insertions(+), 39 deletions(-)

v10 changes:
* [PATCH 1/6] unknown speed is moved to first patch
* [PATCH 3/6] rebased to latest changes
* [PATCH 4/6] updated commit message
* [PATCH 6/6] rebased to latest changes

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