Re: [PATCH V10 net-next 06/10] net: hibmcge: Implement .ndo_start_xmit function
From: Jakub Kicinski
Date: Sun Sep 15 2024 - 11:08:47 EST
On Thu, 12 Sep 2024 10:51:23 +0800 Jijie Shao wrote:
> +struct hbg_priv;
> +struct hbg_ring;
these are unnecessary, use as struct member automatically fwd declares
> +struct hbg_buffer {
> + u32 state;
> + dma_addr_t state_dma;
> +
> + struct sk_buff *skb;
> + dma_addr_t skb_dma;
> + u32 skb_len;
> +
> + enum hbg_dir dir;
> + struct hbg_ring *ring;
> + struct hbg_priv *priv;
> +};