Searched hist:d768b678a8d9c572ad3c2c6ba71d9e7029b867a2 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nic.h | d768b678a8d9c572ad3c2c6ba71d9e7029b867a2 Tue Jun 02 18:00:18 UTC 2015 Robert Richter <rrichter@cavium.com> 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>
|
H A D | nic_main.c | d768b678a8d9c572ad3c2c6ba71d9e7029b867a2 Tue Jun 02 18:00:18 UTC 2015 Robert Richter <rrichter@cavium.com> 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>
|