File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments