diff options
author | 2016-01-02 23:45:01 -0500 | |
---|---|---|
committer | 2016-01-04 15:54:39 -0500 | |
commit | b81a90d3028af92da61a61e2efd231a585180044 (patch) | |
tree | f8bb3c743a435fa16dcbe68cba15103d0195c6cb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bnxt_en: Check for NULL rx or tx ring. (diff) | |
download | linux-dev-b81a90d3028af92da61a61e2efd231a585180044.tar.xz linux-dev-b81a90d3028af92da61a61e2efd231a585180044.zip |
bnxt_en: Re-structure ring indexing and mapping.
In order to support dedicated or shared completion rings, the ring
indexing and mapping are re-structured as below:
1. bp->grp_info[] array index is 1:1 with bp->bnapi[] array index and
completion ring index.
2. rx rings 0 to n will be mapped to completion rings 0 to n.
3. If tx and rx rings share completion rings, then tx rings 0 to m will
be mapped to completion rings 0 to m.
4. If tx and rx rings use dedicated completion rings, then tx rings 0 to
m will be mapped to completion rings n + 1 to n + m.
5. Each tx or rx ring will use the corresponding completion ring index
for doorbell mapping and MSIX mapping.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions