Hi,

In the flow_filtering sample application, the IP's mask was set without
using htonl().
https://github.com/DPDK/dpdk/blob/master/examples/flow_filtering/flow_blocks.c#L85

Another DPDK page <https://doc.dpdk.org/guides/howto/rte_flow.html> shows
how a testpmd command is translated to C code.
On this page though, Example 4.2 (Range IPv4 drop) has used htonl() to set
the mask.

Any clarification on how to load the mask would be helpful.

Thanks,
Arvind

Reply via email to