node: add ethdev Tx
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Sat, 11 Apr 2020 14:14:16 +0000 (19:44 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 5 May 2020 21:38:31 +0000 (23:38 +0200)
commit77edede86f397c31fd2d10b6a4b26745e158804e
tree77ee16e4db7626bfec029f6da5fc59dbb5a7af54
parentf0f804236f088d384998ef85d574d6b5debf8ee9
node: add ethdev Tx

Add rte_node ethdev_tx process function and register it to
graph infra. This node has a specific (port, tx-queue) as context
and it enqueue's all the packets received to that specific queue pair.
When rte_eth_tx_burst() i.e enqueue to queue pair fails, packets
are forwarded to pkt_drop node to be free'd.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
lib/librte_node/Makefile
lib/librte_node/ethdev_tx.c [new file with mode: 0644]
lib/librte_node/ethdev_tx_priv.h [new file with mode: 0644]
lib/librte_node/meson.build