[dpdk-dev] [RFC v8] /net: memory interface (memif)
Stephen Hemminger
stephen at networkplumber.org
Thu May 16 17:28:57 CEST 2019
On Thu, 16 May 2019 13:46:58 +0200
Jakub Grajciar <jgrajcia at cisco.com> wrote:
> diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
> index f0061d99f..b05f1462d 100644
> --- a/app/test-pmd/testpmd.c
> +++ b/app/test-pmd/testpmd.c
> @@ -2493,6 +2493,8 @@ pmd_test_exit(void)
> device = rte_eth_devices[pt_id].device;
> if (device && !strcmp(device->driver->name, "net_virtio_user"))
> detach_port_device(pt_id);
> + else if (device && !strcmp(device->driver->name, "net_memif"))
> + detach_port_device(pt_id);
> }
> }
Why not do a proper implementation of dev_close instead of pushing
the problem onto the application.
The existing virtio_user hack is a bug and it should be fixed.
More information about the dev
mailing list