Hi Simon, BSP, > -----Original Message----- > From: SimonX Lu <simonx...@intel.com> > Sent: Wednesday, October 14, 2020 11:41 AM > To: dev@dpdk.org > Cc: jia....@intel.com; haiyue.w...@intel.com; qiming.y...@intel.com; > beilei.x...@intel.com; Ori Kam <or...@nvidia.com>; Simon Lu > <simonx...@intel.com> > Subject: [PATCH v1 1/8] ethdev: support the mirror action for flow > > From: Simon Lu <simonx...@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...@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