example: generator: retry tx if no failure code is returned
example: generator: retry tx if no failure code is returned

If odp_pktout_send() doesn't return an error code (ret == 0)
try to resend after a small delay. This enables running
odp_l2fwd_run validation test with netmap enabled.

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

mike-holmes-linaro/odp,mike-holmes-linaro/odp,dkrot/odp,erachmi/odp,erachmi/odp,erachmi/odp,mike-holmes-linaro/odp,dkrot/odp,mike-holmes-linaro/odp,erachmi/odp,dkrot/odp,nmorey/odp,ravineet-singh/odp,ravineet-singh/odp,ravineet-singh/odp,nmorey/odp,ravineet-singh/odp,dkrot/odp,nmorey/odp,nmorey/odp