summaryrefslogtreecommitdiff
path: root/service/src/node.c
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2022-11-03 20:00:47 +0800
committersongyanchao <[email protected]>2022-12-23 01:52:25 -0500
commit9f54271f51a3e0d23628c5fa3e89ddb017deb413 (patch)
treeabcf90d4ad20d16b57074d26034732711eefcd4e /service/src/node.c
parente01b25a8e5504899e997d5eab8c5a3ff29016531 (diff)
重构设备管理器模块,将物理设备和虚拟设备一起管理。
Diffstat (limited to 'service/src/node.c')
-rw-r--r--service/src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/node.c b/service/src/node.c
index 25f581c..7d26fdb 100644
--- a/service/src/node.c
+++ b/service/src/node.c
@@ -30,7 +30,7 @@ static int ethdev_rx_tx_nodes_setup(struct sc_main * sc, struct node_manager_mai
*/
/* perpare the node_ethdev_config structures for physical devices */
- struct phydev * phydev_iter = NULL;
+ struct dpdk_dev * phydev_iter = NULL;
unsigned int nr_workers = sc->nr_io_thread;
while (phydev_iterate(sc->phydev_main, &phydev_iter) >= 0)