summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorStanislaw Kardach <skardach@marvell.com>2020-11-14 22:52:51 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-18 00:48:20 +0300
commitf1517f6f1d6fd97a18836b0fb6921f2cb105eeb4 (patch)
tree3a37ddf6662fa1b42af0525a16d191e9f73f391b /Documentation
parentf73659192b0bdf7bad826587b3530cef43cc048d (diff)
downloadlinux-f1517f6f1d6fd97a18836b0fb6921f2cb105eeb4.tar.xz
octeontx2-af: Modify default KEX profile to extract TX packet fields
The current default Key Extraction(KEX) profile can only use RX packet fields while generating the MCAM search key. The profile can't be used for matching TX packet fields. This patch modifies the default KEX profile to add support for extracting TX packet fields into MCAM search key. Enabled Tx KPU packet parsing by configuring TX PKIND in tx_parse_cfg. Modified the KEX profile to extract 2 bytes of VLAN TCI from an offset of 2 bytes from LB_PTR. The LB_PTR points to the byte offset where the VLAN header starts. The NPC KPU parser profile has been modified to point LB_PTR to the starting byte offset of VLAN header which points to the tpid field. Signed-off-by: Stanislaw Kardach <skardach@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions