[PATCH] net: thunderx: acpi: fix LMAC initialization
David Miller
davem at davemloft.net
Thu Jan 12 13:50:30 PST 2017
From: Vadim Lomovtsev <Vadim.Lomovtsev at caviumnetworks.com>
Date: Thu, 12 Jan 2017 07:28:06 -0800
> While probing BGX we requesting appropriate QLM for it's configuration
> and get LMAC count by that request. Then, while reading configured
> MAC values from SSDT table we need to save them in proper mapping:
> BGX[i]->lmac[j].mac = <MAC value>
> to later provide for initialization stuff. In order to fill
> such mapping properly we need to add lmac index to be used while
> acpi initialization since at this moment bgx->lmac_count already contains
> actual value.
>
> Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev at caviumnetworks.com>
Applied.
More information about the linux-arm-kernel
mailing list