octeon: enable h/w vlan tagging support 24/41624/1
authorAlok Mishra <[email protected]>
Mon, 2 Sep 2024 13:28:21 +0000 (18:28 +0500)
committerMonendra Singh Kushwaha <[email protected]>
Fri, 4 Oct 2024 12:42:25 +0000 (12:42 +0000)
commitd8d09a9e8ac4c3e04de6ed2af6d553b63aed4829
tree870acc51044c56def8c118bc103f173216542fb7
parent4a43f69ce488193b7019efc828acc44b73e78d4e
octeon: enable h/w vlan tagging support

This patch enables h/w vlan tagging by setting MAX_VTAG_INS
field in NIX_AF_SMQ_CFG register.
This is required to configure VLAN tag insertion
by the hardware for egress packets

Type: feature

Signed-off-by: Alok Mishra <[email protected]>
Change-Id: Ifcdf9c1e5b0b8ddc27cabab597ae91780ceca095
(cherry picked from commit e07c5fe467eac3c236adae4dc080c40302a0a8e5)
src/plugins/dev_octeon/init.c