commit | e1740fb6c111986a7af96a44ff794b2ba75abb2e | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jan 17 18:50:58 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 19 15:44:18 2018 -0500 |
tree | c887dfb9e4078cae9fc59c2499d37a181779a618 | |
parent | bcc93a23ca595fb1d7d7540bec68196a3715da13 [diff] |
nfp: add nfp_reprs_get_locked() helper The write side of repr tables is always done under pf->lock. Add a helper to dereference repr table pointers under protection of that lock. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>