Re: [PATCH] igb: add a method to get the nic hw time stampingpolicy

From: Richard Cochran
Date: Sat May 11 2013 - 11:32:27 EST


On Sat, May 11, 2013 at 10:02:19PM +0800, Dong Zhu wrote:
>
> Currently kernel only support setting the hw time stamping policy
> through ioctl,now add a method to check which packets(Outgoing and
> Incoming) are time stamped by nic.

I don't really see a use case here. Applications needing time stamping
should just set the policy that they need.

> struct hwtstamp_config {
> + int rw;

Also, you can't just go adding fields to an ioctl.

> int flags;
> int tx_type;
> int rx_filter;
> --

Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/