On 1/25/2021 3:25 PM, Heinrich Kuhn wrote:
For newer smartNIC NVRAM versions the chip model should be read from the PluDevice register as it provides the authoritative chip model/revision. This method of reading the chip model is backwards compatible with legacy NVRAM versions too.Since the model number is purely used for reporting purposes, follow the hardware team convention of subtracting 0x10 from the PluDevice register to obtain the chip model/revision number. Fixes: c7e9729da ("net/nfp: support CPP") Cc: [email protected] Signed-off-by: Heinrich Kuhn <[email protected]> Reviewed-by: Louis Peens <[email protected]> Signed-off-by: Simon Horman <[email protected]>
Applied to dpdk-next-net/main, thanks.

