numam-dpdk/examples
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
..
bond examples/bond: fix FreeBSD build 2015-12-07 03:21:13 +01:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix build for non-x86 arch 2016-02-16 07:21:31 +01:00
dpdk_qat examples/dpdk_qat: fix build error message 2016-03-31 22:03:05 +02:00
ethtool examples/ethtool: fix build 2016-02-16 07:33:44 +01:00
exception_path ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
ip_pipeline ethdev: redesign link speed config 2016-04-01 21:38:34 +02:00
ip_reassembly ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
ipsec-secgw ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
ipv4_multicast ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
kni ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-cat examples/l2fwd-cat: add sample application for PQoS CAT and CDP 2016-03-21 23:36:43 +01:00
l2fwd-crypto ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-ivshmem ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-jobstats ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-keepalive ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l3fwd ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l3fwd-acl ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l3fwd-power ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l3fwd-vf lpm: add a new config structure for IPv4 2016-03-09 23:05:05 +01:00
link_status_interrupt ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
load_balancer ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
multi_process ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
netmap_compat remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
packet_ordering examples: use buffered Tx 2016-03-11 18:05:55 +01:00
performance-thread ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
ptpclient mk: fix missing librt dependencies 2016-03-22 20:46:53 +01:00
qos_meter examples: use buffered Tx 2016-03-11 18:05:55 +01:00
qos_sched doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
quota_watermark remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination ethdev: rework tunnel filtering structure 2016-03-13 15:26:55 +01:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: fix VLAN tag 2016-03-25 19:53:00 +01:00
vhost_xen vhost: remove device operations pointers 2016-02-19 19:33:31 +01:00
vm_power_manager config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
vmdq examples/vmdq: fix crash when using too many pools 2015-12-07 03:21:13 +01:00
vmdq_dcb examples/vmdq_dcb: support X710 2016-03-16 17:47:10 +01:00
Makefile examples/l2fwd-cat: add sample application for PQoS CAT and CDP 2016-03-21 23:36:43 +01:00