commit | 78aacb6f6eeea3c581a29b4a50438d0bdf85ad0b | [log] [tgz] |
---|---|---|
author | Sunil Goutham <sgoutham@cavium.com> | Tue Mar 07 18:09:10 2017 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 09 13:12:41 2017 -0800 |
tree | 9c700580a0350c445566a9e3a2b8dabe2fddcadc | |
parent | 18de7ba95f6e5ab150e482618123d92ee2240dc0 [diff] |
net: thunderx: Fix invalid mac addresses for node1 interfaces When booted with ACPI, random mac addresses are being assigned to node1 interfaces due to mismatch of bgx_id in BGX driver and ACPI tables. This patch fixes this issue by setting maximum BGX devices per node based on platform/soc instead of a macro. This change will set the bgx_id appropriately. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>