commit | d768b678a8d9c572ad3c2c6ba71d9e7029b867a2 | [log] [tgz] |
---|---|---|
author | Robert Richter <rrichter@cavium.com> | Tue Jun 02 11:00:18 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 02 12:49:26 2015 -0700 |
tree | e8c5f6e3226756e0e69c1001bb8090f14e4ca22b | |
parent | dda922c831d1661c11a3ae1051b7160236f6ffb0 [diff] |
net: thunderx: Cleanup duplicate NODE_ID macros, add nic_get_node_id() There are duplicate NODE_ID macro definitions. Move all of them to nic.h for usage in nic and bgx driver and introduce nic_get_node_id() helper function. This patch also fixes 64bit mask which should have been ULL by reworking the node calculation. Signed-off-by: Robert Richter <rrichter@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>