Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-15 Thread Richard Cochran
On Sat, May 14, 2016 at 07:11:50PM -0700, Guy Harris wrote: > It could do a combination of #2 and #1, where "offers all > possibilities" is replaced by "opens the adapter, tries each of the > possibilities, and offers the ones that don't fail" - but, other > than the current bugs with

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-14 Thread Guy Harris
On May 14, 2016, at 1:26 PM, Richard Cochran wrote: > On Sat, May 14, 2016 at 11:47:22AM -0700, Guy Harris wrote: >> So if you have a GUI application for packet capture, with a combo box to >> select the type of time stamping, should it: >> >> 1) regardless of

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-14 Thread Richard Cochran
On Sat, May 14, 2016 at 11:47:22AM -0700, Guy Harris wrote: > So if you have a GUI application for packet capture, with a combo box to > select the type of time stamping, should it: > > 1) regardless of whether ETHTOOL_GET_TS_INFO is available, open the > adapter, try each of the time

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-14 Thread Guy Harris
On May 14, 2016, at 12:41 AM, Jeff Kirsher wrote: > Are you planning to produce a patch or are you wanting us to do the work to > fix the issue? Just asking so that work is not duplicated. I'm willing to produce the patches, although 1) I don't currently have a

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-14 Thread Guy Harris
On May 14, 2016, at 12:30 AM, Richard Cochran wrote: > On Fri, May 13, 2016 at 04:12:52PM -0700, Guy Harris wrote: >> The Linux implementation currently implements the inquiry by doing a >> ETHTOOL_GET_TS_INFO SIOETHTOOL ioctl and looking at the >> so_timestamping bits,

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-14 Thread Jeff Kirsher
On Fri, 2016-05-13 at 16:12 -0700, Guy Harris wrote: > libpcap offers the ability to request hardware time stamping for packets > and to inquire which forms of hardware time stamping, if any, are > supported for an interface. > > The Linux implementation currently implements the inquiry by doing

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-14 Thread Richard Cochran
On Fri, May 13, 2016 at 04:12:52PM -0700, Guy Harris wrote: > The Linux implementation currently implements the inquiry by doing a > ETHTOOL_GET_TS_INFO SIOETHTOOL ioctl and looking at the > so_timestamping bits, if the linux/ethtool.h header defines > ETHTOOL_GET_TS_INFO and the ioctl succeeds on

Re: What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-13 Thread Guy Harris
On May 13, 2016, at 4:12 PM, Guy Harris wrote: > drivers/net/ethernet/freescale/gianfar*.c > > reports HWTSTAMP_FILTER_ALL even if the device doesn't have > FSL_GIANFAR_DEV_HAS_TIMER set so that it claims that devices without a timer > can do hardware timestamping,

What ixgbe devices support HWTSTAMP_FILTER_ALL for hardware time stamping?

2016-05-13 Thread Guy Harris
libpcap offers the ability to request hardware time stamping for packets and to inquire which forms of hardware time stamping, if any, are supported for an interface. The Linux implementation currently implements the inquiry by doing a ETHTOOL_GET_TS_INFO SIOETHTOOL ioctl and looking at the