RE: [EXT] Re: [PATCH v6 04/15] octeontx2-af: Add mailbox support infra

2018-10-05 Thread Goutham, Sunil
] Re: [PATCH v6 04/15] octeontx2-af: Add mailbox support infra > > > -- > From: sunil.kovv...@gmail.com > Date: Thu, 4 Oct 2018 23:51:47 +0530 > > > +int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, st

Re: [PATCH v6 04/15] octeontx2-af: Add mailbox support infra

2018-10-05 Thread David Miller
From: sunil.kovv...@gmail.com Date: Thu, 4 Oct 2018 23:51:47 +0530 > +int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev > *pdev, > +void *reg_base, int direction, int ndevs) > +{ > + int devid; > + struct otx2_mbox_dev *mdev; Please order local vari

[PATCH v6 04/15] octeontx2-af: Add mailbox support infra

2018-10-04 Thread sunil . kovvuri
From: Sunil Goutham This patch adds mailbox support infrastructure APIs. Each RVU device has a dedicated 64KB mailbox region shared with it's peer for communication. RVU AF has a separate mailbox region shared with each of RVU PFs and a RVU PF has a separate region shared with each of it's VF. T