ethdev: add generic MAC address rewrite actions
authorXiaoyu Min <jackmin@mellanox.com>
Thu, 11 Oct 2018 13:31:39 +0000 (13:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 18 Oct 2018 08:24:39 +0000 (10:24 +0200)
commit15dbcdaada77e55f2faf7bdcc8575c74934539e3
tree6180cc0d1de9445db841d4c7e4d22ce8ad3ba49b
parenta7cb5bcd281e286bb77f54acb61f59046a66c465
ethdev: add generic MAC address rewrite actions

rte_flow actions:
- RTE_FLOW_ACTION_TYPE_SET_MAC_SRC
- RTE_FLOW_ACTION_TYPE_SET_MAC_DST
added in order to offload to NIC

The rte_flow_itme_eth must be present in rte_flow pattern

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
doc/guides/prog_guide/rte_flow.rst
lib/librte_ethdev/rte_flow.c
lib/librte_ethdev/rte_flow.h