OSDN Git Service

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)
commit891b8f33218d0be4c56b702606d4be3da3eb2d8f
treefa40831dddba5c66bdf23d54f34b0bc9333dae4f
parentd9fb932fde217b15eab2111605b05a05b47ea593
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