summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorSuman Ghosh <sumang@marvell.com>2022-11-18 11:03:29 +0530
committerPaolo Abeni <pabeni@redhat.com>2022-11-22 09:39:25 +0100
commit674b3e164238a31f236ac63f82d5d160f7d4c201 (patch)
tree963b56f81fa96b84e0962a7a0ccd3e837ae8beca /samples
parent696450c05181559a35d4d5bee55c465b1ac6fe2e (diff)
downloadlinux-674b3e164238a31f236ac63f82d5d160f7d4c201.tar.bz2
octeontx2-pf: Add additional checks while configuring ucast/bcast/mcast rules
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions