RE: [PATCH net-next 2/4] bus: fsl-mc: add the fsl_mc_get_endpoint function

2019-10-22 Thread Ioana Ciornei
> Hi Ioana Hi Andrew, > > > +/** > > + * dprc_get_connection() - Get connected endpoint and link status if > connection > > + * exists. > > + * @mc_io: Pointer to MC portal's I/O object > > + * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' > > + * @token: Token of

Re: [PATCH net-next 2/4] bus: fsl-mc: add the fsl_mc_get_endpoint function

2019-10-21 Thread Andrew Lunn
Hi Ioana > +/** > + * dprc_get_connection() - Get connected endpoint and link status if > connection > + * exists. > + * @mc_io: Pointer to MC portal's I/O object > + * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' > + * @token: Token of DPRC object > + * @e

[PATCH net-next 2/4] bus: fsl-mc: add the fsl_mc_get_endpoint function

2019-10-21 Thread Ioana Ciornei
Using the newly added fsl_mc_get_endpoint function a fsl-mc driver can find its associated endpoint (another object at the other link of a MC firmware link). The API will be used in the following patch in order to discover the connected DPMAC object of a DPNI. Also, the fsl_mc_device_lookup funct