On Mon, Nov 02, 2015 at 09:52:17AM -0800, Stephen Hemminger wrote:
> On Fri, 30 Oct 2015 19:52:38 +0100
> Adrien Mazarguil wrote:
>
> > +static int
> > +mlx5_link_update_unlocked(struct rte_eth_dev *dev, int wait_to_complete)
> > +{
> > + struct priv *priv = dev->data->dev_private;
> > + stru
On Mon, 2 Nov 2015 19:27:40 +0100
Adrien Mazarguil wrote:
> Thanks for pointing this out, I'm used to avoiding C extensions whenever
> possible but will stick to DPDK style next time.
>
> Still, it would be nice if we could steer DPDK away from such extensions as
> much as possible. As a library
On Fri, 30 Oct 2015 19:52:38 +0100
Adrien Mazarguil wrote:
> +static int
> +mlx5_link_update_unlocked(struct rte_eth_dev *dev, int wait_to_complete)
> +{
> + struct priv *priv = dev->data->dev_private;
> + struct ethtool_cmd edata = {
> + .cmd = ETHTOOL_GSET
> + };
> +
Link information is retrieved using ethtool ioctls.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5.c| 1 +
drivers/net/mlx5/mlx5.h| 1 +
drivers/net/mlx5/mlx5_ethdev.c | 71 ++
3 files changed,
4 matches
Mail list logo