diff options
author | Vladimir Oltean <[email protected]> | 2023-01-18 01:02:31 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-18 20:52:25 -0800 |
commit | 5093406c784f83f7fc6cc1f1bd49c2b062275954 (patch) | |
tree | e791f950c0caa0ed2e73e473089acc11a73e4fa0 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 598ca0d0905608755c86b10c3836499b051571d9 (diff) |
net: enetc: implement ring reconfiguration procedure for PTP RX timestamping
The crude enetc_stop() -> enetc_open() mechanism suffers from 2
problems:
1. improper error checking
2. it involves phylink_stop() -> phylink_start() which loses the link
Right now, the driver is prepared to offer a better alternative: a ring
reconfiguration procedure which takes the RX BD size (normal or
extended) as argument. It allocates new resources (failing if that
fails), stops the traffic, and assigns the new resources to the rings.
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions