octeon: add switch_header_type argument 58/43758/12
authorYoann Desmouceaux <[email protected]>
Fri, 26 Sep 2025 10:22:38 +0000 (03:22 -0700)
committerDamjan Marion <[email protected]>
Wed, 1 Oct 2025 08:40:46 +0000 (08:40 +0000)
commit6a4514c12e169e0f49719d8d9c3dc8bd1f10ab31
tree77f9aeae0b0b87b2b85fdc0ee29e2b4af05f3b48
parente84884cd8940a5560e1a400fee19070c9668bb90
octeon: add switch_header_type argument

This commit adds a new argument, switch_header_type, to the octeon port
config, which can be used to tell the NPC about the type of underlying
switch header (edsa, etc), so that it can properly skip it when
performing RSS computations.

Type: improvement

Change-Id: I80f05ea07f5c466bb13b30c2d353b9d0876ad497
Signed-off-by: Yoann Desmouceaux <[email protected]>
Signed-off-by: Damjan Marion <[email protected]>
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
src/plugins/dev_octeon/init.c
src/plugins/dev_octeon/octeon.h
src/plugins/dev_octeon/port.c