net/octeontx2: fix minimum length to SMQ config
authorSunil Kumar Kori <skori@marvell.com>
Mon, 11 May 2020 06:21:56 +0000 (11:51 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
commit241546237ccb898a4d3c84e4c4f2a9266adf52bf
tree61117cb51121e2427ad0c431d13f772dcbbf9cd5
parent251dab27d517a8dd52b9fa7eb208b3fd18972476
net/octeontx2: fix minimum length to SMQ config

NIX exposes NIX_AF_SMQ(0..511)_CFG to configure minimum length
of the packet which is being used for zero padding if packet is
less than configured value.

Setting it to default minimum length i.e. 60 bytes.

Fixes: ec8ddd4fb1be ("net/octeontx2: restructure TM helper functions")

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_tm.c