From: Andrew Lunn <andrew@lunn.ch>
To: Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
laurentiu.tudor@nxp.com, f.fainelli@gmail.com,
rmk@armlinux.org.uk
Subject: Re: [PATCH net-next 2/4] bus: fsl-mc: add the fsl_mc_get_endpoint function
Date: Tue, 22 Oct 2019 01:13:17 +0200 [thread overview]
Message-ID: <20191021231317.GA27462@lunn.ch> (raw)
In-Reply-To: <1571698228-30985-3-git-send-email-ioana.ciornei@nxp.com>
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
> + * @endpoint1: Endpoint 1 configuration parameters
> + * @endpoint2: Returned endpoint 2 configuration parameters
> + * @state: Returned link state:
> + * 1 - link is up;
> + * 0 - link is down;
> + * -1 - no connection (endpoint2 information is irrelevant)
> + *
> + * Return: '0' on Success; -ENAVAIL if connection does not exist.
#define ENAVAIL 119 /* No XENIX semaphores available */
This is not a semaphore.
How about
#define ENOTCONN 107 /* Transport endpoint is not connected */
Andrew
next prev parent reply other threads:[~2019-10-21 23:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-21 22:50 [PATCH net-next 0/4] dpaa2-eth: add MAC/PHY support through phylink Ioana Ciornei
2019-10-21 22:50 ` [PATCH net-next 1/4] dpaa2-eth: update the TX frame queues on DPNI_IRQ_EVENT_ENDPOINT_CHANGED Ioana Ciornei
2019-10-21 22:50 ` [PATCH net-next 2/4] bus: fsl-mc: add the fsl_mc_get_endpoint function Ioana Ciornei
2019-10-21 23:13 ` Andrew Lunn [this message]
2019-10-22 9:47 ` Ioana Ciornei
2019-10-21 22:50 ` [PATCH net-next 3/4] dpaa2-eth: add MAC/PHY support through phylink Ioana Ciornei
2019-10-22 1:06 ` Andrew Lunn
2019-10-22 12:08 ` Ioana Ciornei
2019-10-22 16:24 ` Russell King - ARM Linux admin
2019-10-22 7:36 ` kbuild test robot
2019-10-22 7:36 ` kbuild test robot
2019-10-22 10:39 ` Russell King - ARM Linux admin
2019-10-22 10:52 ` Ioana Ciornei
2019-10-21 22:50 ` [PATCH net-next 4/4] net: documentation: add docs for MAC/PHY support in DPAA2 Ioana Ciornei
2019-10-22 8:14 ` Russell King - ARM Linux admin
2019-10-22 9:41 ` Ioana Ciornei
2019-10-22 9:49 ` Russell King - ARM Linux admin
2019-10-22 10:03 ` Ioana Ciornei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191021231317.GA27462@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=ioana.ciornei@nxp.com \
--cc=laurentiu.tudor@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=rmk@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.