[v1 03/10] bus/dpaa: enhance DPAA SoC version
Stephen Hemminger
stephen at networkplumber.org
Wed May 28 16:28:34 CEST 2025
On Wed, 28 May 2025 16:09:27 +0530
vanshika.shukla at nxp.com wrote:
> + if (s_rte_dpaa_bus.bus.conf.scan_mode != RTE_BUS_SCAN_ALLOWLIST)
> + probe_all = true;
> +
> + svr_file = fopen(DPAA_SOC_ID_FILE, "r");
> + if (svr_file) {
> + if (fscanf(svr_file, "svr:%x", &svr_ver) > 0)
> + s_rte_dpaa_bus.svr_ver = svr_ver & DPAA_SVR_MASK;
> + else
> + s_rte_dpaa_bus.svr_ver = 0;
> + fclose(svr_file);
> + } else {
> + s_rte_dpaa_bus.svr_ver = 0;
> + }
> + if (s_rte_dpaa_bus.svr_ver == SVR_LS1046A_FAMILY) {
> + DPAA_BUS_LOG(NOTICE, "This is LS1046A family SoC.");
> + } else if (s_rte_dpaa_bus.svr_ver == SVR_LS1043A_FAMILY) {
> + DPAA_BUS_LOG(NOTICE, "This is LS1043A family SoC.");
Should be INFO not NOTICE, this is normal condition.
More information about the dev
mailing list