octeon: enable h/w vlan tagging support 32/41532/2
authorAlok Mishra <[email protected]>
Mon, 2 Sep 2024 13:28:21 +0000 (18:28 +0500)
committerDamjan Marion <[email protected]>
Wed, 25 Sep 2024 12:58:59 +0000 (12:58 +0000)
commite07c5fe467eac3c236adae4dc080c40302a0a8e5
tree84430f3c24697418299d441586c3793015efe456
parent8f989630b0ae1d88ce7551cfa53b3ea76f4b8314
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
src/plugins/dev_octeon/init.c