numam-dpdk/drivers/net/ring
Marc Sune 82113036e4 ethdev: redesign link speed config
This patch redesigns the API to set the link speed/s configuration
of 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.

A flag autoneg in struct rte_eth_link indicates if link speed was a
result of auto-negociation or was fixed by configuration.

Signed-off-by: Marc Sune <marcdevel@gmail.com>
Tested-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Tested-by: Beilei Xing <beilei.xing@intel.com>
Tested-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2016-04-01 21:38:34 +02:00
..
Makefile ring: remove deprecated functions 2015-09-03 19:22:48 +02:00
rte_eth_ring_version.map ring: create device from a ring 2015-11-03 02:01:56 +01:00
rte_eth_ring.c ethdev: redesign link speed config 2016-04-01 21:38:34 +02:00
rte_eth_ring.h ring: create device from a ring 2015-11-03 02:01:56 +01:00