commit | cd6f8db9aebeb7f234b38756ba8ee77230058846 | [log] [tgz] |
---|---|---|
author | Simon Horman <simon.horman@netronome.com> | Mon May 22 10:59:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 22 14:59:02 2017 -0400 |
tree | 4dfa6ec5044a15a86ab58cdb706ccabd3ca9f312 | |
parent | bd080488a6cfd37135becedfdc87643b139c2345 [diff] |
nfp: add nfp_cppcore_pcie_unit() helper Add nfp_cppcore_pcie_unit() helper to retrieve the PCIE unit of a CPP handle and use the new helper as appropriate. Signed-off-by: Simon Horman <simon.horman@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>