diff options
author | Stanislaw Kardach <skardach@marvell.com> | 2020-11-14 22:52:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-18 00:48:20 +0300 |
commit | f1517f6f1d6fd97a18836b0fb6921f2cb105eeb4 (patch) | |
tree | 3a37ddf6662fa1b42af0525a16d191e9f73f391b /fs/jffs2 | |
parent | f73659192b0bdf7bad826587b3530cef43cc048d (diff) | |
download | linux-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 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions