[PATCH 1/3] ethdev: add send to kernel action
Thomas Monjalon
thomas at monjalon.net
Mon Sep 12 15:14:45 CEST 2022
Hi,
Please don't split ethdev, testpmd and doc in different patches.
They are all very related and may come together in a single patch.
12/09/2022 14:59, Michael Savisko:
> 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.
You should mention bifurcated driver capability:
in isolated mode, with mlx5, we can receive directly in the kernel.
Are we able to do the same with Linux TC rules?
> This commit introduces rte flow action that the application may use
> to route the packet to the kernel while still in the HW.
Should we understand it is the opposite of isolated mode?
[...]
> + /*
> + * Send traffic to kernel.
> + */
You should make explicit that the traffic is directed to the kernel,
without going to userspace at all.
A reference to the isolated mode would be worthwhile as well.
> + RTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL,
More information about the dev
mailing list