Skip to content
Commit 60d42d51 authored by Harman Kalra's avatar Harman Kalra Committed by Ruiqiang Hao
Browse files

octeontx2-af: fix msix offset structure field data types



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

Syncing the data types of msix offset mbox response structure
fields wrt rvu_pfvf structure as in msix offset mbox handler,
respective block LFs response field is initialised with rvu_pfvf
and mismatch in the data types of respective fields may lead
to issues.

Fixed a bug where no sso msix offsets are returned due to
mismatch in data types. For 256 SSO hwgrps, 256 msix offsets
are required. But since num of sso lf field (rsp->sso) in
response structure is u8 and is initialised with same field
in pfvf structure viz u16, value 256 corresponds to 0 hence
no sso_msixoff.

Changing the MBOX VERSION to account this change.

Fixes: 756051e2 ("octeontx2-af: Configure block LF's MSIX vector offset")

Change-Id: I7713f45c5c32f3717334044ed66f9ea2aaeed5c1
Signed-off-by: default avatarHarman Kalra <hkalra@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/40118


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 81cbc856
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment