Skip to content
Commit 84ca3fc7 authored by Suman Ghosh's avatar Suman Ghosh Committed by Ruiqiang Hao
Browse files

octeontx2-af: Enable hash extraction of IPv6 source/destination



commit 78077fe479d8d5a71645cfc4644d1115813da1a9 from
git@git.assembla.com:cavium/WindRiver.linux.git

As of today hash extraction of IPv6 source/destination IP was enabled by
default for 103x. This patch enables hash extraction based on the MKEX
profile. Hashing of IPV6 SIP/DIP is enabled in below scenarios
1. If the silicon variant supports hashing feature
2. If the number of bytes of IP addr being extracted is 4 bytes ie
   32bit. The assumption here is that if user wants 8bytes of LSB of IP
   address or full 16 bytes then his intention is not to use 32bit hash.

Fixes: 4346e4b46d692 (octeontx2-af: Use hashed field in MCAM key)
Signed-off-by: default avatarSuman Ghosh <sumang@marvell.com>
Change-Id: Id2a471c8ef0bc594ca6c03a3755572b26c4e6c49
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/101589


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 1afc9e4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment