aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2020-07-08 07:53:55 -0400
committerDavid S. Miller <davem@davemloft.net>2020-07-08 15:21:13 -0700
commit1667cbf6a4ebe0901bd93ef0d6defd35006fd2be (patch)
tree29b1803870a73a441dbe7d6be1930ade68cf911b /tools/perf/scripts/python/export-to-sqlite.py
parentbnxt_en: Fix up bnxt_get_rxfh_indir_size(). (diff)
downloadlinux-dev-1667cbf6a4ebe0901bd93ef0d6defd35006fd2be.tar.xz
linux-dev-1667cbf6a4ebe0901bd93ef0d6defd35006fd2be.zip
bnxt_en: Add logical RSS indirection table structure.
The driver currently does not keep track of the logical RSS indirection table. The hardware RSS table is set up with standard default ring distribution when initializing the chip. This makes it difficult to support user sepcified indirection table entries. As a first step, add the logical table in the main bnxt structure and allocate it according to chip specific table size. Add a function that sets up default RSS distribution based on the number of RX rings. v4: Use bnxt_get_rxfh_indir_size() for the current RSS table size. v2: Use kmalloc_array() since we init. all entries afterwards. Use ALIGN() to roundup the RSS table size. Use ethtool_rxfh_indir_default() to init. the default entries. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions