summaryrefslogtreecommitdiff
path: root/scripts/extract-ikconfig
diff options
context:
space:
mode:
authorSuman Ghosh <sumang@marvell.com>2022-11-18 11:03:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 11:53:36 +0200
commit2b84d24d3ad19f4ca6e8a2aafd10ae62cbb12dbf (patch)
tree29dbe6c1f31899ec07f89c922c9f31a0811a84be /scripts/extract-ikconfig
parentbd9234da97fd5ddf98e61b836773d862335b128d (diff)
octeontx2-pf: Add additional checks while configuring ucast/bcast/mcast rules
[ Upstream commit 674b3e164238a31f236ac63f82d5d160f7d4c201 ] 1. If a profile does not support DMAC extraction then avoid installing NPC flow rules for unicast. Similarly, if LXMB(L2 and L3) extraction is not supported by the profile then avoid installing broadcast and multicast rules. 2. Allow MCAM entry insertion for promiscuous mode. 3. For the profiles where DMAC is not extracted in MKEX key default unicast entry installed by AF is not valid. Hence do not use action from the AF installed default unicast entry for such cases. 4. Adjacent packet header fields in a packet like IP header source and destination addresses or UDP/TCP header source port and destination can be extracted together in MKEX profile. Therefore MKEX profile can be configured to in two ways: a. Total of 4 bytes from start of UDP header(src port + destination port) or b. Two bytes from start and two bytes from offset 2 Signed-off-by: Suman Ghosh <sumang@marvell.com> Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Link: https://lore.kernel.org/r/20221118053329.2288486-1-sumang@marvell.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Stable-dep-of: 406bed11fb91 ("octeontx2-af: Update/Fix NPC field hash extract feature") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/extract-ikconfig')
0 files changed, 0 insertions, 0 deletions