DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Flow director struct rte_flow_item_raw guild
@ 2019-05-09  2:01 曾懷恩
  2019-05-09  2:10 ` 張敬昊
  0 siblings, 1 reply; 11+ messages in thread
From: 曾懷恩 @ 2019-05-09  2:01 UTC (permalink / raw)
  To: users


Hi, 

I have a few questions about structure rte_flow_item_raw.

In DPDK API doc, it shows there are some below elements in this structure

uint32_t	relative:1
uint32_t	search:1
uint32_t	reserved:30
int32_t 	offset
uint16_t	limit
uint16_t	length
const uint8_t * 	pattern

 Now I can understand the relative and search elements are used to determine search type.

The offset element is used to set the start search point in packet.

The limit element is used to set the end search point in packet.

However, I can’t understand what the pattern element is used to?

What kind of pointer should I assign to the pattern element?

Besides, in other rte_flow_item_* structures, there are clearly elements to let user to set contents and masks.

How do I do in the structure rte_flow_item_raw?

Thanks a lot,

Best Regards,


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

end of thread, other threads:[~2019-05-22  3:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-09  2:01 [dpdk-users] Flow director struct rte_flow_item_raw guild 曾懷恩
2019-05-09  2:10 ` 張敬昊
2019-05-09  3:51   ` 曾懷恩
2019-05-09 12:38     ` Adrien Mazarguil
2019-05-10  6:38       ` 曾懷恩
2019-05-10 13:44         ` Adrien Mazarguil
2019-05-10 18:20           ` Huai-En Tseng
2019-05-13  8:49             ` Adrien Mazarguil
2019-05-16  5:34               ` 曾懷恩
2019-05-16  6:00                 ` Tom Barbette
2019-05-22  3:18                   ` 曾懷恩

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).