[PACKET_IO]bugfix for marsio mode

This commit is contained in:
liuwentan
2022-07-29 13:31:09 +08:00
parent 90b60f637e
commit ee2513fde4
11 changed files with 209 additions and 154 deletions

View File

@@ -60,7 +60,7 @@ packet_io_init(const char *instance_name, const enum packet_io_run_mode mode, co
return nullptr;
}
struct packet_io_device *ppio_dev = packet_io_open_device(ppio_inst, "eth1", wrk_thread_num, wrk_thread_num);
struct packet_io_device *ppio_dev = packet_io_device_open(ppio_inst, "eth1", wrk_thread_num, wrk_thread_num);
if (nullptr == ppio_dev) {
log_error(ST_ERR_PIO_DEVICE, "packet_io device open failed.");