RE: [net-next 2/6] fm10k: reduce duplicate fm10k_stat macro code

2018-05-08 Thread Keller, Jacob E
...@redhat.com; sassm...@redhat.com; jogre...@redhat.com > Subject: Re: [net-next 2/6] fm10k: reduce duplicate fm10k_stat macro code > > On Mon, 2018-05-07 at 07:45 -0700, Jeff Kirsher wrote: > > Share some of the code for setting up fm10k_stat macros by implementing > > an FM1

Re: [net-next 2/6] fm10k: reduce duplicate fm10k_stat macro code

2018-05-08 Thread Joe Perches
On Mon, 2018-05-07 at 07:45 -0700, Jeff Kirsher wrote: > Share some of the code for setting up fm10k_stat macros by implementing > an FM10K_STAT_FIELDS macro which we can use when setting up the type > specific macros. [] > diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c > b/drivers/

[net-next 2/6] fm10k: reduce duplicate fm10k_stat macro code

2018-05-07 Thread Jeff Kirsher
From: Jacob Keller Share some of the code for setting up fm10k_stat macros by implementing an FM10K_STAT_FIELDS macro which we can use when setting up the type specific macros. Signed-off-by: Jacob Keller Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/f