ipdk icon indicating copy to clipboard operation
ipdk copied to clipboard

does ipdk stratum support direct meter?

Open ad-c2-ip58n4 opened this issue 2 years ago • 1 comments

I would like to use the direct meter feature of IPDK Stratum, but I could not find the relevant code in any branch. Is there any development plan for this feature? Also, the direct meter defined in the P4Runtime protocol does not support meter types such as bps or pps. How should this be handled?

ad-c2-ip58n4 avatar Jul 17 '23 13:07 ad-c2-ip58n4

We're currently downstreaming changes from the Stratum parent project and integrating them into the IPDK fork. This includes the addition of direct meter support in P4InfoManager. The pending updates are in the stratum-changes branch.

The team working on the Intel IPU E2100 have defined two vendor-specific meter types, PacketModMeter and DirectPacketModMeter, modeled on RFC 2697. The proposed additions to P4Info have been implemented in the IPDK forks of P4Runtime and Stratum.

Does this answer your questions?

ffoulkes avatar Jan 28 '24 17:01 ffoulkes