summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPhilo Lu <lulie@linux.alibaba.com>2024-11-14 13:52:04 +0300
committerDavid S. Miller <davem@davemloft.net>2024-11-18 14:56:21 +0300
commitaccdd51dc74ff65b7b7be1961b11723d228fbbbd (patch)
treeec6b59ab902c8b0f91979c2896d38ce85a7e329b /tools/perf/scripts/python/exported-sql-viewer.py
parent296a681def3e105f8535c8b3cb0f37f22f710e62 (diff)
downloadlinux-accdd51dc74ff65b7b7be1961b11723d228fbbbd.tar.xz
net/udp: Add a new struct for hash2 slot
Preparing for udp 4-tuple hash (uhash4 for short). To implement uhash4 without cache line missing when lookup, hslot2 is used to record the number of hashed sockets in hslot4. Thus adding a new struct udp_hslot_main with field hash4_cnt, which is used by hash2. The new struct is used to avoid doubling the size of udp_hslot. Before uhash4 lookup, firstly checking hash4_cnt to see if there are hashed sks in hslot4. Because hslot2 is always used in lookup, there is no cache line miss. Related helpers are updated, and use the helpers as possible. uhash4 is implemented in following patches. 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions