summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDevesh Sharma <devesh.sharma@broadcom.com>2020-04-02 14:12:14 -0400
committerJason Gunthorpe <jgg@mellanox.com>2020-04-14 16:39:35 -0300
commitfddcbbb02af42a5d6ec0c6ed38f823cc9dba1414 (patch)
tree35a19a43f55aaf463b686bb7b45191249686916c /tools/perf/scripts/python/bin/stackcollapse-report
parentc78671a4e65ae0b2e639ea61b4c65842c4200f2d (diff)
downloadlinux-fddcbbb02af42a5d6ec0c6ed38f823cc9dba1414.tar.gz
linux-fddcbbb02af42a5d6ec0c6ed38f823cc9dba1414.zip
RDMA/bnxt_re: Simplify obtaining queue entry from hw ring
Restructring the data path and control path queue management code to simplify the way a queue element is extracted from the hardware ring. Introduced a new function which will give a pointer to the next ring item depending upon the current cons/prod index in the hardware queue. Further, there are hardcoding when size of queue entry is calculated, replacing it with an inline function. This function would be easier to expand if need going forward. The code section to initialize the PSN search areas has also been restructured and couple of functions has been added there. Link: https://lore.kernel.org/r/1585851136-2316-4-git-send-email-devesh.sharma@broadcom.com Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions