Re: [Patch v7 3/5] RDMA/mana_ib: Create adapter and Add error eq

From: Jason Gunthorpe
Date: Mon Oct 23 2023 - 14:21:56 EST


On Mon, Oct 16, 2023 at 03:12:00PM -0700, sharmaajay@xxxxxxxxxxxxxxxxx wrote:
> From: Ajay Sharma <sharmaajay@xxxxxxxxxxxxx>
>
> Create adapter object as nice container for VF resources.
> Add error eq needed for adapter creation and later used
> for notification from Management SW. The management
> software uses this channel to send messages or error
> notifications back to the Client.
>
> Signed-off-by: Ajay Sharma <sharmaajay@xxxxxxxxxxxxx>
> ---
> drivers/infiniband/hw/mana/device.c | 22 ++-
> drivers/infiniband/hw/mana/main.c | 97 ++++++++++++
> drivers/infiniband/hw/mana/mana_ib.h | 33 ++++
> .../net/ethernet/microsoft/mana/gdma_main.c | 147 ++++++++++--------
> drivers/net/ethernet/microsoft/mana/mana_en.c | 3 +
> include/net/mana/gdma.h | 13 +-
> 6 files changed, 245 insertions(+), 70 deletions(-)

Split up your patches properly please this says it creates the
adapter, code to create an EQ and process events should not be in this
patch.

Jason