Skip to content

Commit 718df0c

Browse files
committed
Revert "dpaa2: do not close devices"
This reverts commit e82a2d4. Signed-off-by: Maxime Leroy <[email protected]>
1 parent 640e12a commit 718df0c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/infra/control/port.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,15 +398,10 @@ static int iface_port_fini(struct iface *iface) {
398398
LOG(ERR, "rte_eth_dev_info_get: %s", rte_strerror(-ret));
399399
if ((ret = rte_eth_dev_stop(port->port_id)) < 0)
400400
LOG(ERR, "rte_eth_dev_stop: %s", rte_strerror(-ret));
401-
// XXX DPDK bus/fslmc VFIO constraint for dpaa2
402-
if (info.driver_name != NULL && strcmp(info.driver_name, "net_dpaa2") == 0)
403-
goto fini;
404401
if ((ret = rte_eth_dev_close(port->port_id)) < 0)
405402
LOG(ERR, "rte_eth_dev_close: %s", rte_strerror(-ret));
406403
if (info.device != NULL && (ret = rte_dev_remove(info.device)) < 0)
407404
LOG(ERR, "rte_dev_remove: %s", rte_strerror(-ret));
408-
409-
fini:
410405
if (port->pool != NULL) {
411406
gr_pktmbuf_pool_release(port->pool, port->pool_size);
412407
port->pool = NULL;

0 commit comments

Comments
 (0)