From: Minxi Hou <houminxi@gmail.com>
To: netdev@vger.kernel.org
Cc: Minxi Hou <houminxi@gmail.com>, ovs-dev@openvswitch.org, mhou@redhat.com
Subject: Re: [RFC] net: openvswitch: Inroduce a light-weight socket map concept.
Date: Tue, 14 Apr 2026 18:32:05 +0800 [thread overview]
Message-ID: <20260414103205.1623706-1-houminxi@gmail.com> (raw)
In-Reply-To: <20250627210054.114417-1-aconole@redhat.com>
Hi Aaron,
I tested two stages of this work on x86_64, single-node setup:
1. Early RFC (this patch, June 2025): basic socket action plumbing,
ODP parsing, and socket_lookup configuration.
2. Current development branch (sockmap_2026_feb, built as a scratch
kernel based on RHEL 9.8 / 5.14.0-611.el9_7), which extends this
RFC with: rcuify list, sockmap get/del commands, action list rework,
packet cmd fix, sockmap fixes, tuple detail improvements, and
flow-socket association. Paired with the OVS userspace sockmap
branch (sockmap_cmds).
Tests on the current development branch:
- ODP action round-trip parsing (valid and invalid): pass
- Socket action generation via ofproto/trace for TCP (IPv4/IPv6): pass
- Non-TCP exclusion (ICMP, UDP): pass
- socket_lookup enable/disable per port: pass
- socket_lookup with group recirculation: pass
- OpenFlow regression with socket_lookup: pass
- Conntrack regression with socket_lookup: pass
- 2-namespace TCP performance: pass
During 1000-namespace scale testing (2000 veth pairs, socket_lookup
enabled on all ports), the following WARNING burst was observed in the
kernel console log:
[20652.730148] WARNING: CPU: 118 PID: 304284 at
net/core/skbuff.c:1000 skb_release_head_state+0x95/0xa0
(185 occurrences within 79ms, followed by BUG: scheduling while
atomic in OVS upcall handler thread handler2052)
This is triggered by ARP table overflow under 2000 veth pairs, which
floods the OVS netlink upcall path. The underlying issue is that skbs
with netlink_skb_destructor are passed to consume_skb() without first
calling skb_orphan(). The WARNING is reproducible on a stock RHEL 9.8
kernel + stock OVS 3.7 without any of these patches, confirming it is
a pre-existing kernel issue unrelated to this work.
Tested-by: Minxi Hou <houminxi@gmail.com>
prev parent reply other threads:[~2026-04-14 10:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-27 21:00 [RFC] net: openvswitch: Inroduce a light-weight socket map concept Aaron Conole
2025-06-27 21:55 ` Stephen Hemminger
2025-06-30 10:07 ` Eric Dumazet
2025-06-30 12:13 ` Aaron Conole
2025-06-30 12:13 ` Aaron Conole
2025-06-28 16:20 ` Cong Wang
2025-06-30 12:34 ` Aaron Conole
2025-07-10 9:18 ` Adrián Moreno
2025-07-04 14:22 ` Eelco Chaudron
2025-07-10 20:58 ` Aaron Conole
2025-07-10 9:35 ` Adrián Moreno
2025-07-10 21:07 ` Aaron Conole
2026-04-14 10:32 ` Minxi Hou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260414103205.1623706-1-houminxi@gmail.com \
--to=houminxi@gmail.com \
--cc=mhou@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=ovs-dev@openvswitch.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox