[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cca6e437-678d-2048-0bed-5e688566f45b@intel.com>
Date: Tue, 1 Sep 2020 08:12:56 +0200
From: Björn Töpel <bjorn.topel@...el.com>
To: David Ahern <dsahern@...il.com>,
Björn Töpel <bjorn.topel@...il.com>,
ast@...nel.org, daniel@...earbox.net, bpf@...r.kernel.org
Cc: magnus.karlsson@...el.com, netdev@...r.kernel.org, toke@...hat.com,
brouer@...hat.com
Subject: Re: [PATCH bpf-next] bpf: change bq_enqueue() return type from int to
void
On 2020-08-31 18:07, David Ahern wrote:
> On 8/31/20 9:07 AM, Björn Töpel wrote:
>> From: Björn Töpel <bjorn.topel@...el.com>
>>
>> The bq_enqueue() functions for {DEV, CPU}MAP always return
>> zero. Changing the return type from int to void makes the code easier
>> to follow.
>>
>
> You can expand that to a few other calls in this code path - both
> bq_flush_to_queue and bq_xmit_all always return 0 as well.
>
Indeed! I'll spin a new rev!
Powered by blists - more mailing lists