diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-04-02 15:37:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-03 10:04:26 +0100 |
commit | 4ee58e1e56800b589afe31c34547e2bc0c59f586 (patch) | |
tree | 8128f514e351f6a9fa4ba17cef103840d0062233 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1193db2a55b6b04f296f03affdfa80c16ecc3814 (diff) |
net: promote SIOCSHWTSTAMP and SIOCGHWTSTAMP ioctls to dedicated handlers
DSA does not want to intercept all ioctls handled by dev_eth_ioctl(),
only SIOCSHWTSTAMP. This can be seen from commit f685e609a301 ("net:
dsa: Deny PTP on master if switch supports it"). However, the way in
which the dsa_ndo_eth_ioctl() is called would suggest otherwise.
Split the handling of SIOCSHWTSTAMP and SIOCGHWTSTAMP ioctls into
separate case statements of dev_ifsioc(), and make each one call its own
sub-function. This also removes the dsa_ndo_eth_ioctl() call from
dev_eth_ioctl(), which from now on exclusively handles PHY ioctls.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.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