Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-23 Thread Toke Høiland-Jørgensen
Saeed Mahameed writes: > On Tue, 2018-10-23 at 12:10 +0200, Toke Høiland-Jørgensen wrote: >> Saeed Mahameed writes: >> >> > On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: >> > > Saeed Mahameed writes: >> > > >> > > > I think that the mlx5 driver doesn't know how to tell the

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-23 Thread Saeed Mahameed
On Tue, 2018-10-23 at 12:10 +0200, Toke Høiland-Jørgensen wrote: > Saeed Mahameed writes: > > > On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: > > > Saeed Mahameed writes: > > > > > > > I think that the mlx5 driver doesn't know how to tell the other > > > > device > > > > to s

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-23 Thread Toke Høiland-Jørgensen
Saeed Mahameed writes: > On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: >> Saeed Mahameed writes: >> >> > I think that the mlx5 driver doesn't know how to tell the other >> > device >> > to stop transmitting to it while it is resetting.. Maybe tariq or >> > Jesper know more ab

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-22 Thread Saeed Mahameed
On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: > Saeed Mahameed writes: > > > I think that the mlx5 driver doesn't know how to tell the other > > device > > to stop transmitting to it while it is resetting.. Maybe tariq or > > Jesper know more about this ? > > I will look at thi

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-18 Thread Toke Høiland-Jørgensen
Saeed Mahameed writes: > I think that the mlx5 driver doesn't know how to tell the other device > to stop transmitting to it while it is resetting.. Maybe tariq or > Jesper know more about this ? > I will look at this tomorrow after noon and will try to repro... Hi Saeed Did you have a chance t

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-04 Thread Toke Høiland-Jørgensen
Saeed Mahameed writes: > On Wed, 2018-10-03 at 11:30 +0200, Toke Høiland-Jørgensen wrote: >> Hi Saeed >> >> I can reliably oops the kernel with the mlx5 driver, by installing >> XDP_REDIRECT programs on two devices so they redirect to each other, >> and then remove them while there is traffic on

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-03 Thread Saeed Mahameed
On Wed, 2018-10-03 at 11:30 +0200, Toke Høiland-Jørgensen wrote: > Hi Saeed > > I can reliably oops the kernel with the mlx5 driver, by installing > XDP_REDIRECT programs on two devices so they redirect to each other, > and then remove them while there is traffic on the interface. > > Steps to re

Kernel oops with mlx5 and dual XDP redirect programs

2018-10-03 Thread Toke Høiland-Jørgensen
Hi Saeed I can reliably oops the kernel with the mlx5 driver, by installing XDP_REDIRECT programs on two devices so they redirect to each other, and then remove them while there is traffic on the interface. Steps to reproduce: # cd ~/build/linux/samples/bpf # ./xdp_redirect_map $( 8b 8c 24 a8 3