Re: [PATCH V5 net-next 06/11] net: hibmcge: Implement .ndo_start_xmit function

From: Jakub Kicinski
Date: Wed Aug 28 2024 - 21:41:30 EST


On Tue, 27 Aug 2024 21:14:50 +0800 Jijie Shao wrote:
> @@ -111,6 +135,14 @@ static int hbg_init(struct hbg_priv *priv)
> if (ret)
> return ret;
>
> + ret = hbg_txrx_init(priv);
> + if (ret)
> + return ret;

You allocate buffers on the probe path?
The queues and all the memory will be sitting allocated but unused if
admin does ip link set dev $eth0 down?