>> +
>> +switch (config->rx_filter) {
>> +case HWTSTAMP_FILTER_PTP_V2_L4_EVENT:
>> +case HWTSTAMP_FILTER_PTP_V2_L4_SYNC:
>> +case HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ:
>> +case HWTSTAMP_FILTER_PTP_V2_L2_EVENT:
>> +case HWTSTAMP_FILTER_PTP_V2_L2_SYNC:
>> +case HWTSTAMP_FI
> +static int aq_ndev_config_hwtstamp(struct aq_nic_s *aq_nic,
> +struct hwtstamp_config *config)
> +{
> + if (config->flags)
> + return -EINVAL;
> +
> + switch (config->tx_type) {
> + case HWTSTAMP_TX_OFF:
> + case HWTSTAMP_TX_ON:
> +
From: Egor Pomozov
Here we add support for PTP specific IOCTLs of HW timestamp get/set.
These will use filters to configure flows onto the required queue ids.
Co-developed-by: Sergey Samoilenko
Signed-off-by: Sergey Samoilenko
Signed-off-by: Egor Pomozov
Signed-off-by: Igor Russkikh
---
..