numam-dpdk/drivers
Suanming Mou 792e749e92 net/mlx5: fix register usage in meter
Flow with meter will split to three subflows, the prefix subflow with
meter action do the color, the meter subflow  filter the packets, the
suffix subflow do all the left actions for packets pass the filter.
Both the color and the subflow match between prefix and suffix use the
register to store the tag.

For some of the NICs with meter color register share capability, it
only uses 8 LSB of the register for color, the left 24 MSB can be used
for flow id match between meter prefix subflow and suffix subflow.

Currently, one entire register is allocated for flow matching which
causes the NICs with limited registers don't have enough register for
other matching.

Add the meter color share capability checking to fix lacking of
registers issue.

Fixes: 9ea9b049a9 ("net/mlx5: split meter flow")
Cc: stable@dpdk.org

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-02-05 09:51:20 +01:00
..
baseband build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bus eal: remove limitation on cpuset with --lcores 2020-01-21 01:22:33 +01:00
common cryptodev: revert Chacha20-Poly1305 AEAD algorithm 2020-02-05 15:14:46 +01:00
compress crypto/qat: add minimum enqueue threshold 2020-01-15 16:45:04 +01:00
crypto cryptodev: revert Chacha20-Poly1305 AEAD algorithm 2020-02-05 15:14:46 +01:00
event event/dsw: use custom element size ring for control 2020-01-28 07:00:12 +01:00
mempool mempool/octeontx: fix error handling in initialization 2020-01-17 19:46:26 +01:00
net net/mlx5: fix register usage in meter 2020-02-05 09:51:20 +01:00
raw raw/octeontx2_ep: fix shared library 2020-01-20 12:12:14 +01:00
vdpa drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00
Makefile drivers: introduce vDPA class 2020-01-13 23:28:00 +01:00
meson.build net/ipn3ke: fix meson build 2020-01-17 19:45:23 +01:00