Modify vlan filter log.

This commit is contained in:
fengbojiang 2023-09-27 11:18:52 +08:00
parent 2b8b0936db
commit 2e31158d7d
1 changed files with 2 additions and 2 deletions

View File

@ -754,10 +754,10 @@ init_port_start(void)
vlan_id = ff_global_cfg.dpdk.vlan_filter_id[vlan_idx];
if (rte_eth_dev_vlan_filter(port_id, vlan_id, on)) {
printf("Port %u set vlan %u on %d failed.\n",
printf("Port %u set vlan filter id %u on %d failed.\n",
port_id, vlan_id, on);
} else {
printf("Port %u set vlan %u on %d success.\n",
printf("Port %u set vlan filter id %u on %d success.\n",
port_id, vlan_id, on);
}
}