Forward packets from and to the same port using DOCA-Flow

Hi, I’m trying to forward packet from a port to the same port using DOCA-Flow.

By changing following code line to fwd.port_id = port_id; (The original code works perfectly)

However, it resulted in segfault in doca flow library. Is there any way to forward packets from and to the same port?

Hello @pusnow1 ,

Thank you for posting your query on our community.

According to the NVIDIA DOCA Flow documentation, a port cannot be paired with itself — which implies that forwarding packets from a port back to the same port is not supported.

You can find the relevant statement under the API documentation for doca_flow_port_pair.

Thanks,

Bhargavi

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.