kernel-fxtec-pro1x/arch
Keller, Jacob E 7d4c04fc17 net: add option to enable error queue packets waking select
Currently, when a socket receives something on the error queue it only wakes up
the socket on select if it is in the "read" list, that is the socket has
something to read. It is useful also to wake the socket if it is in the error
list, which would enable software to wait on error queue packets without waking
up for regular data on the socket. The main use case is for receiving
timestamped transmit packets which return the timestamp to the socket via the
error queue. This enables an application to select on the socket for the error
queue only instead of for the regular traffic.

-v2-
* Added the SO_SELECT_ERR_QUEUE socket option to every architechture specific file
* Modified every socket poll function that checks error queue

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Jeffrey Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Matthew Vick <matthew.vick@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-31 19:44:20 -04:00
..
alpha net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
arc ARC: split elf.h into uapi and export it for userspace 2013-02-27 20:00:26 +05:30
arm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-03-27 13:52:49 -04:00
arm64 arm64: Kconfig.debug: Remove unused CONFIG_DEBUG_ERRORS 2013-03-19 16:19:19 +00:00
avr32 net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
blackfin Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
c6x Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
cris net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
frv net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
h8300 net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
hexagon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
ia64 net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
m32r net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
m68k Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
metag metag: Inhibit NUMA balancing. 2013-03-04 10:29:19 +00:00
microblaze Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
mips net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
mn10300 net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
openrisc openrisc: remove HAVE_VIRT_TO_BUS 2013-03-13 06:12:39 +01:00
parisc net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
powerpc net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
s390 net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
score Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
sh hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
sparc net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
tile A few bugfixes for md 2013-03-23 15:49:49 -07:00
um um: Use tty_port in SIGWINCH handler 2013-03-11 10:08:04 +01:00
unicore32 Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
x86 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-03-27 13:52:49 -04:00
xtensa net: add option to enable error queue packets waking select 2013-03-31 19:44:20 -04:00
.gitignore
Kconfig Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00