numam-dpdk/drivers/common/octeontx2
Harman Kalra 023b46db54 common/octeontx2: fix mbox response by syncing data types
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.

This mismatch in data types resulted in a bug where no sso msix
offsets are returned. 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.
Similar mbox changes are required in kernel side also which are
available in marvell SDK version SDK-11.0.

Fixes: 2b71657c86 ("common/octeontx2: add mbox request and response definition")
Cc: stable@dpdk.org

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2020-11-20 21:10:05 +01:00
..
hw common/octeontx2: add REE definitions and logging 2020-10-14 10:41:19 +02:00
meson.build drivers: disable OCTEON TX2 in 32-bit build 2020-11-12 16:39:10 +01:00
otx2_common.c common/octeontx2: add REE definitions and logging 2020-10-14 10:41:19 +02:00
otx2_common.h common/octeontx2: add REE definitions and logging 2020-10-14 10:41:19 +02:00
otx2_dev.c common/octeontx2: fix memory mapping API usage 2020-09-30 19:19:11 +02:00
otx2_dev.h common/octeontx2: mark internal symbols 2020-05-18 17:29:20 +02:00
otx2_io_arm64.h net/octeontx2: fix jumbo frame crash 2020-10-15 22:54:21 +02:00
otx2_io_generic.h net/octeontx2: fix jumbo frame crash 2020-10-15 22:54:21 +02:00
otx2_irq.c common/octeontx2: retry interrupt callback unregister 2020-07-11 06:18:52 +02:00
otx2_irq.h common/octeontx2: mark internal symbols 2020-05-18 17:29:20 +02:00
otx2_mbox.c common/octeontx2: fix crash on running procinfo 2020-07-07 23:38:26 +02:00
otx2_mbox.h common/octeontx2: fix mbox response by syncing data types 2020-11-20 21:10:05 +01:00
otx2_sec_idev.c common/octeontx2: fix port ID bound check 2020-05-17 16:10:44 +02:00
otx2_sec_idev.h common/octeontx2: mark internal symbols 2020-05-18 17:29:20 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00