commit | f84730240735b15f725ce59d66a663de82650b46 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Jun 27 00:50:17 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 27 15:48:47 2017 -0400 |
tree | 7c005381222ebfe0d94b578b45e2c83e5547d5e3 | |
parent | 064dc3196ebd2587ad9a4ca2d26629a20f819352 [diff] |
nfp: add helper for mapping runtime symbols Move most of the helper for mapping RTsyms from nfp_net_main.c to nfpcore. Use the new helper directly for mapping MAC statistics, since they don't need to include the PCIe interface ID in the symbol name. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>