Searched hist:fba8248e7e67b7e1098e69284aeccbcb2110fa86 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | diff fba8248e7e67b7e1098e69284aeccbcb2110fa86 Thu Oct 25 19:11:51 CEST 2018 Sara Sharon <sara.sharon@intel.com> iwlwifi: mvm: get rid of tx_path_lock
TX path lock was introduced in order to prevent out of order invocations of TX.
This can happen in the following flow:
TX path invoked from net dev Packet dequeued TX path invoked from RX path Packet dequeued Packet TXed Packet TXed
However, we don't really need a lock. If TX path is already invoked from some location, other paths can simply abort their execution, instead of waiting to the first path to finish, and then discover queue is (likely) empty or stopped.
Replace the lock with an atomic variable to track TX ownership. This simplifies the locking dependencies between RX and TX paths, and should improve performance.
Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|
H A D | mvm.h | diff fba8248e7e67b7e1098e69284aeccbcb2110fa86 Thu Oct 25 19:11:51 CEST 2018 Sara Sharon <sara.sharon@intel.com> iwlwifi: mvm: get rid of tx_path_lock
TX path lock was introduced in order to prevent out of order invocations of TX.
This can happen in the following flow:
TX path invoked from net dev Packet dequeued TX path invoked from RX path Packet dequeued Packet TXed Packet TXed
However, we don't really need a lock. If TX path is already invoked from some location, other paths can simply abort their execution, instead of waiting to the first path to finish, and then discover queue is (likely) empty or stopped.
Replace the lock with an atomic variable to track TX ownership. This simplifies the locking dependencies between RX and TX paths, and should improve performance.
Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|
H A D | mac80211.c | diff fba8248e7e67b7e1098e69284aeccbcb2110fa86 Thu Oct 25 19:11:51 CEST 2018 Sara Sharon <sara.sharon@intel.com> iwlwifi: mvm: get rid of tx_path_lock
TX path lock was introduced in order to prevent out of order invocations of TX.
This can happen in the following flow:
TX path invoked from net dev Packet dequeued TX path invoked from RX path Packet dequeued Packet TXed Packet TXed
However, we don't really need a lock. If TX path is already invoked from some location, other paths can simply abort their execution, instead of waiting to the first path to finish, and then discover queue is (likely) empty or stopped.
Replace the lock with an atomic variable to track TX ownership. This simplifies the locking dependencies between RX and TX paths, and should improve performance.
Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|