net/e1000: fix Tx prepare to set positive rte_errno
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 5 Jun 2019 08:15:56 +0000 (09:15 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:30 +0000 (23:54 +0900)
commitecafec261e9921d963a68ec40b652a9df6626f60
tree267766237b79cf242ec79542ae387a416a211440
parent328121fd9efe8a1db013459b29b11f8d7687fed2
net/e1000: fix Tx prepare to set positive rte_errno

Fixes: 2b76648872c9 ("net/e1000: add Tx preparation")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/e1000/em_rxtx.c
drivers/net/e1000/igb_rxtx.c