DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Problem installing rules with counters on MLX5
@ 2018-10-11 12:00 Georgios Katsikas
  2018-10-11 12:16 ` Raslan Darawsheh
  0 siblings, 1 reply; 7+ messages in thread
From: Georgios Katsikas @ 2018-10-11 12:00 UTC (permalink / raw)
  To: users

Dear all,

I am trying to install 3 simple rules (to match ICMP, TCP, and UDP flows)
on a Mellanox ConnectX-5 100 GbE NIC using DPDK's flow API.
The rules are as follows:

   1. flow create 0 ingress pattern eth type is 2048 / ipv4 proto spec 1
   proto mask 0x0 / end actions queue index 0 / count / end
   2. flow create 0 ingress pattern eth type is 2048 / ipv4 proto spec 6
   proto mask 0x0 / end actions queue index 0 / count / end
   3. flow create 0 ingress pattern eth type is 2048 / ipv4 proto spec 17
   proto mask 0x0 / end actions queue index 0 / count / end

Only the first rule gets properly installed. The remaining 2 rules throw
the following error:
Caught error type 1 (cause unspecified): hardware refuses to create flow

If I try to incorporate 'count identifier <index> shared 0', I still get
error (with or without shared).
If I try to install the same rules without action count, then everything
works as expected.
Action count on rules that match src/dst IP addresses works fine.
Could you please shed some light on this?

I am using DPDK 18.08 with Mellanox OFED 4.4-2.0.7.0 (latest).

Thanks,
Georgios

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

end of thread, other threads:[~2018-10-15 11:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-11 12:00 [dpdk-users] Problem installing rules with counters on MLX5 Georgios Katsikas
2018-10-11 12:16 ` Raslan Darawsheh
2018-10-11 12:21   ` Georgios Katsikas
2018-10-12 16:11   ` Cliff Burdick
2018-10-14  7:43     ` Raslan Darawsheh
2018-10-14 13:26       ` Cliff Burdick
2018-10-15 11:02         ` Raslan Darawsheh

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).