> -----Original Message----- > From: Michael Savisko <michael...@nvidia.com> > Sent: Thursday, 11 August 2022 14:36 > > In some cases application may receive a packet that should have been > received by the kernel. In this case application uses KNI or other means > to transfer the packet to the kernel. > This commit introduces rte flow action that the application may use > to route the packet to the kernel while still in the HW. > > Signed-off-by: Michael Savisko <michael...@nvidia.com> > --- > lib/librte_ethdev/rte_flow.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h > index f92bef0184..969a607115 100644 > --- a/lib/librte_ethdev/rte_flow.h > +++ b/lib/librte_ethdev/rte_flow.h > @@ -2853,6 +2853,11 @@ enum rte_flow_action_type { > * See file rte_mtr.h for MTR profile object configuration. > */ > RTE_FLOW_ACTION_TYPE_METER_MARK, > + > + /* > + * Send traffic to kernel. > + */ > + RTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL, > }; > > /** > -- > 2.27.0
Acked-by: Ori Kam <or...@nvidia.com> Best, Ori