Message ID | 20170515140436.12175-1-mlichvar@redhat.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
On Mon, May 15, 2017 at 04:04:36PM +0200, Miroslav Lichvar wrote: > The driver doesn't support timestamping of all received packets and > should return error when trying to enable the HWTSTAMP_FILTER_ALL > filter. > > Cc: WingMan Kwok <w-kwok2@ti.com> > Cc: Richard Cochran <richardcochran@gmail.com> > Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com> Acked-by: Richard Cochran <richardcochran@gmail.com>
From: Miroslav Lichvar <mlichvar@redhat.com> Date: Mon, 15 May 2017 16:04:36 +0200 > The driver doesn't support timestamping of all received packets and > should return error when trying to enable the HWTSTAMP_FILTER_ALL > filter. > > Cc: WingMan Kwok <w-kwok2@ti.com> > Cc: Richard Cochran <richardcochran@gmail.com> > Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com> Applied, thank you.
diff --git a/drivers/net/ethernet/ti/netcp_ethss.c b/drivers/net/ethernet/ti/netcp_ethss.c index 897176f..dd92950 100644 --- a/drivers/net/ethernet/ti/netcp_ethss.c +++ b/drivers/net/ethernet/ti/netcp_ethss.c @@ -2651,7 +2651,6 @@ static int gbe_hwtstamp_set(struct gbe_intf *gbe_intf, struct ifreq *ifr) case HWTSTAMP_FILTER_NONE: cpts_rx_enable(cpts, 0); break; - case HWTSTAMP_FILTER_ALL: case HWTSTAMP_FILTER_PTP_V1_L4_EVENT: case HWTSTAMP_FILTER_PTP_V1_L4_SYNC: case HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ:
The driver doesn't support timestamping of all received packets and should return error when trying to enable the HWTSTAMP_FILTER_ALL filter. Cc: WingMan Kwok <w-kwok2@ti.com> Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com> --- drivers/net/ethernet/ti/netcp_ethss.c | 1 - 1 file changed, 1 deletion(-)