summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorAlex Vesker <valex@mellanox.com>2020-05-20 18:09:35 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-27 18:13:52 -0700
commited03a418abe8e5a3ba541a805314bbf8a9eadda3 (patch)
treee8442c25322efc81bf1e3ae6d3e641c9cff7c575 /drivers/uio
parentcedb28191fdfb4fc1da0a7612465624998de7da2 (diff)
net/mlx5: DR, Split RX and TX lock for parallel insertion
Change the locking flow to support RX and TX locks, splitting the single lock to two will allow inserting rules in parallel for RX and TX parts of the FDB. Locking the dr_domain will be done by locking the RX domain and the TX domain locks, this is mostly used for control operations on the dr_domain. When inserting rules for RX or TX the single nic_doamin RX or TX lock will be used. Splitting the lock is safe since RX and TX domains are logically separated from each other, shared objects such the send-ring and memory pool are protected by locks. Signed-off-by: Alex Vesker <valex@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Erez Shitrit <erezsh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions