diff options
| author | Vadim Fedorenko <vadim.fedorenko@linux.dev> | 2025-11-03 15:09:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-04 17:43:52 -0800 |
| commit | d8fdc7069474a298ec63ee338b5fcc879a33c754 (patch) | |
| tree | b53dca772ca49cf68a65607cba88b4255f91feb7 /net/unix/sysctl_net_unix.c | |
| parent | a23d0486d05a7b6d816d55099a7574c3c4ca4869 (diff) | |
net: pch_gbe: convert to use ndo_hwtstamp callbacks
The driver implemented SIOCSHWTSTAMP ioctl command only, but it stores
configuration in the private data, so it is possible to report it back
to users. Implement both ndo_hwtstamp_set and ndo_hwtstamp_get
callbacks. To properly report RX filter type, store it in hwts_rx_en
instead of using this field as a simple flag. The logic didn't change
because receive path used this field as boolean flag.
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20251103150952.3538205-7-vadim.fedorenko@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
