About doca flow

  1. Can doca flow matching a packet with multiple rules at the same time, and forward with different actions?

For example, one rule matching the source ip address and the other matching destination address.

  1. Can doca flow match L4 ports directly?

If I want to match l4 ports only, I have to specify both out_l4_type and out_dst_ip.type, in addition to out_dst_port. Is this mandatory?

Many thanks in advance.

Best wishes,
Kyle

Hi,

1.No each flow can only match a packet with one single rule each time.

2.Yes, that’s a mandatory. Please refer to the “Setting Pipe Match” in this document link.
NVIDIA DOCA Flow

Thanks!
Best Regards