net/mlx5: implement drop action in hardware classifier
authorShachar Beiser <shacharbe@mellanox.com>
Sun, 4 Jun 2017 05:25:21 +0000 (05:25 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:56 +0000 (15:00 +0200)
commit4329cb8111f2b58e0927e88b9621f5d3fc8ee434
tree6a2a6cd561454841e47ac42db581bcdf2b4cd4e4
parentcfea1f3048d1bfda61036e6f823949fba4d692d4
net/mlx5: implement drop action in hardware classifier

The current drop action is implemented as a queue tail drop,
requiring to instantiate multiple WQs to maintain high drop rate.
This commit, implements the drop action in hardware classifier.
This enables to reduce the amount of contexts needed for the drop,
without affecting the drop rate.

Signed-off-by: Shachar Beiser <shacharbe@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/Makefile
drivers/net/mlx5/mlx5_flow.c