Home
last modified time | relevance | path

Searched hist:e1740fb6c111986a7af96a44ff794b2ba75abb2e (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app.cdiff e1740fb6c111986a7af96a44ff794b2ba75abb2e Wed Jan 17 20:50:58 CST 2018 Jakub Kicinski <jakub.kicinski@netronome.com> 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>
H A Dnfp_app.hdiff e1740fb6c111986a7af96a44ff794b2ba75abb2e Wed Jan 17 20:50:58 CST 2018 Jakub Kicinski <jakub.kicinski@netronome.com> 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>
H A Dnfp_net_repr.cdiff e1740fb6c111986a7af96a44ff794b2ba75abb2e Wed Jan 17 20:50:58 CST 2018 Jakub Kicinski <jakub.kicinski@netronome.com> 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>