numam-dpdk/drivers/net/failsafe
Stephen Hemminger 4586be3743 net/failsafe: fix reported device info
The failsafe driver device info had several issues in the
info it reported in dev_info_get:
  - it cleared dev_info->device set in rte_eth_dev_info_get
  - many fields (for example max_rx_queue) should be the minimum
    of all sub devices
  - it reported tx capa for the active transmit device, but
    the device may change.

There was enough messed up that ended up reworking the info_get
handler. There is no need to save current values or have a
template for defaults.

Fixes: 4e31ee26ed ("net/failsafe: report actual device capabilities")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2019-06-13 23:54:30 +09:00
..
failsafe_args.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
failsafe_eal.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
failsafe_ether.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
failsafe_flow.c net/failsafe: switch to flow API object conversion function 2018-10-11 18:53:49 +02:00
failsafe_intr.c net/failsafe: change back-reference from sub-device 2019-03-29 17:25:32 +01:00
failsafe_ops.c net/failsafe: fix reported device info 2019-06-13 23:54:30 +09:00
failsafe_private.h net/failsafe: fix reported device info 2019-06-13 23:54:30 +09:00
failsafe_rxtx.c net/failsafe: fix source port id in Rx packets 2019-04-19 14:51:55 +02:00
failsafe.c net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
Makefile build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
rte_pmd_failsafe_version.map net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00