[dpdk-dev] [RFC] ethdev: use special speed for virtual Ethernetdevices

Thomas Monjalon thomas at monjalon.net
Thu Apr 2 22:58:43 CEST 2020


02/04/2020 22:41, Ivan Dyukov:
> 02.04.2020 16:50, Morten Brørup пишет:
> >>>> Yes, if speed is unknown, it should be reported as 0.
> > 
> > Could the DPDK vNIC PMDs be updated accordingly? At least the virtio driver...
> 
> Current version of dpdk code on master always returns 10G speed for 
> virtio device and many application rely on it. e.g. pktgen. If we'll 
> change it, we break the apps.

I am OK with breaking such strange assumption.
I can understand the need for specifying the underlying hardware speed
through virtio driver. But hardcoded 10G... no!




More information about the dev mailing list