[dpdk-dev] [PATCH v1 1/8] ethdev: support the mirror action for flow
Ori Kam
orika at nvidia.com
Wed Oct 14 14:07:07 CEST 2020
Hi Simon,
BSP,
> -----Original Message-----
> From: SimonX Lu <simonx.lu at intel.com>
> Sent: Wednesday, October 14, 2020 11:41 AM
> To: dev at dpdk.org
> Cc: jia.guo at intel.com; haiyue.wang at intel.com; qiming.yang at intel.com;
> beilei.xing at intel.com; Ori Kam <orika at nvidia.com>; Simon Lu
> <simonx.lu at intel.com>
> Subject: [PATCH v1 1/8] ethdev: support the mirror action for flow
>
> From: Simon Lu <simonx.lu at intel.com>
>
> Added the mirror type within rte_filter_type, and defined corresponding
> action & item to support mirror in rte_flow.
>
> Signed-off-by: Simon Lu <simonx.lu at intel.com>
> ---
> lib/librte_ethdev/rte_eth_ctrl.h | 1 +
> lib/librte_ethdev/rte_flow.c | 1 +
> lib/librte_ethdev/rte_flow.h | 7 +++++++
> 3 files changed, 9 insertions(+)
>
Why did you create new action?
There was a new action "sampling" submitted in this release.
When set to 1 it means mirror since all packets will get duplicated
Please review https://patches.dpdk.org/cover/78893/
Thanks,
Ori
More information about the dev
mailing list