Re: [Linuxptp-devel] [PATCH] Add support for DELAY_REQ and SYNC packets rx_filter
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Miroslav L. <mli...@re...> - 2023-11-14 12:30:10
|
On Mon, Nov 13, 2023 at 08:47:48PM +0300, IlorDash wrote: > I assumed, if these filters are defined in Kernel, they might be used in > ptp4l utility to fix this. So I added adv_rx_filter config that allows > to send SIOCSHWTSTAMP ioctl with HWTSTAMP_FILTER_PTP_XXX_SYNC or > HWTSTAMP_FILTER_PTP_XXX_DELAY_REQ rx filters for all transport levels. With this dynamic switching of the RX filter on port state changes is there a reason to not do it by default? Or instead of adding a new option add it as a new enum to the existing hwts_filter option? -- Miroslav Lichvar |