Alexander Duyck <alex…@meta.com> writes:
> On Thu, Nov 26, 2026 at 9:53 PM Björn Töpel <bjo…@kernel.org> wrote:
>
> ...
>
>> diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.h b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.h
>> index 6ee3cce3d942..7bc0c25ac50b 100644
>> --- a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.h
>> +++ b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.h
>> @@ -173,6 +173,7 @@ struct fbnic_napi_vector {
>> u16 v_idx;
>> u8 txt_count;
>> u8 rxt_count;
>> + bool xdp_flush; /* An XDP redirect awaits xdp_do_flush() */
>
> Please make this a u8 rather than a bool. The other members of this
> struct are fixed width, and coding-style.rst asks that structures laid
> out for size avoid bool.
>
> The rest looks good to me. The xdp_buff already holds the page_pool
> references for the header and each frag, so a successful redirect
> hands them to the target, and a failed one is dropped through the
> fbnic_put_pkt_buff function as XDP_DROP is. The flush at the end of
> the fbnic_clean_rcq function runs on every pass, so nothing stays
> queued past the poll.
>
> With the u8 change:
> Reviewed-by: Alexander Duyck <alex…@fb.com>
Thank you, Alex! And thanks for taking a look.
pw-bot: cr
Björn