[dpdk-dev] [PATCH v8] linuxapp, eal: Fix the memory leak issue of logid

2018-09-11 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[dpdk-dev] [PATCH v7] linuxapp, eal: Fix the memory leak issue of logid

2018-09-10 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. By the way, we also fix several missed function call of rte_atomic32_clear. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH v6] linuxapp, eal: Fix the memory leak issue of logid

2018-09-10 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. By the way, we also fix several missed function call of rte_atomic32_clear. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH v5] linuxapp, eal: Fix the memory leak issue of logid

2018-09-04 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 21 - lib/librte_eal/linuxapp/eal/eal_log.c

[dpdk-dev] [PATCH v4] linuxapp, eal: Fix the memory leak issue of logid

2018-09-04 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 21 - lib/librte_eal/linuxapp/eal/eal_log.c

[dpdk-dev] [PATCH v3] linuxapp, eal: Fix the memory leak issue of logid

2018-09-04 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 13 - lib/librte_eal/linuxapp/eal/eal_log.c | 12

[dpdk-dev] [PATCH v2] linuxapp, eal: Fix the memory leak issue of logid

2018-08-30 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a

[dpdk-dev] [PATCH] linuxapp, eal: Fix the memory leak issue of logid

2018-08-29 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions

[dpdk-dev] [PATCH] rte, eal: Rename pci_update_device and make it public

2017-02-12 Thread Ziye Yang
: Ziye Yang --- lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- lib/librte_eal/common/eal_common_pci.c | 2 +- lib/librte_eal/common/eal_private.h | 13 - lib/librte_eal/common/include/rte_pci.h | 14 ++ lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +- 5 files changed

[dpdk-dev] [PATCH v4] Pci: Add the class_id support

2016-05-24 Thread Ziye Yang
This patch is used to add the class_id (class_code, subclass_code, programming_interface) support for pci_device probe. With this patch, it will be flexible for users to probe a class of devices by class_id. Signed-off-by: Ziye Yang --- Changes in v4: adjust title name and change RTE_PCI_DEVICE

[dpdk-dev] [PATCH v3] ci: Add the class_id support in pci probe

2016-05-19 Thread Ziye Yang
This patch is used to add the class_id (class_code, subclass_code, programming_interface) support for pci_device probe. With this patch, it will be flexible for users to probe a class of devices by class_id. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/deprecation.rst| 6 -- lib

[dpdk-dev] [PATCH v2] ci: Add the class_id support in pci probe

2016-05-19 Thread Ziye Yang
This patch is used to add the class_id (class_code, subclass_code, programming_interface) support for pci_device probe. With this patch, it will be flexible for users to probe a class of devices by class_id. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/deprecation.rst| 6 -- lib

[dpdk-dev] [PATCH] pci: Add the class_id support in pci probe

2016-05-11 Thread Ziye Yang
This patch is used to add the class_id (class_code, subclass_code, programming_interface) support for pci_device probe. With this patch, it will be flexible for users to probe a class of devices by class_id. Signed-off-by: Ziye Yang --- lib/librte_eal/bsdapp/eal/eal_pci.c | 4 lib

[dpdk-dev] [PATCH] librte_eal: fix wrong args operation in eal_parse_args

2016-05-11 Thread Ziye Yang
This patch is used to fix wrong operation on user input args. eal_parse_args function should not operate the args passed by the user. If the element in argv is generated by malloc function, changing it will cause memory issues when free the args. Signed-off-by: Ziye Yang --- lib/librte_eal

[dpdk-dev] [PATCH v3] PCI: ABI change request for adding new field in rte_pci_id structure

2016-02-17 Thread Ziye Yang
of probing the device by vendor_id OR device_id OR subvendor_id OR subdevice_id. For example, we can probe all nvme devices by class field, which can be quite convenient. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/

[dpdk-dev] [PATCH v2] PCI: ABI change request for adding new field in rte_pci_id structure

2016-02-16 Thread Ziye Yang
of probing the device by vendor_id OR device_id OR subvendor_id OR subdevice_id. For example, we can probe all nvme devices by class field, which can be quite convenient. As release_2_3.rst is replaced with release_16_04.rst. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/release_16_

[dpdk-dev] [PATCH v2] PCI: ABI change request for adding new field in rte_pci_id structure

2016-02-16 Thread Ziye Yang
of probing the device by vendor_id OR device_id OR subvendor_id OR subdevice_id. For example, we can probe all nvme devices by class field, which can be quite convenient. As release_2_3.rst is replaced with release_16_04.rst Signed-off-by: Ziye Yang --- doc/guides/rel_notes/release_16_

[dpdk-dev] [PATCH v2] PCI: ABI change request for adding new field in rte_pci_id structure

2016-02-16 Thread Ziye Yang
of probing the device by vendor_id OR device_id OR subvendor_id OR subdevice_id. For example, we can probe all nvme devices by class field, which can be quite convenient. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/release_16_04.rst | 7 --- 1 file changed, 4 insertions(+), 3 deletion

[dpdk-dev] [PATCH] PCI: ABI change request for adding new field in rte_pci_id structure

2016-01-25 Thread Ziye Yang
of probing the device by vendor_id OR device_id OR subvendor_id OR subdevice_id. For example, we can probe all nvme devices by class field, which can be quite convenient. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/release_2_3.rst | 4 1 file changed, 4 insertions(+) diff --git a/

[dpdk-dev] [PATCH] pci: Add the class_id support in pci probe

2015-12-29 Thread Ziye Yang
This patch is used to add the class_id support for pci_probe since some devices need the class_info (class_code, subclass_code, programming_interface) Signed-off-by: Ziye Yang --- lib/librte_eal/bsdapp/eal/eal_pci.c | 4 lib/librte_eal/common/eal_common_pci.c | 3 +++ lib/librte_eal