]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Implement hardware acceleration of RFS
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 5 Jan 2011 00:50:41 +0000 (00:50 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 17 Feb 2011 21:00:33 +0000 (21:00 +0000)
commitadb87bf2b0fd77e4fc2e5f3d9bc95b8d931fdfe2
tree1a3a93506dc8e851ea83bb95fe6b041bf9638110
parentddb4add93c94bc9097cc212055a8ff7146911e60
sfc: Implement hardware acceleration of RFS

Use the existing filter management functions to insert TCP/IPv4 and
UDP/IPv4 4-tuple filters for Receive Flow Steering.

For each channel, track how many RFS filters are being added during
processing of received packets and scan the corresponding number of
table entries for filters that may be reclaimed.  Do this in batches
to reduce lock overhead.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h
drivers/net/sfc/filter.c
drivers/net/sfc/net_driver.h