numam-dpdk/drivers/net/failsafe
Adrien Mazarguil 98e91784d9 net/failsafe: fix source port id in Rx packets
When passed to the application, Rx packets retain the port ID value
originally set by slave devices. Unfortunately these IDs have no
meaning to applications, which are typically unaware of their existence.

This confuses those caring about the source port field in mbufs
(m->port) which experience issues ranging from traffic drop to crashes.

Fixes: a46f8d584e ("net/failsafe: add fail-safe PMD")
Cc: stable@dpdk.org

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2019-04-19 14:51:55 +02:00
..
failsafe_args.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
failsafe_eal.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
failsafe_ether.c net/failsafe: replace sub-device pointer with port id 2019-03-29 17:25:32 +01: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 ethdev: deprecate legacy filter API 2019-04-19 14:51:54 +02:00
failsafe_private.h net/failsafe: replace sub-device pointer with port id 2019-03-29 17:25:32 +01:00
failsafe_rxtx.c net/failsafe: fix source port id in Rx packets 2019-04-19 14:51:55 +02:00
failsafe.c net/failsafe: support secondary process 2019-03-29 17:25:32 +01: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