Thread (21 messages) 21 messages, 3 authors, 2026-01-09

Re: [PATCH net-next v2 07/10] octeontx2: switch: L2 offload support

From: Ratheesh Kannoth <hidden>
Date: 2026-01-08 09:35:30
Also in: lkml

On 2026-01-08 at 14:37:38, ALOK TIWARI (alok.a.tiwari@oracle.com) wrote:

On 1/7/2026 6:54 PM, Ratheesh Kannoth wrote:
quoted
+		fdb_refresh_wq = alloc_workqueue("swdev_fdb_refresg_wq", 0, 0);
consider, "swdev_fdb_refresg_wq" -> "swdev_fdb_refresh_wq"
ACK.
quoted
+		if (!rvu_sw_l2_offl_wq) {
Checks rvu_sw_l2_offl_wq instead of fdb_refresh_wq
quoted
+			dev_err(rvu->dev, "L2 offl workqueue allocation failed\n");
offl -> fbd
ACK.
quoted
+			return -ENOMEM;
+		}
+
+		return 0;
+	}
+
+	rswitch->flags &= ~RVU_SWITCH_FLAG_FW_READY;
+	rswitch->pcifunc = -1;
+	flush_work(&l2_offl_work.work);
+	return 0;
+}

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