]> 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)
commitb86f644276adad6efb91720ee91d16c0c123ec57
treefa40831dddba5c66bdf23d54f34b0bc9333dae4f
parent92aba8400f7643bbd16ac62b2e16bf4119ac885f
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