On Mon, Jan 25, 2021 at 12:21:26PM +0100, Toke Høiland-Jørgensen wrote:
> Hangbin Liu writes:
>
> > On Fri, Jan 22, 2021 at 02:38:40PM +0100, Toke Høiland-Jørgensen wrote:
> >> >> out:
> >> >> + drops = cnt - sent;
> >> >> bq->count = 0;
> >> >>
> >> >> trace_xdp_devmap_x
Hangbin Liu writes:
> On Fri, Jan 22, 2021 at 02:38:40PM +0100, Toke Høiland-Jørgensen wrote:
>> >> out:
>> >> + drops = cnt - sent;
>> >> bq->count = 0;
>> >>
>> >> trace_xdp_devmap_xmit(bq->dev_rx, dev, sent, drops, err);
>> >> bq->dev_rx = NULL;
>> >> + bq->xdp_prog = NULL;
>> >
>> >
On Fri, Jan 22, 2021 at 02:38:40PM +0100, Toke Høiland-Jørgensen wrote:
> >> out:
> >> + drops = cnt - sent;
> >>bq->count = 0;
> >>
> >>trace_xdp_devmap_xmit(bq->dev_rx, dev, sent, drops, err);
> >>bq->dev_rx = NULL;
> >> + bq->xdp_prog = NULL;
> >
> > One more question, do you re
Maciej Fijalkowski writes:
> On Fri, Jan 22, 2021 at 03:46:47PM +0800, Hangbin Liu wrote:
>> From: Jesper Dangaard Brouer
>>
>> This changes the devmap XDP program support to run the program when the
>> bulk queue is flushed instead of before the frame is enqueued. This has
>> a couple of benef
On Fri, Jan 22, 2021 at 03:46:47PM +0800, Hangbin Liu wrote:
> From: Jesper Dangaard Brouer
>
> This changes the devmap XDP program support to run the program when the
> bulk queue is flushed instead of before the frame is enqueued. This has
> a couple of benefits:
>
> - It "sorts" the packets b
From: Jesper Dangaard Brouer
This changes the devmap XDP program support to run the program when the
bulk queue is flushed instead of before the frame is enqueued. This has
a couple of benefits:
- It "sorts" the packets by destination devmap entry, and then runs the
same BPF program on all the