> From: Georg Sauthoff [mailto:m...@gms.tf]
> Sent: Tuesday, 25 January 2022 00.22
>
> Hello,
>
> Stephen Hemminger wrote (Sun, 16 Jan 2022 08:32:20 -0800):
>
> > I would propose that DPDK have same kind of define as the kernel
> > for SAFE_UNALIGNED_ACCESS. The C standard has to apply to all
>
If we don't memset acl result array before matching,
we can get arbitrary dirty data from memory.
Signed-off-by: Zhiheng Chen
---
examples/l3fwd-acl/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c
index 1fb1807235..7b9539b3ca 10
AF_XDP support is deprecated in libbpf since v0.7.0 [1]. The
libxdp library now provides the functionality which once was in
libbpf and which the AF_XDP PMD relies on. This commit updates the
AF_XDP meson build to use the libxdp library if a version >= v1.2.2 is
available. If it is not available, o
During the vhost data path building process, qemu will create a call fd at
first,
and create another call fd in the end. The final call fd will be used to relay
notify.
In the original code, after kick fd is set, dev_conf will set the first
call fd. Even though the actual call fd will set, the da
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.c | 2 +-
drivers/vdpa/ifc/base/ifcvf.h | 3 +++
drivers/vdpa/ifc/ifcvf_vdpa.c | 32 +++-
3 files changed, 27 insertions(+), 10 deletions(-)
diff --git a/drivers/vdpa/ifc/base/ifcvf.c b/drivers/vdpa/ifc/base/if
1.last_avail_idx is lower 16 bit of the register.
2.address of ring_state register is different between net and blk device.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.c | 36 +---
drivers/vdpa/ifc/base/ifcvf.h | 1 +
2 files changed, 30 insertions(+)
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.h | 1 +
drivers/vdpa/ifc/ifcvf_vdpa.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/vdpa/ifc/base/ifcvf.h b/drivers/vdpa/ifc/base/ifcvf.h
index 6dd7925..8e602af 100644
--- a/drivers/vdpa/ifc/base/ifcvf.h
+++ b/drivers/vdpa/
Create a thread to poll and relay config space change interrupt.
Use VHOST_USER_SLAVE_CONFIG_CHANGE_MSG to info qemu.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 113 ++
1 file changed, 113 insertions(+)
diff --git a/drivers/vdpa/ifc/ifcvf
original code max_queues is set to IFCVF_MAX_QUEUES.
New code max_queues is the min of IFCVF_MAX_QUEUES and hardware num_queues.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcv
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
index eff6ff3..0b4b77f 100644
--- a/drivers/vdpa/ifc/ifcvf_vdpa.c
+++ b/drivers/vdpa/ifc/ifcvf
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
index 1f832a3..eff6ff3 100644
--- a/drivers/vdpa/ifc/ifcvf_vdpa.c
+++ b/drivers/vdpa/ifc/ifcvf_v
Signed-off-by: Andy Pei
---
usertools/dpdk-devbind.py | 8
1 file changed, 8 insertions(+)
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index ace4627..cbe336f 100755
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
@@ -14,6 +14,8 @@
from os.path imp
Signed-off-by: Andy Pei
---
examples/vdpa/Makefile | 2 +-
examples/vdpa/main.c | 8 ++
examples/vdpa/meson.build| 1 +
examples/vdpa/vdpa_blk_compact.c | 152 +++
examples/vdpa/vdpa_blk_compact.h | 118
exam
Enable virtio blk sw live migration relay callfd and log the dirty page.
In this version we ignore the write cmd and still mark it dirty. Maybe we can
improve it later.
Signed-off-by: Jin Yu
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.c | 4 +-
drivers/vdpa/ifc/base/ifcvf.h | 6
For the blk we need to relay all the cmd of each queue.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 48 +--
1 file changed, 37 insertions(+), 11 deletions(-)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
index
For virtio blk device, re-use part of ifc driver ops.
Implement ifcvf_blk_get_config for virtio blk device.
Support VHOST_USER_PROTOCOL_F_CONFIG feature for virtio
blk device.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.h | 4 ++
drivers/vdpa/ifc/ifcvf_vdpa.c | 88 ++
Get_config and set_config are necessary ops for blk device.
Add get_config and set_config ops to vdpa ops.
Signed-off-by: Andy Pei
---
lib/vhost/vdpa_driver.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/vhost/vdpa_driver.h b/lib/vhost/vdpa_driver.h
index fc2d6
Re-use the vdpa/ifc code, distinguish blk and net device by pci_device_id.
Blk and net device are implemeted with proper feature and ops.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.h | 16 +++-
drivers/vdpa/ifc/ifcvf_vdpa.c | 96 +++
2 fil
This patch set add virtio_blk device support to vdpa/ifc driver.
With a lot of similarities, I re-use part of vdpa/ifc driver.
Distinguish the virtio net and blk device by device id, and implement
specific features and ops.
Add example to vdpa to support virtio_blk device.
To support blk device li
> -Original Message-
> From: Huang, Wei
> Sent: Tuesday, January 25, 2022 10:31 AM
> To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh
> ; Huang, Wei
> Subject: [PATCH v1] raw/ifpga/base: fix port feature ID
>
> Fix ID value of port fea
On Thu, Jan 20, 2022 at 12:53 AM Kalesh A P
wrote:
>
> From: Kalesh AP
>
> Please apply.
>
> Ajit Khaparde (1):
> net/bnxt: fix VF resource allocation strategy
>
> Kalesh AP (3):
> net/bnxt: fix check for autoneg enablement
> net/bnxt: handle ring cleanup in case of error
> net/bnxt: fix
> -Original Message-
> From: Xu, Rosen
> Sent: Tuesday, January 25, 2022 9:43 AM
> To: Huang, Wei ; dev@dpdk.org; Zhang, Qi Z
>
> Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh
> ; step...@networkplumber.org;
> david.march...@redhat.com
> Subject: RE: [PATCH v8] raw/ifpga: fix pth
From: Kiran Kumar K
Adding changes to enable keep flow rule device capability.
With this change, flow rules will be kept across device restart.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 8
drivers/common/cnxk/roc_npc.h | 2
From: Satheesh Paul
When creating flow rule, merge base steering rule only
for ingress rules.
Fixes: f9af9080746 ("common/cnxk: add mcam utility API")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc_mcam.c | 2 +-
1 file
From: Satheesh Paul
Changed log level from info to debug for a couple of log
messages printed during MCAM allocation.
Fixes: 1f66919817 ("common/cnxk: improve MCAM entries management")
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc_utils.c
From: Satheesh Paul
Added code to clear and delete counters upon flow deletion.
Fixes: a07f7ced43 ("common/cnxk: add NPC init and fini")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob Kollanukkaran
---
drivers/common/cnxk/roc_npc.c | 10 ++
1 file changed,
From: Satheesh Paul
Added null check in IPv6 flow pattern parsing.
Fixes: a55dc02af5 ("common/cnxk: support extensions attributes in IPv6 item")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob Kollanukkaran
---
drivers/common/cnxk/roc_npc_parse.c | 8 +---
1 fil
On Wednesday, January 19, 2022 10:16 Ivan Malov wrote:
> > +Oftentimes in an application, many flow rules share a common structure
> > +(the same pattern and/or action list) so they can be grouped and
> classified
> > +together. This knowledge may be used as a source of optimization by a
> PMD/HW
> -Original Message-
> From: Stephen Hemminger
> Sent: Monday, January 24, 2022 11:17 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger ; Rasesh Mody
> ; Devendra Singh Rawat
> Subject: [EXT] [PATCH v2 63/83] net/qede: remove unnecessary NULL checks
>
> External Email
>
> ---
Currently dumpcap tries to initialize dpdk before parsing command line
arguments, this makes it impossible to check version or help without
having the primary process running already.
Signed-off-by: Ben Magistro
---
app/dumpcap/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
Fix ID value of port features to match the definition from hardware.
Fixes: 473c88f9 ("drivers/raw: remove rawdev from directory names")
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_defines.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/raw/ifpg
Hi Ori,
> -Original Message-
> From: Ori Kam
> Sent: Tuesday, January 25, 2022 12:35 AM
> To: Wang, Jie1X ; dev@dpdk.org
> Cc: Yang, SteveX ; Singh, Aman Deep
> ; Yigit, Ferruh ; NBU-
> Contact-Thomas Monjalon (EXTERNAL) ;
> andrew.rybche...@oktetlabs.ru; Wu, Jingjing ; Xing,
> Beilei ; Z
Hi,
> -Original Message-
> From: Huang, Wei
> Sent: Monday, January 24, 2022 11:50
> To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh
> ; step...@networkplumber.org;
> david.march...@redhat.com
> Subject: [PATCH v8] raw/ifpga: fix pthread
> -Original Message-
> From: Yunjian Wang
> Sent: Monday, January 10, 2022 7:53 PM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z ; Yang, Qiming
> ; dingxiaoxi...@huawei.com;
> xudin...@huawei.com; Yunjian Wang ;
> sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH v2] net/ice: fix link up when startin
> -Original Message-
> From: Zhang, RobinX
> Sent: Wednesday, December 29, 2021 5:26 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming ; Zhang, Qi Z
> ; Guo, Junfeng ; Yang,
> SteveX ; Zhang, RobinX
> Subject: [PATCH] net/ice/base: support E824S and E825 devices
>
> Add support for E824S and E
On Monday, January 24, 2022 12:41 Ajit Khaparde
wrote:
> On Mon, Jan 24, 2022 at 6:37 AM Jerin Jacob
> wrote:
> >
> > On Tue, Jan 18, 2022 at 9:01 PM Alexander Kozyrev
> wrote:
> > >
> > > The flow rules creation/destruction at a large scale incurs a performance
> > > penalty and may negatively
Add recommended matching list for ice PMD in DPDK 21.08 and DPDK 21.11.
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
v2:
- cc stable as backport is required.
doc/guides/nics/ice.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst
ind
> -Original Message-
> From: David Marchand
> Sent: Thursday, January 13, 2022 2:40 PM
> To: Zhang, Qi Z
> Cc: Yang, Qiming ; Guo, Junfeng
> ; Lin, Xueqin ; dev
> ; Yigit, Ferruh ; Kevin Traynor
>
> Subject: Re: [PATCH] doc: update matching versions in ice guide
>
> On Thu, Jan 13, 20
> -Original Message-
> From: Yang, SteveX
> Sent: Thursday, January 20, 2022 11:00 AM
> To: dev@dpdk.org
> Cc: Zhang, Yuying ; Singh, Aman Deep
> ; Yang, Qiming ;
> Zhang, Qi Z ; Yang, SteveX
> Subject: [PATCH 1/2] net/ice: add module EEPROM ops for ice
>
> Add new callbacks for eth_d
On Monday, January 24, 2022 13:09 Bruce Richardson
wrote:
> On Mon, Jan 24, 2022 at 11:16:15PM +0530, Jerin Jacob wrote:
> > On Mon, Jan 24, 2022 at 11:05 PM Thomas Monjalon
> wrote:
> > >
> > > 24/01/2022 15:36, Jerin Jacob:
> > > > On Tue, Jan 18, 2022 at 9:01 PM Alexander Kozyrev
> wrote:
>
Sorry, Ivan, missed your email last week since I wasn't in To list. Adding all
the people back.
On Wednesday, January 19, 2022 8:07 Ivan Malov wrote:
> > +Rules management configuration
> > +--
> > +
> > +Configure flow rules management.
>
> It is either "managemen
> -Original Message-
> From: Su, Simei
> Sent: Thursday, January 20, 2022 6:22 PM
> To: Zhang, Qi Z ; Yang, Qiming
>
> Cc: dev@dpdk.org; Wu, Wenjun1 ; Su, Simei
> ; sta...@dpdk.org
> Subject: [PATCH] net/ice: fix ieee1588fwd not show PTP timestamp
Renamed to
fix missing mbuf offload
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 25, 2022 01:47
> To: dev@dpdk.org
> Cc: Stephen Hemminger ; Wang, Haiyue
>
> Subject: [PATCH v2 54/83] net/igc: remove unnecessary NULL checks
>
> Remove redundant NULL pointer checks before free functions
> found b
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 25, 2022 01:47
> To: dev@dpdk.org
> Cc: Stephen Hemminger ; Wang, Haiyue
>
> Subject: [PATCH v2 55/83] net/ixgbe: remove unnecessary NULL checks
>
> Remove redundant NULL pointer checks before free functions
> found
> -Original Message-
> From: Xu, Rosen
> Sent: Wednesday, January 19, 2022 6:51 PM
> To: Huang, Wei ; dev@dpdk.org; Zhang, Qi Z
>
> Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh
>
> Subject: RE: [PATCH v1] raw/ifpga/base: fix SPI transaction
>
> Hi,
>
> > -Original Message
Hi Alexander,
This series is very helpful as it draws attention to
the problem of making flow API efficient. That said,
there is much room for improvement, especially in
what comes to keeping things clear and concise.
In example, the following APIs
- rte_flow_q_flow_create()
- rte_flow_q_flow_d
Hello,
Stephen Hemminger wrote (Sun, 16 Jan 2022 08:32:20 -0800):
> I would propose that DPDK have same kind of define as the kernel
> for SAFE_UNALIGNED_ACCESS. The C standard has to apply to all architectures
> but DPDK will make the choice to be fast rather than standards conformant.
perhaps
Added checksum support for variable size headers such as IPv4 headers
with options.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Yogesh Jangra
---
lib/pipeline/rte_swx_pipeline.c | 3 +--
lib/pipeline/rte_swx_pipeline_internal.h | 21 +++--
2 files changed, 12 ins
> Subject: [PATCH v2 60/83] net/netvsc: remove unnecessary NULL checks
>
> Remove redundant NULL pointer checks before free functions found by
> nullfree.cocci
>
> Signed-off-by: Stephen Hemminger
Acked-by: Long Li
> ---
> drivers/net/netvsc/hn_rxtx.c | 6 ++
> 1 file changed, 2 insertions
> Subject: [PATCH 59/82] net/netvsc: remove unnecessary NULL checks
>
> Remove redundant NULL pointer checks before free functions found by
> nullfree.cocci
>
> Signed-off-by: Stephen Hemminger
Acked-by: Long Li
> ---
> drivers/net/netvsc/hn_rxtx.c | 6 ++
> 1 file changed, 2 insertions(
On Mon, Jan 24, 2022 at 11:20 PM Bruce Richardson
wrote:
>
> Starting in meson 0.56, the functions meson.source_root() and
> meson.build_root() are deprecated and to be replaced by the [more
> descriptive] functions: project_source_root()/global_source_root() and
> project_build_root()/global_buil
Acked-by: Nipun Gupta
> -Original Message-
> From: Stephen Hemminger
> Sent: 24 January 2022 23:17
> To: dev@dpdk.org
> Cc: Stephen Hemminger ; Nipun Gupta
>
> Subject: [PATCH v2 70/83] raw/dpaa2_qdma: remove unnecessary NULL checks
>
> Remove redundant NULL pointer checks before free
On Mon, Jan 24, 2022 at 11:16:15PM +0530, Jerin Jacob wrote:
> On Mon, Jan 24, 2022 at 11:05 PM Thomas Monjalon wrote:
> >
> > 24/01/2022 15:36, Jerin Jacob:
> > > On Tue, Jan 18, 2022 at 9:01 PM Alexander Kozyrev
> > > wrote:
> > > > +struct rte_flow_port_attr {
> > > > + /**
> > > > +
Starting in meson 0.56, the functions meson.source_root() and
meson.build_root() are deprecated and to be replaced by the [more
descriptive] functions: project_source_root()/global_source_root() and
project_build_root()/global_build_root(). Unfortunately, these new
replacement functions were only a
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/reorder/rte_reorder.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/reorder/rte_reorder.c b/lib/reorder/rte_reorder.c
index 9445853b79cc..bc
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/power/rte_power_empty_poll.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/power/rte_power_empty_poll.c b/lib/power/rte_power_empty_poll.c
index
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/port/rte_port_source_sink.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/lib/port/rte_port_source_sink.c b/lib/port/rte_port_s
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/ipsec/ipsec_sad.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
index 531e1e323cdc..af4b1ce757d2 10064
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/graph/graph_stats.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/graph/graph_stats.c b/lib/graph/graph_stats.c
index aa70929dc32e..65e12d46a313
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/ethdev/rte_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index a1d475a29295..98312fa157f6
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
lib/compressdev/rte_compressdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/compressdev/rte_compressdev.c
b/lib/compressdev/rte_compressdev.c
i
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 3 +--
drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/vdpa/mlx5/mlx5_
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
index 3
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/regex/mlx5/mlx5_regex.c | 3 +--
drivers/regex/mlx5/mlx5_rxp.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/regex/mlx5/mlx5_regex.c
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
Reviewed-by: Liron Himi
---
drivers/regex/cn9k/cn9k_regexdev.c | 6 ++
drivers/regex/cn9k/cn9k_regexdev_compiler.c | 3 +--
2 files changed, 3 insertions(+), 6 deleti
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
Acked-by: Hemant Agrawal
---
drivers/raw/skeleton/skeleton_rawdev_test.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/raw/skeleton/skeleton_r
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/raw/ifpga/ifpga_rawdev.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/ifpga/ifpga_rawdev.
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
b/drivers/raw/dpaa
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c
b/drivers/raw/cnxk_bphy/cnxk_
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/virtio/virtio_user_ethdev.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/net/virtio/virtio_user_ethdev.c
b/drivers/net/
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/vdev_netvsc/vdev_netvsc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c
b/drivers/net/vdev_netvsc/vde
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/txgbe/txgbe_ethdev.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/net/txgbe/txgbe_ethdev.c b/drivers/net/txgbe/txgbe_eth
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/tap/tap_flow.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/tap_flow.c
index 7673823945
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/softnic/rte_eth_softnic_cli.c | 12
drivers/net/softnic/rte_eth_softnic_cryptodev.c | 6 ++
drivers/net/softnic/rte_eth_softnic_thread.c
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/qede/qede_main.c | 3 +--
drivers/net/qede/qede_rxtx.c | 6 ++
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/net/qede/qede_main.c b/dri
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/octeontx/octeontx_ethdev.c | 3 +--
drivers/net/octeontx/octeontx_ethdev_ops.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/n
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/null/rte_eth_null.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
index ca
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/netvsc/hn_rxtx.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/netvsc/hn_rxtx.c b/drivers/net/netvsc/hn_rxtx.c
index 50ca171
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
Reviewed-by: Liron Himi
---
drivers/net/mvpp2/mrvl_qos.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/mvpp2/mrvl_qos.c b/drivers/net/mvpp2/mrv
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/mlx5/mlx5_flow.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index b7cf4143d5a
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/mlx4/mlx4_mr.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/mlx4/mlx4_mr.c b/drivers/net/mlx4/mlx4_mr.c
index 2274b5df1950..e95
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/memif/rte_eth_memif.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/memif/rte_eth_memif.c
b/drivers/net/memif/rte_eth_memif
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 12
drivers/net/ixgbe/ixgbe_rxtx.c | 3 +--
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ixgbe
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/igc/igc_flow.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/igc/igc_flow.c b/drivers/net/igc/igc_flow.c
index 66053060af5a..5
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/ice/ice_fdir_filter.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_fdir_filter.c
b/drivers/net/ice/ice_fdir_filter
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/iavf/iavf_rxtx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index 59623ac8209
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/i40e/i40e_ethdev.c | 27 +--
drivers/net/i40e/i40e_rxtx.c | 3 +--
2 files changed, 10 insertions(+), 20 deletions(-)
diff --git a/drive
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/hns3/hns3_rxtx.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c
index d240
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/hinic/hinic_pmd_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c
b/drivers/net/hinic/hinic_pmd_e
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/ena/ena_ethdev.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
Acked-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 3 +--
drivers/net/dpaa2/dpaa2_mux.c| 3 +--
drivers/net/dpaa2/dpaa2_ptp.c| 3 +--
3 files changed, 3 inse
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/dpaa/dpaa_ethdev.c | 3 +--
drivers/net/dpaa/fmlib/fm_lib.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dpaa/dpaa_ethdev.c
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/cxgbe/cxgbe_main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/cxgbe/cxgbe_main.c b/drivers/net/cxgbe/cxgbe_main.c
index f1ac3
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/cnxk/cnxk_ethdev.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c
index 7
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_e
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/bnxt/bnxt_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index f79f3
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/bnx2x/bnx2x_rxtx.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c
index 6
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/axgbe/axgbe_rxtx.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/axgbe/axgbe_rxtx.c b/drivers/net/axgbe/axgbe_rxtx.c
index 6
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/event/sw/sw_evdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index 6ae613e0f2e7..
Remove redundant NULL pointer checks before free functions
found by nullfree.cocci
Signed-off-by: Stephen Hemminger
---
drivers/crypto/virtio/virtqueue.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/virtio/virtqueue.c
b/drivers/crypto/virtio/virtqueue
1 - 100 of 205 matches
Mail list logo