DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] rte_flow() usage of htonl() for ipv4 addr masks?
@ 2020-08-10  2:03 Arvind Narayanan
  2020-08-10  2:56 ` Cliff Burdick
  0 siblings, 1 reply; 4+ messages in thread
From: Arvind Narayanan @ 2020-08-10  2:03 UTC (permalink / raw)
  To: users


In the flow_filtering sample application, the IP's mask was set without
using htonl().

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-10 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10  2:03 [dpdk-users] rte_flow() usage of htonl() for ipv4 addr masks? Arvind Narayanan
2020-08-10  2:56 ` Cliff Burdick
2020-08-10  3:14   ` Arvind Narayanan
2020-08-10 15:18     ` Stephen Hemminger

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git