1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/marvell/octeontx2
Suman Ghosh 4e62c99d71 octeontx2-af: Fix hash extraction enable configuration
As of today, hash extraction support is enabled for all the silicons.
Because of which we are facing initialization issues when the silicon
does not support hash extraction. During creation of the hardware
parsing table for IPv6 address, we need to consider if hash extraction
is enabled then extract only 32 bit, otherwise 128 bit needs to be
extracted. This patch fixes the issue and configures the hardware parser
based on the availability of the feature.

Fixes: a95ab93550 ("octeontx2-af: Use hashed field in MCAM key")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230721061222.2632521-1-sumang@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-07-25 10:12:26 +02:00
..
af octeontx2-af: Fix hash extraction enable configuration 2023-07-25 10:12:26 +02:00
nic octeontx2-pf: mcs: Generate hash key using ecb(aes) 2023-07-18 19:21:56 -07:00
Kconfig octeontx2-pf: Add support for page pool 2023-05-23 10:47:50 +02:00
Makefile octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00