diff options
author | 2023-04-11 18:50:38 -0700 | |
---|---|---|
committer | 2023-04-13 13:30:22 +0200 | |
commit | 9a714997386ba110154dc444cdd0279f966151b2 (patch) | |
tree | 9269f15ccde69661ceecafbb02bac705b14d7b3f /drivers/net/ethernet/intel/igc/igc_tsn.c | |
parent | bnxt: use READ_ONCE/WRITE_ONCE for ring indexes (diff) | |
download | linux-9a714997386ba110154dc444cdd0279f966151b2.tar.gz linux-9a714997386ba110154dc444cdd0279f966151b2.tar.bz2 linux-9a714997386ba110154dc444cdd0279f966151b2.zip |
mlx4: use READ_ONCE/WRITE_ONCE for ring indexes
Eric points out that we should make sure that ring index updates
are wrapped in the appropriate READ_ONCE/WRITE_ONCE macros.
Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_tsn.c')
0 files changed, 0 insertions, 0 deletions