linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] switchtec: add customer events and comments PAX specific GFMS event
       [not found] <DM2PR11MB0105E2CA7030B336AC140B26951A0@DM2PR11MB0105.namprd11.prod.outlook.com>
@ 2018-09-13 16:05 ` Logan Gunthorpe
  0 siblings, 0 replies; only message in thread
From: Logan Gunthorpe @ 2018-09-13 16:05 UTC (permalink / raw)
  To: Wesley.Sheng, kurt.schwemmer, Kurt.Schwemmer; +Cc: linux-kernel, linux-pci

On 13/09/18 01:34 AM, Wesley.Sheng@microchip.com wrote:
> From: Wesley Sheng <_Wesley.Sheng@microchip.com_
> <mailto:Wesley.Sheng@microchip.com>>

Similar to your previous patches, these are mangled by your email
client. It also would have also been better to send a small patch series
instead of these three individual patches.

  
> reserved for customers to implement up to 6 vendor-specific events, 24
> bytes per event
> comments on PAX specific GFMS event

Why do we need to merge this? You didn't present any code using these
new fields so this seems useless.

> Signed-off-by: Wesley Sheng <Wesley.Sheng@microchip.com>
> ---
> include/linux/switchtec.h | 19 ++++++++++++++++---
> 1 file changed, 16 insertions(+), 3 deletions(-)
>  
> diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h
> index ec93e93..e3cb8b8 100644
> --- a/include/linux/switchtec.h
> +++ b/include/linux/switchtec.h
> @@ -59,6 +59,12 @@ enum mrpc_status {
>          SWITCHTEC_MRPC_STATUS_INTERRUPTED = 0x100,
> };
>  
> +struct event {
> +       u32 hdr;
> +       u32 data[5];
> +};

This doesn't follow the way the other events are doing things, and you
didn't convert all the other events, so it just looks inconsistent.


Logan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-13 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <DM2PR11MB0105E2CA7030B336AC140B26951A0@DM2PR11MB0105.namprd11.prod.outlook.com>
2018-09-13 16:05 ` [PATCH] switchtec: add customer events and comments PAX specific GFMS event Logan Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).