Re: [PATCH net-next] net/mlx5: Fix compilation warning for 32-bit platform

2020-12-17 Thread Saeed Mahameed
On Thu, 2020-12-17 at 10:52 -0800, Jakub Kicinski wrote: > On Wed, 16 Dec 2020 16:14:45 -0800 Jakub Kicinski wrote: > > On Mon, 14 Dec 2020 12:08:46 -0800 Saeed Mahameed wrote: > > > I will change this and attach this patch to my PR of the SF > > > support. > > > > Looks like the SF discussion w

Re: [PATCH net-next] net/mlx5: Fix compilation warning for 32-bit platform

2020-12-17 Thread Jakub Kicinski
On Wed, 16 Dec 2020 16:14:45 -0800 Jakub Kicinski wrote: > On Mon, 14 Dec 2020 12:08:46 -0800 Saeed Mahameed wrote: > > I will change this and attach this patch to my PR of the SF support. > > Looks like the SF discussion will not wind down in time to make this > merge window, so I think I'm goi

Re: [PATCH net-next] net/mlx5: Fix compilation warning for 32-bit platform

2020-12-16 Thread Jakub Kicinski
On Mon, 14 Dec 2020 12:08:46 -0800 Saeed Mahameed wrote: > I will change this and attach this patch to my PR of the SF support. Looks like the SF discussion will not wind down in time to make this merge window, so I think I'm going to take this in after all. Okay?

Re: [PATCH net-next] net/mlx5: Fix compilation warning for 32-bit platform

2020-12-14 Thread Saeed Mahameed
On Sun, 2020-12-13 at 14:36 +0200, Leon Romanovsky wrote: > On Sun, Dec 13, 2020 at 02:06:41PM +0200, Leon Romanovsky wrote: > > From: Parav Pandit > > > > MLX5_GENERAL_OBJECT_TYPES types bitfield is 64-bit field. > > > > Defining an enum for such bit fields on 32-bit platform results in > > bel

Re: [PATCH net-next] net/mlx5: Fix compilation warning for 32-bit platform

2020-12-13 Thread Leon Romanovsky
On Sun, Dec 13, 2020 at 02:06:41PM +0200, Leon Romanovsky wrote: > From: Parav Pandit > > MLX5_GENERAL_OBJECT_TYPES types bitfield is 64-bit field. > > Defining an enum for such bit fields on 32-bit platform results in below > warning. > > ./include/vdso/bits.h:7:26: warning: left shift count >= w

[PATCH net-next] net/mlx5: Fix compilation warning for 32-bit platform

2020-12-13 Thread Leon Romanovsky
From: Parav Pandit MLX5_GENERAL_OBJECT_TYPES types bitfield is 64-bit field. Defining an enum for such bit fields on 32-bit platform results in below warning. ./include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] ^ ./include/li