Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-16 Thread Julia Lawall
lia > > Hans, Matthew? > > -Jack > > -- Forwarded message -- > > Date: Fri, 8 Jun 2018 08:49:57 +0800 > > From: kbuild test robot > > To: kbu...@01.org > > Cc: Julia Lawall > > Subject: Re: [PATCH v3 2/2] IB/mad: Use ID allocator ro

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-16 Thread jackm
Matthew Wilcox! (Convert IB/mad to use an IDR for agent IDs) Hans, Matthew? -Jack > -- Forwarded message -- > Date: Fri, 8 Jun 2018 08:49:57 +0800 > From: kbuild test robot > To: kbu...@01.org > Cc: Julia Lawall > Subject: Re: [PATCH v3 2/2] IB/mad: Use ID alloc

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-16 Thread Julia Lawall
ib_mad_client_id is declared as u32, so it will not be < 0 (line 382). julia -- Forwarded message -- Date: Fri, 8 Jun 2018 08:49:57 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate ag

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number

2018-06-07 Thread HÃ¥kon Bugge
ford ; Jason Gunthorpe ; >> Hakon Bugge ; Parav Pandit >> ; Jack Morgenstein ; Pravin >> Shedge ; Matthew Wilcox >> ; Andrew Morton ; >> Jeff Layton ; Wei Wang ; Chris >> Mi ; Eric Biggers ; Rasmus >> Villemoes ; Mel Gorman >> ; linux-r...@vger.kernel.org; lin

RE: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number

2018-06-07 Thread Matthew Wilcox
arav Pandit > ; Jack Morgenstein ; Pravin > Shedge ; Matthew Wilcox > ; Andrew Morton ; > Jeff Layton ; Wei Wang ; Chris > Mi ; Eric Biggers ; Rasmus > Villemoes ; Mel Gorman > ; linux-r...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: [PATCH v3 2/2] IB/m

[PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number

2018-06-07 Thread Hans Westgaard Ry
The agent TID is a 64 bit value split in two dwords. The least significant dword is the TID running counter. The most significant dword is the agent number. In the CX-3 shared port model, the mlx4 driver uses the most significant byte of the agent number to store the slave number, making agent num