aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2017-07-03 11:27:20 +0300
committerSaeed Mahameed <[email protected]>2017-09-03 06:34:09 +0300
commita1eaba4c5c29b6b5196b2237ce3a8d7d97622b2f (patch)
treea6e347763a08022c593359c579ad9049da4b22b9 /lib/mpi/mpi-cmp.c
parent604acb193b8383a3774673c324e576e4c6b4ffcd (diff)
net/mlx5e: Non-atomic indicator for ring enabled state
Rings enabled state change occurs in control path only, and is always followed by a napi_sychronize(), so that following NAPIs read the new value. This read does not need to be atomic. The RQ auto-moderation bit is not set/cleared in data-path. No need for atomic read, a regular read operation is sufficient. In RQ creation time as well, there's no multiple threads trying to access it yet, hence a regular read can be used. Signed-off-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions