sync the changes from bf-drivers: drv-5395 fix terminal mismatch between model and hw #6477
sync the changes from bf-drivers:
drv-5395 fix terminal mismatch between model and hw #6477

p4lang/p4-dpdk-target,p4lang/p4-dpdk-target,p4lang/p4-dpdk-target,p4lang/p4-dpdk-target