[dpdk-dev] [PATCH v3 2/2] net/virtio: add link speed devarg
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Feb 12 11:00:15 CET 2020
On 2/7/20 12:25 PM, Ivan Dyukov wrote:
> Some applications like pktgen use link_speed to calculate
> transmit rate. It limits outcome traffic to hardcoded 10G.
>
> This patch adds link_speed devarg which allows to configure
> link_speed of virtio device.
>
> Signed-off-by: Ivan Dyukov <i.dyukov at samsung.com>
> ---
> doc/guides/nics/virtio.rst | 7 ++
> drivers/net/virtio/virtio_ethdev.c | 101 ++++++++++++++++++++++++-----
> drivers/net/virtio/virtio_pci.h | 1 +
> 3 files changed, 92 insertions(+), 17 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list