net/octeontx2: set max VTAG insertion size
authorKiran Kumar K <kirankumark@marvell.com>
Fri, 21 Aug 2020 06:59:30 +0000 (12:29 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commitb08ef9e6c7f3ca16d2cc2e8b59900c1c88503291
tree6d1d358d83d522cbf9d1b3bf88b8eeb1fd530699
parent5700d0f0b430d31bb6c89709e6af3dfdd11ae92f
net/octeontx2: set max VTAG insertion size

When TX side VTAG insertion is enabled, SMQ should be configured with
the maximum VTAG insertion size to avoid generating NIX_SQINT_SEND_ERR
interrupt. Since the default value is zero, This patch configures the
VTAG insertion size to the max supported value.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_tm.c