diff options
author | 2024-11-14 18:52:05 +0800 | |
---|---|---|
committer | 2024-11-18 11:56:21 +0000 | |
commit | dab78a1745ab3c6001e1e4d50a9d09efef8e260d (patch) | |
tree | 6b2b4afeef84ad08f4e69b67223d807608368319 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/udp: Add a new struct for hash2 slot (diff) | |
download | wireguard-linux-dab78a1745ab3c6001e1e4d50a9d09efef8e260d.tar.xz wireguard-linux-dab78a1745ab3c6001e1e4d50a9d09efef8e260d.zip |
net/udp: Add 4-tuple hash list basis
Add a new hash list, hash4, in udp table. It will be used to implement
4-tuple hash for connected udp sockets. This patch adds the hlist to
table, and implements helpers and the initialization. 4-tuple hash is
implemented in the following patch.
hash4 uses hlist_nulls to avoid moving wrongly onto another hlist due to
concurrent rehash, because rehash() can happen with lookup().
Co-developed-by: Cambda Zhu <cambda@linux.alibaba.com>
Signed-off-by: Cambda Zhu <cambda@linux.alibaba.com>
Co-developed-by: Fred Chen <fred.cc@alibaba-inc.com>
Signed-off-by: Fred Chen <fred.cc@alibaba-inc.com>
Co-developed-by: Yubing Qiu <yubing.qiuyubing@alibaba-inc.com>
Signed-off-by: Yubing Qiu <yubing.qiuyubing@alibaba-inc.com>
Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions