summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@nxp.com>2020-03-10 15:51:24 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-11 01:48:54 +0300
commit434cebabd3a2470881dd69fe65c0986c470b6fb8 (patch)
tree363680c0ab8decb5043ea42f1f7ceb268885845c /tools/perf/scripts/python/exported-sql-viewer.py
parent714239ac630a85919839f200d4499b7f811c7003 (diff)
downloadlinux-434cebabd3a2470881dd69fe65c0986c470b6fb8.tar.xz
enetc: Add dynamic allocation of extended Rx BD rings
Hardware timestamping support (PTP) on Rx requires extended buffer descriptors, double the size of normal Rx descriptors. On the current controller revision only the timestamping offload requires extended Rx descriptors. Since Rx timestamping can be turned on/off at runtime, make Rx ring allocation configurable at runtime too. As a result, the static config option FSL_ENETC_HW_TIMESTAMPING can be dropped and the extended descriptors can be used only when Rx timestamping gets activated. The extension has the same size as the base descriptor, making the descriptor iterators easy to update for the extended case. Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions