test: l2fwd: stop and close pktio devices on exit
test: l2fwd: stop and close pktio devices on exit

Pktio devices depend on the packet pool, so the devices have to be stopped
and closed before destroying the packet pool. Also, before closing pktio
devices make sure scheduled and plain input queues are empty.

Signed-off-by: Matias Elo <62402263e8617147f0e4dd5b7f6f8ec67f2b3d2c@nokia.com>
Reviewed-by: Bill Fischofer <52f3c909d51cc5d355a68a403df6906b3c1a8f83@linaro.org>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

dkrot/odp,dkrot/odp,dkrot/odp,dkrot/odp