> -----Original Message----- > From: Zhichao Zeng <zhichaox.z...@intel.com> > Sent: Saturday, September 17, 2022 9:49 AM > To: dev@dpdk.org > Cc: Zhou, YidingX <yidingx.z...@intel.com>; Zeng, ZhichaoX > <zhichaox.z...@intel.com>; Yang, Qiming <qiming.y...@intel.com>; Zhang, > Qi Z <qi.z.zh...@intel.com> > Subject: [PATCH] net/ice: support traffic to original DCF port > > Add support for sending traffic to the original DCF port with > 'port_representor' action by using DCF port id as 'port_id'. > > For example: > testpmd> flow create 0 ingress pattern any > / end actions port_representor port_id 0 / end > > Signed-off-by: Zhichao Zeng <zhichaox.z...@intel.com> > --- > doc/guides/nics/features/ice.ini | 1 + > drivers/net/ice/ice_switch_filter.c | 25 +++++++++++++++++++++++++ > 2 files changed, 26 insertions(+) >
Tested and passed, using 'port_representor' action covering dcf to self dcf, dcf to other dcf, dcf to iavf, dcf to iavf of other dcf. Tested-by: Ke Xu <ke1...@intel.com>