]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Allocate smaller size tables for ft offload
authorPaul Blakey <paulb@mellanox.com>
Wed, 8 Jan 2020 12:31:53 +0000 (14:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 9 Mar 2020 23:58:40 +0000 (16:58 -0700)
commit816d99f06eed2d75a5c03dc263678b8e3af467a7
treefa40831dddba5c66bdf23d54f34b0bc9333dae4f
parentcb696f379572bcba7d3af658facb42a826d3c13d
net/mlx5: Allocate smaller size tables for ft offload

Instead of giving ft tables one of the largest tables available - 4M,
give it a more reasonable size - 64k. Especially since it will
always be created as a miss hook in the following patch.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_chains.c