lkml.org 
[lkml]   [2019]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH internal net-next 0/2] Minor refactor in devlink
Date


> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org <linux-kernel-
> owner@vger.kernel.org> On Behalf Of Parav Pandit
> Sent: Friday, August 30, 2019 9:41 AM
> To: linux-kernel@vger.kernel.org; Jiri Pirko <jiri@mellanox.com>
> Cc: Parav Pandit <parav@mellanox.com>
> Subject: [PATCH internal net-next 0/2] Minor refactor in devlink
>
> Two minor refactors in devlink.
>
> Patch-1 Explicitly defines devlink port index as unsigned int
> Patch-2 Uses switch-case to handle different port flavours attributes
>
> Parav Pandit (2):
> devlink: Make port index data type as unsigned int
> devlink: Use switch-case instead of if-else
>
> include/net/devlink.h | 2 +-
> net/core/devlink.c | 44 ++++++++++++++++++++++++-------------------
> 2 files changed, 26 insertions(+), 20 deletions(-)
>
> --
> 2.19.2

I am sorry for noise.
By mistake send to wrong list.

\
 
 \ /
  Last update: 2019-08-30 06:14    [W:0.070 / U:1.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site