aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-04-01 13:03:55 +0200
committerGreg Kroah-Hartman <[email protected]>2020-04-13 08:55:36 +0200
commit6bf418c50f98a3ec0105d9e5b5b99a7772c47d87 (patch)
treebb1ebe178359a8868113d5330d663a031ac173de /tools/perf/scripts/python/bin/stackcollapse-record
parent7ba22b075422bb761f1fc26ff6dcb05eabed6e63 (diff)
staging: wfx: change the way to choose frame to send
The current code computes itself the QoS policy to choose which frame should be sent. However, firmware already do that job. Firmware would prefer to have packets in every queues and be able to choose itself which queue to use. So, this patch sort the queues from the emptiest to the fulliest (thanks to the pending frames counter introduced a few commits earlier). It send frame to the least full queue. However, we continue to be careful with frames that have to be sent after a dtim ("cab": Content After (DTIM) Beacon). So, this patch splits AC queues in two skb_queues: one for normal frames and another for cab frames. It cares to send frames from CAB skb_queue if appropriate. Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions