-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/sfc: support packet replay in transfer flows
Packet replay enables users to leverage multiple counters in one flow and allows to request delivery to multiple ports. A given flow rule may use either one inline count action and multiple indirect counters or just multiple indirect counters. The inline count action (if any) must come before the first delivery action or before the first indirect count action, whichever comes earlier. These are some testpmd examples of supported multi-count and mirroring use cases: flow create 0 transfer pattern represented_port ethdev_port_id is 0 / end \ actions port_representor port_id 0 / port_representor port_id 1 / end or flow indirect_action 0 create action_id 239 transfer action count / end flow create 0 transfer pattern represented_port ethdev_port_id is 0 / end \ actions count / port_representor port_id 0 / indirect 239 / \ port_representor port_id 1 / end or flow indirect_action 0 create action_id 239 transfer action count / end flow create 0 transfer pattern represented_port ethdev_port_id is 0 / end \ actions indirect 239 / port_representor port_id 0 / indirect 239 / \ port_representor port_id 1 / end and the likes. Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Acked-by: Andrew Rybchenko <[email protected]>
- Loading branch information
1 parent
f858880
commit f538209
Showing
6 changed files
with
968 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.