[dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

Li Zhang lizh at nvidia.com
Thu Apr 1 08:16:15 CEST 2021


Currently meter algorithms only supports rate is bytes per second(BPS).
Add packet_mode flag in meter profile parameters data structure in RTE.
Add the necessary checks to the existing drivers implementing
the rte_mtr API to makes sure that profiles with
packet_mode set to TRUE are rejected.

Depends-on: series=16002  ("Support PPS(packet per second) on meter")
https://patchwork.dpdk.org/project/dpdk/list/?series=16002

Li Zhang (2):
  net/softnic: check meter packet mode
  net/mvpp2: check meter packet mode

 drivers/net/mvpp2/mrvl_mtr.c                | 6 ++++++
 drivers/net/softnic/rte_eth_softnic_meter.c | 8 ++++++++
 2 files changed, 14 insertions(+)

-- 
2.27.0



More information about the dev mailing list