node: add IPv4 rewrite and lookup control
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Sat, 11 Apr 2020 14:14:22 +0000 (19:44 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 5 May 2020 21:41:30 +0000 (23:41 +0200)
commitf00708c2aa53177273bc06745a6163a72254fa47
tree57a25fc902c8d1ec3f574841b1394c9867681f14
parent0d352661e066fe2cb386753c89368f014fc4396b
node: add IPv4 rewrite and lookup control

Add ip4_rewrite and ip4_lookup ctrl API. ip4_lookup ctrl
API is used to add route entries for LPM lookup with
result data containing next hop id and next proto.
ip4_rewrite ctrl API is used to add rewrite data for
every next hop.

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/ethdev_ctrl.c
lib/librte_node/ip4_lookup.c
lib/librte_node/ip4_rewrite.c
lib/librte_node/ip4_rewrite_priv.h
lib/librte_node/rte_node_ip4_api.h
lib/librte_node/rte_node_version.map