Re: mlx5_core failed to load with 5.1.0-rc7-next-20190430+

From: Qian Cai
Date: Wed May 01 2019 - 10:24:55 EST


On Tue, 2019-04-30 at 20:26 -0700, Saeed Mahameed wrote:
> On Tue, Apr 30, 2019 at 8:00 PM Saeed Mahameed
> <saeedm@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, Apr 30, 2019 at 6:23 PM Qian Cai <cai@xxxxxx> wrote:
> > >
> > > Reverted the commit b169e64a2444 ("net/mlx5: Geneve, Add flow table
> > > capabilities
> > > for Geneve decap with TLV options") fixed the problem below during boot
> > > ends up
> > > without networking.
> > >
> >
> > Hi Qian, thanks for the report, i clearly see where the issue is,
> > mlx5_ifc_cmd_hca_cap_bits offsets are all off ! due to cited patch,
> > will fix ASAP.
> >
>
> Hi Qian, can you please try the following commit :
>
> [mlx5-next] net/mlx5: Fix broken hca cap offset1093551diffmboxseries
> https://patchwork.ozlabs.org/patch/1093551/
>
> $ curl -s https://patchwork.ozlabs.org/patch/1093551//mbox/ | git am

Yes, it works great!