On Wed, 22 Feb 2017 09:08:53 -0800
John Fastabend wrote:
> > GSO/TSO is getting into advanced stuff I would rather not have to get
> > into right now. I figure we need to take this portion one step at a
> > time. To support GSO we need more information like the mss.
> >
>
> Agreed lets get
On 17-02-21 09:44 AM, Alexander Duyck wrote:
> On Mon, Feb 20, 2017 at 11:55 PM, Alexei Starovoitov
> wrote:
>> On Mon, Feb 20, 2017 at 08:00:57PM -0800, Alexander Duyck wrote:
>>>
>>> I assumed "toy Tx" since I wasn't aware that they were actually
>>> allowing writing to the page. I think that m
On 17-02-20 12:06 PM, Jakub Kicinski wrote:
> On Sat, 18 Feb 2017 19:48:25 -0800, John Fastabend wrote:
>> On 17-02-18 06:16 PM, Alexander Duyck wrote:
>>> On Sat, Feb 18, 2017 at 3:48 PM, John Fastabend
>>> wrote:
On 17-02-18 03:31 PM, Alexei Starovoitov wrote:
> On Sat, Feb 18, 2017
On Mon, Feb 20, 2017 at 11:55 PM, Alexei Starovoitov
wrote:
> On Mon, Feb 20, 2017 at 08:00:57PM -0800, Alexander Duyck wrote:
>>
>> I assumed "toy Tx" since I wasn't aware that they were actually
>> allowing writing to the page. I think that might work for the XDP_TX
>> case,
>
> Take a look at
On Mon, Feb 20, 2017 at 08:00:57PM -0800, Alexander Duyck wrote:
>
> I assumed "toy Tx" since I wasn't aware that they were actually
> allowing writing to the page. I think that might work for the XDP_TX
> case,
Take a look at samples/bpf/xdp_tx_iptunnel_kern.c
It's close enough approximation o
On Mon, Feb 20, 2017 at 7:39 PM, John Fastabend
wrote:
> On 17-02-20 07:18 PM, Alexei Starovoitov wrote:
>> On Sat, Feb 18, 2017 at 06:16:47PM -0800, Alexander Duyck wrote:
>>>
>>> I was thinking about the fact that the Mellanox driver is currently
>>> mapping pages as bidirectional, so I was stic
On 17-02-20 07:18 PM, Alexei Starovoitov wrote:
> On Sat, Feb 18, 2017 at 06:16:47PM -0800, Alexander Duyck wrote:
>>
>> I was thinking about the fact that the Mellanox driver is currently
>> mapping pages as bidirectional, so I was sticking to the device to
>> device case in regards to that discus
On Sat, Feb 18, 2017 at 06:16:47PM -0800, Alexander Duyck wrote:
>
> I was thinking about the fact that the Mellanox driver is currently
> mapping pages as bidirectional, so I was sticking to the device to
> device case in regards to that discussion. For virtual interfaces we
> don't even need the
On Sat, 18 Feb 2017 19:48:25 -0800, John Fastabend wrote:
> On 17-02-18 06:16 PM, Alexander Duyck wrote:
> > On Sat, Feb 18, 2017 at 3:48 PM, John Fastabend
> > wrote:
> >> On 17-02-18 03:31 PM, Alexei Starovoitov wrote:
> >>> On Sat, Feb 18, 2017 at 10:18 AM, Alexander Duyck
> >>> wrote:
>
On 17-02-18 06:16 PM, Alexander Duyck wrote:
> On Sat, Feb 18, 2017 at 3:48 PM, John Fastabend
> wrote:
>> On 17-02-18 03:31 PM, Alexei Starovoitov wrote:
>>> On Sat, Feb 18, 2017 at 10:18 AM, Alexander Duyck
>>> wrote:
> XDP_DROP does not require having one page per frame.
Agr
On Sat, Feb 18, 2017 at 3:48 PM, John Fastabend
wrote:
> On 17-02-18 03:31 PM, Alexei Starovoitov wrote:
>> On Sat, Feb 18, 2017 at 10:18 AM, Alexander Duyck
>> wrote:
>>>
XDP_DROP does not require having one page per frame.
>>>
>>> Agreed.
>>
>> why do you think so?
>> xdp_drop is targeting
On Sat, Feb 18, 2017 at 3:48 PM, John Fastabend
wrote:
>
> We are running our vswitch in userspace now for many workloads
> it would be nice to have these in kernel if possible.
...
> Maybe Alex had something else in mind but we have many virtual interfaces
> plus physical interfaces in vswitch us
On Sat, 2017-02-18 at 15:48 -0800, John Fastabend wrote:
> I'm not seeing the distinction here. If its a 4k page and
> in the stack the driver will get overrun as well.
Agree.
Using a full page per Ethernet frame does not change the attack vector.
It makes attacker job easier.
On 17-02-18 03:31 PM, Alexei Starovoitov wrote:
> On Sat, Feb 18, 2017 at 10:18 AM, Alexander Duyck
> wrote:
>>
>>> XDP_DROP does not require having one page per frame.
>>
>> Agreed.
>
> why do you think so?
> xdp_drop is targeting ddos where in good case
> all traffic is passed up and in bad cas
On 17-02-18 10:18 AM, Alexander Duyck wrote:
> On Sat, Feb 18, 2017 at 9:41 AM, Eric Dumazet wrote:
>> On Sat, 2017-02-18 at 17:34 +0100, Jesper Dangaard Brouer wrote:
>>> On Thu, 16 Feb 2017 14:36:41 -0800
>>> John Fastabend wrote:
>>>
On 17-02-16 12:41 PM, Alexander Duyck wrote:
> So I
On Sat, Feb 18, 2017 at 10:18 AM, Alexander Duyck
wrote:
>
>> XDP_DROP does not require having one page per frame.
>
> Agreed.
why do you think so?
xdp_drop is targeting ddos where in good case
all traffic is passed up and in bad case
most of the traffic is dropped, but good traffic still needs
t
On Sat, Feb 18, 2017 at 9:41 AM, Eric Dumazet wrote:
> On Sat, 2017-02-18 at 17:34 +0100, Jesper Dangaard Brouer wrote:
>> On Thu, 16 Feb 2017 14:36:41 -0800
>> John Fastabend wrote:
>>
>> > On 17-02-16 12:41 PM, Alexander Duyck wrote:
>> > > So I'm in the process of working on enabling XDP for t
On Sat, 2017-02-18 at 17:34 +0100, Jesper Dangaard Brouer wrote:
> On Thu, 16 Feb 2017 14:36:41 -0800
> John Fastabend wrote:
>
> > On 17-02-16 12:41 PM, Alexander Duyck wrote:
> > > So I'm in the process of working on enabling XDP for the Intel NICs
> > > and I had a few questions so I just thou
On Thu, 16 Feb 2017 14:36:41 -0800
John Fastabend wrote:
> On 17-02-16 12:41 PM, Alexander Duyck wrote:
> > So I'm in the process of working on enabling XDP for the Intel NICs
> > and I had a few questions so I just thought I would put them out here
> > to try and get everything sorted before I p
On 17-02-16 12:41 PM, Alexander Duyck wrote:
> So I'm in the process of working on enabling XDP for the Intel NICs
> and I had a few questions so I just thought I would put them out here
> to try and get everything sorted before I paint myself into a corner.
>
Added Daniel.
> So my first questio
So I'm in the process of working on enabling XDP for the Intel NICs
and I had a few questions so I just thought I would put them out here
to try and get everything sorted before I paint myself into a corner.
So my first question is why does the documentation mention 1 frame per
page for XDP? Is t
21 matches
Mail list logo