net/cnxk: fix default MCAM allocation size
authorSatheesh Paul <psatheesh@marvell.com>
Tue, 6 Jul 2021 08:19:18 +0000 (13:49 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 12 Jul 2021 12:44:20 +0000 (14:44 +0200)
commitd81cea5280112f5f6c8796c2fb0bad72bf29d41e
treed627f7ec589c3f8209a1db6f041f2849382b7831
parentec8f303c6574981781b3de29c315d7fc3e8d6098
net/cnxk: fix default MCAM allocation size

Preallocation of MCAM entries is not valid anymore since the
AF side MCAM allocation scheme has changed. This patch disables
preallocation by changing the default MCAM preallocation size
from 8 to 1.

Fixes: 168c59cfe42 ("net/octeontx2: add flow MCAM utility functions")
Cc: stable@dpdk.org
Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/cnxk/cnxk_ethdev_devargs.c