commit | 064dc3196ebd2587ad9a4ca2d26629a20f819352 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Jun 27 00:50:16 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 27 15:48:47 2017 -0400 |
tree | f17ad6740dbd94ef4b217aa21120bbfe1d125bae | |
parent | d557ee6bdc6dc4df2ab8e00c2127120b4acbdfca [diff] |
nfp: move area mapping helper into nfpcore nfp_net_map_area() is a helper for mapping areas of NFP memory defined in nfp_net_main.c. Move it to nfpcore to allow reuse and rename accordingly. Create an additional helper - nfp_cpp_area_alloc_acquire() the opposite of already existing nfp_cpp_area_release_free(). 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>