On Fri, Jun 14, 2019 at 02:06:05PM +, Ioana Ciornei wrote:
> > Subject: Re: [PATCH RFC 3/6] dpaa2-mac: add MC API for the DPMAC object
> >
> > > +/**
> > > + * dpmac_set_link_state() - Set the Ethernet link status
> > > + * @mc_io: Pointer to
> Subject: Re: [PATCH RFC 3/6] dpaa2-mac: add MC API for the DPMAC object
>
> > +/**
> > + * dpmac_set_link_state() - Set the Ethernet link status
> > + * @mc_io: Pointer to opaque I/O object
> > + * @cmd_flags: Command flags; one or more of 'MC_CMD_F
> +/**
> + * dpmac_set_link_state() - Set the Ethernet link status
> + * @mc_io: Pointer to opaque I/O object
> + * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_'
> + * @token: Token of DPMAC object
> + * @link_state: Link state configuration
> + *
> + * Return: '0' on Suc
Add the necessary MC API for the DPMAC object. These functions will be
used in the initial patch that adds the dpaa2-mac driver.
Signed-off-by: Ioana Ciornei
---
drivers/net/ethernet/freescale/dpaa2/dpmac-cmd.h | 107 +++
drivers/net/ethernet/freescale/dpaa2/dpmac.c | 369 +++