[dpdk-stable] [dpdk-dev] [PATCH] net/nfp: read chip model from PluDevice register

Ferruh Yigit ferruh.yigit at intel.com
Fri Jan 29 12:35:34 CET 2021


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: stable at dpdk.org
> 
> Signed-off-by: Heinrich Kuhn <heinrich.kuhn at netronome.com>
> Reviewed-by: Louis Peens <louis.peens at netronome.com>
> Signed-off-by: Simon Horman <simon.horman at netronome.com>

Applied to dpdk-next-net/main, thanks.



More information about the stable mailing list