Re: [Intel-wired-lan] [PATCH net-next 11/16] idpf: prepare structures to support XDP

Alexander Lobakin
2025-03-12T14:01:22Z

From: Jakub Kicinski <kuba@kernel.org>
Date: Thu, 6 Mar 2025 17:12:08 -0800

> On Wed, 5 Mar 2025 17:21:27 +0100 Alexander Lobakin wrote:
>> +/**
>> + * idpf_xdp_is_prog_ena - check if there is an XDP program on adapter
>> + * @vport: vport to check
>> + */
>> +static inline bool idpf_xdp_is_prog_ena(const struct idpf_vport *vport)
>> +{
>> + return vport->adapter && vport->xdp_prog;
>> +}
>
> drivers/net/ethernet/intel/idpf/idpf.h:624: warning: No description found for return value of 'idpf_xdp_is_prog_ena'

Breh, I swear I ran sparse and kdoc... >_<

>
> The documentation doesn't add much info, just remove it ?

Ack, agree.

Thanks,
Olek