numam-dpdk/app
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
..
cmdline_test app/cmdline_test: add missing dependencies 2015-12-03 00:02:26 +01:00
proc_info config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
test ethdev: rename link speed constants 2016-04-01 21:38:34 +02:00
test-acl acl: add NEON optimization for ARMv8 2015-11-18 22:44:01 +01:00
test-pipeline ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
test-pmd ethdev: redesign link speed config 2016-04-01 21:38:34 +02:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00