Re: [Linuxptp-devel] [PATCH] sk: Modify poll to poll on ERRQUEUE

2014-10-31 Thread Richard Cochran
On Fri, Oct 31, 2014 at 02:05:14PM -0500, Joe Schaack wrote: > Implement the SO_SELECT_ERR_QUEUE socket option that enables ERRQUEUE > messages to be polled for under the POLLPRI flag, greatly increasing the > number of packets per second that can be sent from linuxptp. SO_SELECT_ERR_QUEUE is only

[Linuxptp-devel] [PATCH] sk: Modify poll to poll on ERRQUEUE

2014-10-31 Thread Joe Schaack
Previously the poll in sk_receive would "timeout" and when it did so would check the ERRQUEUE for data and set POLLERR. This meant that if sk_tx_timeout was set to 100 each poll would wait for 100ms rather than exiting immediately when ERRQUEUE data was available. Implement the SO_SELECT_ERR_QUEU