[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2016-02-12 Thread Marc
On 11 February 2016 at 16:27, N?lio Laranjeiro wrote: > On Tue, Feb 02, 2016 at 11:30:59PM +0100, Marc wrote: > > On 2 February 2016 at 03:20, Stephen Hemminger < > stephen at networkplumber.org> > > wrote: > > > > > On Thu, 28 Jan 2016 17:33:20 + > > > Harish Patil wrote: > > > > > > > *

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2016-02-11 Thread Nélio Laranjeiro
On Tue, Feb 02, 2016 at 11:30:59PM +0100, Marc wrote: > On 2 February 2016 at 03:20, Stephen Hemminger > wrote: > > > On Thu, 28 Jan 2016 17:33:20 + > > Harish Patil wrote: > > > > > * Added utility MACROs ETH_SPEED_NUM_XXX with the numeric > > > values of all supported link speeds, in

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2016-02-02 Thread Marc
On 2 February 2016 at 03:20, Stephen Hemminger wrote: > On Thu, 28 Jan 2016 17:33:20 + > Harish Patil wrote: > > > * Added utility MACROs ETH_SPEED_NUM_XXX with the numeric > > values of all supported link speeds, in Mbps. > > I would prefer that there were no speed value macros. > Linux

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2016-02-02 Thread Stephen Hemminger
On Thu, 28 Jan 2016 17:33:20 + Harish Patil wrote: > * Added utility MACROs ETH_SPEED_NUM_XXX with the numeric > values of all supported link speeds, in Mbps. I would prefer that there were no speed value macros. Linux used to have these, but people kept adding new hardware speeds and it

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2016-01-28 Thread Harish Patil
From: Marc Sune mailto:marcde...@gmail.com>> Date: Sunday, October 4, 2015 at 2:12 PM To: "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:dev at dpdk.org>> Subject: [dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API This patch redesigns the API to se

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2015-10-07 Thread Marc Sune
2015-10-06 15:48 GMT+02:00 N?lio Laranjeiro : > Hi Marc, > > On Sun, Oct 04, 2015 at 11:12:46PM +0200, Marc Sune wrote: > >[...] > > /** > > + * Device supported speeds bitmap flags > > + */ > > +#define ETH_LINK_SPEED_AUTONEG (0 << 0) /*< > Autonegociate (all speeds) */ > >

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2015-10-07 Thread Marc Sune
2015-10-05 12:59 GMT+02:00 Neil Horman : > On Sun, Oct 04, 2015 at 11:12:46PM +0200, Marc Sune wrote: > > This patch redesigns the API to set the link speed/s configure > > for an ethernet port. Specifically: > > > > - it allows to define a set of advertised speeds for > > auto-negociation. > >

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2015-10-06 Thread Nélio Laranjeiro
Hi Marc, On Sun, Oct 04, 2015 at 11:12:46PM +0200, Marc Sune wrote: >[...] > /** > + * Device supported speeds bitmap flags > + */ > +#define ETH_LINK_SPEED_AUTONEG (0 << 0) /*< Autonegociate > (all speeds) */ > +#define ETH_LINK_SPEED_NO_AUTONEG(1 << 0) /*< Disable autoneg

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2015-10-05 Thread Neil Horman
On Sun, Oct 04, 2015 at 11:12:46PM +0200, Marc Sune wrote: > This patch redesigns the API to set the link speed/s configure > for an ethernet port. Specifically: > > - it allows to define a set of advertised speeds for > auto-negociation. > - it allows to disable link auto-negociation (single

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2015-10-05 Thread Marc Sune
This patch redesigns the API to set the link speed/s configure for an ethernet port. Specifically: - it allows to define a set of advertised speeds for auto-negociation. - it allows to disable link auto-negociation (single fixed speed). - default: auto-negociate all supported speeds. Other