doc: fix MAC address rewrite actions in prog guide
This patch fixes a typo in SET_MAC_DST action description.
It also adds restriction note for set MAC src/dst actions description.
Fixes: 15dbcdaada
("ethdev: add generic MAC address rewrite actions")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
This commit is contained in:
parent
094eb27507
commit
e76d76b27b
@ -2314,7 +2314,10 @@ in pattern, Some PMDs will reject rule because behaviour will be undefined.
|
||||
Action: ``SET_MAC_SRC``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Set source MAC address
|
||||
Set source MAC address.
|
||||
|
||||
It must be used with a valid RTE_FLOW_ITEM_TYPE_ETH flow pattern item.
|
||||
Otherwise, RTE_FLOW_ERROR_TYPE_ACTION error will be returned.
|
||||
|
||||
.. _table_rte_flow_action_set_mac_src:
|
||||
|
||||
@ -2329,7 +2332,10 @@ Set source MAC address
|
||||
Action: ``SET_MAC_DST``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Set source MAC address
|
||||
Set destination MAC address.
|
||||
|
||||
It must be used with a valid RTE_FLOW_ITEM_TYPE_ETH flow pattern item.
|
||||
Otherwise, RTE_FLOW_ERROR_TYPE_ACTION error will be returned.
|
||||
|
||||
.. _table_rte_flow_action_set_mac_dst:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user