summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-10-15 19:52:39 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-15 19:52:39 +0300
commita581ed81940db0244eae5a8078345f3dcd88f0c6 (patch)
treec89d20a15e1c30a2812f49f0c783fb25163376b9 /tools/perf/scripts/python/export-to-postgresql.py
parente3fc5139bd8ffaa1498adc21be4e8ecbc6aed508 (diff)
parent7ec02a3aef05098a413e1d1c7326c15b92189d0c (diff)
downloadlinux-a581ed81940db0244eae5a8078345f3dcd88f0c6.tar.xz
Merge branch 'net-af_packet-allow-joining-a-fanout-when-link-is-down'
Gur Stavi says: ==================== net: af_packet: allow joining a fanout when link is down PACKET socket can retain its fanout membership through link down and up and leave a fanout while closed regardless of link state. However, socket was forbidden from joining a fanout while it was not RUNNING. This scenario was identified while studying DPDK pmd_af_packet_drv. Since sockets are only created during initialization, there is no reason to fail the initialization if a single link is temporarily down. This patch allows PACKET socket to join a fanout while not RUNNING. Selftest psock_fanout is extended to test this "fanout while link down" scenario. Selftest psock_fanout is also extended to test fanout create/join by socket that did not bind or specified a protocol, which carries an implicit bind. v3: https://lore.kernel.org/cover.1728555449.git.gur.stavi@huawei.com v2: https://lore.kernel.org/cover.1728382839.git.gur.stavi@huawei.com v1: https://lore.kernel.org/cover.1728303615.git.gur.stavi@huawei.com ==================== Link: https://patch.msgid.link/cover.1728802323.git.gur.stavi@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions