Skip to content
Commit 836b9733 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Ruiqiang Hao
Browse files

octeontx2-pf: Qos: Validate quantum parameter



commit e870b196ddfa862a01c29c1dd9d88210430bf2ec from
git@git.assembla.com:cavium/WindRiver.linux.git

Max supported Round robin weight is different on octeontx2 and
CN10K. Current implementation does not perform out of bound check
for the quantum parameter.

This patch implements the same.

Fixes: 21568f0298f8 ("octeontx2-pf: qos: Fix dwrr child priority")
Change-Id: Ia08c02f03755591032daa8364f4c0a170c156215
Signed-off-by: default avatarHariprasad Kelam <hkelam@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/107612
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Tested-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 38b24bcb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment