Go to file
Jasvinder Singh 66cdfd67c5 net/softnic: fix undefined device info fields
The memcpy operation overwrites the device info fields set
by ethdev API and leaves the device field undefined.
Thus, replaces memcpy by only updating the required fields
at the driver layer.

error log: testpmd> show port info 1

**** Infos for port 1  ****
MAC address: 00:00:00:00:00:00
Device name: net_softnic0

Segmentation fault.
port_infos_display (port_id=1) at /dpdk/app/test-pmd/config.c:418
if (dev_info.device->devargs && dev_info.device->devargs->args)

Fixes: cc6d421574 ("net/softnic: add softnic PMD")
Cc: stable@dpdk.org

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-11-21 16:23:56 +01:00
app app/eventdev: fix possible uninitialized variable 2018-11-23 01:43:47 +01:00
buildtools mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
config config: enable more than 128 cores for arm64 2018-11-23 02:03:33 +01:00
devtools devtools: fix regex in symbol addition check 2018-11-18 23:38:26 +01:00
doc doc: update Mellanox supported OFED version 2018-11-21 15:50:49 +01:00
drivers net/softnic: fix undefined device info fields 2018-11-21 16:23:56 +01:00
examples examples/ipv4_multicast: fix leak of cloned packets 2018-11-18 22:55:52 +01:00
kernel kni: fix build on Linux < 3.14 2018-10-27 00:18:06 +02:00
lib ethdev: remove unused deferred device state 2018-11-21 16:11:14 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test test: release ring resources after PMD perf test 2018-11-18 23:23:22 +01:00
usertools usertools: skip empty categories in devices status 2018-11-23 01:43:20 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS security: remove experimental tag 2018-11-18 22:31:30 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: add option to override drivers install directory 2018-10-27 23:22:21 +02:00
meson.build version: 18.11-rc4 2018-11-19 01:40:54 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org