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:Harman Kalra <hkalra@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/40118 Tested-by:
sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment