Home
last modified time | relevance | path

Searched hist:"7395 a8845588ebdf170f4d3796d44142458741be" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_iq.hdiff 7395a8845588ebdf170f4d3796d44142458741be Mon Aug 06 15:09:40 CDT 2018 Intiyaz Basha <intiyaz.basha@cavium.com> liquidio: avoided acquiring post_lock for data only queues

All control commands (soft commands) goes through only Queue 0
(control and data queue). So only queue-0 needs post_lock,
other queues are only data queues and does not need post_lock

Added a flag to indicate the queue can be used for soft commands.

If this flag is set, post_lock must be acquired before posting
a command to the queue.
If this flag is clear, post_lock is invalid for the queue.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Drequest_manager.cdiff 7395a8845588ebdf170f4d3796d44142458741be Mon Aug 06 15:09:40 CDT 2018 Intiyaz Basha <intiyaz.basha@cavium.com> liquidio: avoided acquiring post_lock for data only queues

All control commands (soft commands) goes through only Queue 0
(control and data queue). So only queue-0 needs post_lock,
other queues are only data queues and does not need post_lock

Added a flag to indicate the queue can be used for soft commands.

If this flag is set, post_lock must be acquired before posting
a command to the queue.
If this flag is clear, post_lock is invalid for the queue.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>