Thread (22 messages) flat view 22 messages, 5 authors, 2026-02-21

Re: [PATCH 1/1] Re: [PATCH net v2 4/4] selftests: drv-net: rss_ctx: test RSS contexts persist after ifdown/up

From: Pavan Chebbi <pavan.chebbi@broadcom.com>
Date: 2026-02-13 03:52:34

On Fri, Feb 13, 2026 at 7:22 AM Jakub Kicinski [off-list ref] wrote:
On Thu, 12 Feb 2026 00:12:50 -0800 Pavan Chebbi wrote:
quoted
+    if not pre_down:
+        ip(f"link set dev {cfg.ifname} down")
+    ifup.exec()
+
+    wait_file(f"/sys/class/net/{cfg.ifname}/carrier",
+        lambda x: x.strip() == "1", deadline=20)
+
+    remote_addr = cfg.remote_addr_v[cfg.addr_ipver]
I don't see anything wrong here :(

The diff I shared to re-open the carrier file instead of using seek()
doesn't make a difference?
No, it did not make any difference.
If it doesn't please use the version you shared here, even if it's
unstable right now. I'll try to find the time to investigate what's
wrong with the test infra. Better that than accumulating workarounds.
Sounds good. Thanks for checking.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help