[Intel-wired-lan] [PATCH 4/6] igc: Remove UDP filter setup in PTP code
Brown, Aaron F
aaron.f.brown at intel.com
Thu Jun 18 17:19:11 UTC 2020
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Andre Guedes
> Sent: Wednesday, June 3, 2020 5:01 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH 4/6] igc: Remove UDP filter setup in PTP
> code
>
> As implemented in igc_ethtool_get_ts_info(), igc only supports
> HWTSTAMP_
> FILTER_ALL so any HWTSTAMP_FILTER_* option the user may set falls back
> to
> HWTSTAMP_FILTER_ALL.
>
> HWTSTAMP_FILTER_ALL is implemented via Rx Time Sync Control
> (TSYNCRXCTL)
> configuration which timestamps all incoming packets. Configuring an
> UDP filter, in addition to TSYNCRXCTL, doesn't add much so this patch
> removes that code. It also takes this opportunity to remove some
> non-applicable comments.
>
> Signed-off-by: Andre Guedes <andre.guedes at intel.com>
> ---
> drivers/net/ethernet/intel/igc/igc_ptp.c | 51 +-----------------------
> 1 file changed, 1 insertion(+), 50 deletions(-)
>
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list