I’m trying to use the E-switch for traffic steering.
I used rte_flow() in DPDK with dv_flow_en = 1 option, but it seems to be an indirect way to control e-switch.
Is there any way to control e-switch APIs?
For example, I want to steer some incoming packets to outside without DMA.
I know hairpin can achieve this, but it seems not on e-switch level.
(Table 40.3 Minimal SW/HW versions for rte_flow offloads in https://doc.dpdk.org/guides/nics/mlx5.html#mlx5-offloads-support shows that the hairpin is available in NIC level, but not in e-switch level.)
Also, I think using hairpin is too heavy for simple packet switching.
Is there any other method than hairpin for L2 packet switching?