diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-01-18 01:02:31 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-18 20:52:25 -0800 |
commit | 5093406c784f83f7fc6cc1f1bd49c2b062275954 (patch) | |
tree | e791f950c0caa0ed2e73e473089acc11a73e4fa0 /drivers/clk/tegra/clk-tegra124.c | |
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 <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra124.c')
0 files changed, 0 insertions, 0 deletions