From: Jonathan Toppins Subject: Re: [PATCH 09/28] bnxt_re: Introducing autogenerated Host Software Interface(hsi) file Date: Wed, 7 Dec 2016 17:32:17 -0500 Message-ID: <9d151718-c357-d1c4-bbe5-5265e6d2b6ca@redhat.com> References: <1480919912-1079-1-git-send-email-selvin.xavier@broadcom.com> <1480919912-1079-10-git-send-email-selvin.xavier@broadcom.com> Reply-To: jtoppins-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1480919912-1079-10-git-send-email-selvin.xavier-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Selvin Xavier , dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Eddie Wai , Devesh Sharma , Somnath Kotur , Sriharsha Basavapatna List-Id: linux-rdma@vger.kernel.org On 12/05/2016 01:38 AM, Selvin Xavier wrote: > This patch introduces all the structures used by driver for communicating > with the Hardware. This file is the equivalent of the bnxt_en_hsi.h used by > bnxt_en driver. There are a fair number of structures that are the same between this file and drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h, for example: bnxt_re_hsi.h vs. bnxt_hsi.h struct ctx_hw_stats struct ctx_hw_stats struct hwrm_async_event_cmpl struct hwrm_async_event_cmpl struct cmd_nums ... Does it make sense to have these two drivers reuse the sections that are common? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html