net/virtio-user: adding link speed parameter
authorIvan Dyukov <i.dyukov@samsung.com>
Mon, 30 Mar 2020 07:58:01 +0000 (10:58 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:09 +0000 (13:57 +0200)
commitb0db4bea00fff31fced814069028fc4c1de5cf22
tree671ce9b8e7a6e245b6621a66637c1935b026d0ac
parentbc5b6c11bd81ada50345db5919dc6c7850f91de1
net/virtio-user: adding link speed parameter

virtio driver already parses speed devarg. virtio-user should add
it to list of valid devargs and call eth_virtio_dev_init function
which init speed value.

eth_virtio_dev_init already is called from virtio_user_pmd_probe
function. The only change is required to enable speed devargs:
adding speed to list of valid devargs.

Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/nics/virtio.rst
drivers/net/virtio/virtio_user_ethdev.c