From: David S. Miller Date: Wed, 16 Nov 2022 09:43:36 +0000 (+0000) Subject: Merge branch 'udp-pernetns-hash' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd258f2aba2cfb2babe85b47ce01d0167c61a4db;p=linux.git Merge branch 'udp-pernetns-hash' Kuniyuki Iwashima says: ==================== udp: Introduce optional per-netns hash table. This series is the UDP version of the per-netns ehash series [0], which were initially in the same patch set. [1] The notable difference with TCP is the max table size is 64K and the min size is 128. This is because the possible hash range by udp_hashfn() always fits in 64K within the same netns and because we want to keep a bitmap in udp_lib_get_port() on the stack. Also, the UDP per-netns table isolates both 1-tuple and 2-tuple tables. For details, please see the last patch. patch 1 - 4: prep for per-netns hash table patch 5: add per-netns hash table [0]: https://lore.kernel.org/netdev/20220908011022.45342-1-kuniyu@amazon.com/ [1]: https://lore.kernel.org/netdev/20220826000445.46552-1-kuniyu@amazon.com/ ==================== Signed-off-by: David S. Miller --- fd258f2aba2cfb2babe85b47ce01d0167c61a4db