aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2018-07-18 17:47:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-18 19:48:17 +0200
commitfe5f0f661797b41648eac64b40e5038b25175047 (patch)
treebe603b24838b5c7ffd6d0e96344f39e559969dad /.gitignore
parentdevice: destroy workqueue before freeing queue (diff)
downloadwireguard-monolithic-historical-fe5f0f661797b41648eac64b40e5038b25175047.tar.xz
wireguard-monolithic-historical-fe5f0f661797b41648eac64b40e5038b25175047.zip
recieve: disable NAPI busy polling
This avoids adding one reference per peer to the napi_hash hashtable, as normally done by netif_napi_add(). Since we potentially could have up to 2^20 peers this would make busy polling very slow globally. This approach is preferable to having only a single napi struct because we get one gro_list per peer, which means packets can be combined nicely even if we have a large number of peers. This is also done by gro_cells_init() in net/core/gro_cells.c . Signed-off-by: Thomas Gschwantner <tharre3@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions