On Fri, 23 Jan 2026 18:22:18 +0100
[email protected] wrote:

> +struct nfb_ifc_create_params {
> +     struct nfb_probe_params *probe_params;
> +     struct nc_ifc_map_info map_info;
> +     struct nc_ifc_info *ifc_info;
> +
> +     int basename_len;       /* Cached real length of original 
> probe_params->name */
> +};
> +
> +/* The TAILQ entries are used for cleanup of allocated resources
> + * in situations, where dev_close is not called.
> + */
> +TAILQ_HEAD(nfb_pmd_internals_head, pmd_internals);

You should put static in front of TAILQ_HEAD so that the head is not
global if you don't need it to be.

> +static struct nfb_pmd_internals_head nfb_eth_dev_list =
> +     TAILQ_HEAD_INITIALIZER(nfb_eth_dev_list);
> +

Reply via email to