Autogenerated with cocci/mtod-offset.cocci.
Signed-off-by: Stephen Hemminger
---
drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c
b/drivers/baseband/fpga_5gnr_fec/rte_
Autogenerated with cocci/mtod-offset.cocci.
Signed-off-by: Stephen Hemminger
---
drivers/net/mlx4/mlx4_rxtx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/drivers/net/mlx4/mlx4_rxtx.c
index 059e432a63fc..d5feeb7f7e6d 100644
--- a/driver
Autogenerated with cocci/mtod-offset.cocci.
Signed-off-by: Stephen Hemminger
---
drivers/crypto/caam_jr/caam_jr.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/caam_jr/caam_jr.c b/drivers/crypto/caam_jr/caam_jr.c
index b55258689b49..9c96fd21a48d 10064
Autogenerated with cocci/mtod-offset.cocci
Signed-off-by: Stephen Hemminger
---
drivers/common/cpt/cpt_ucode.h | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/common/cpt/cpt_ucode.h b/drivers/common/cpt/cpt_ucode.h
index b393be4cf661..87a3ac80b9da 100644
--
Autogenerated with cocci/mtod-offset.cocci
Signed-off-by: Stephen Hemminger
---
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 +-
drivers/crypto/cnxk/cnxk_se.h| 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
b/drivers/
Auto generated with cocci/mtod-offset.cocci
Signed-off-by: Stephen Hemminger
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 9 +
drivers/crypto/qat/qat_sym.h | 9 +
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/crypto/qat/dev/qat_cryp
Initial patch generated with cocci/mtod-offset.
Additional manual cleanups to indentation and remove unnecessary
parenthesis.
Signed-off-by: Stephen Hemminger
---
drivers/crypto/ipsec_mb/pmd_kasumi.c | 16 ++---
drivers/crypto/ipsec_mb/pmd_snow3g.c | 35 +++-
driv
Automatically generated by cocci/mtod-offset.cocci.
Signed-off-by: Stephen Hemminger
---
drivers/net/nfp/flower/nfp_flower_cmsg.h | 3 ++-
drivers/net/nfp/flower/nfp_flower_ctrl.c | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/nfp/flower/nfp_flower_cmsg.h
b
Automatically generated by cocci/mbuf-offset.cocci
Signed-off-by: Stephen Hemminger
---
drivers/net/tap/rte_eth_tap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
index 089ac202fad2..ca2c8da5c289 100644
--- a/
Automatically generated from cocci/mtod-offset.cocci
Signed-off-by: Stephen Hemminger
---
examples/l2fwd-crypto/main.c | 16 +---
examples/ptpclient/ptpclient.c | 18 +-
2 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/examples/l2fwd-crypto/main.c b/
Based off patch generated by cocci/mtod-offset.cocci.
With some cleanup to shorten lines by using conditional
with ommited operand.
Signed-off-by: Stephen Hemminger
---
app/test/test_cryptodev.c | 66 +--
1 file changed, 36 insertions(+), 30 deletions(-)
diff
Use helper macro.
Signed-off-by: Stephen Hemminger
---
app/test-pmd/ieee1588fwd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/ieee1588fwd.c b/app/test-pmd/ieee1588fwd.c
index 386d9f10e642..3371771751dd 100644
--- a/app/test-pmd/ieee1588fwd.c
+++ b/app/tes
Use the rte_pktmbuf_mtod_offset macro.
Change was automatically generated by cocci/mtod-offset.cocci.
Signed-off-by: Stephen Hemminger
---
lib/gso/gso_common.h | 11 +--
lib/gso/gso_tcp4.c| 8
lib/gso/gso_tunnel_tcp4.c | 12 ++--
lib/gso/gso_tunnel_udp4.c |
Use rte_pktmbuf_mtod_offset. Change was automatically generated
by cocci/mtod-offset.cocci.
Signed-off-by: Stephen Hemminger
---
lib/gro/gro_tcp4.c | 4 ++--
lib/gro/gro_tcp4.h | 4 ++--
lib/gro/gro_udp4.c | 4 ++--
lib/gro/gro_vxlan_tcp4.c | 4 ++--
lib/gro/gro_vxlan_udp4.c |
Run the coccinelle script for rte_pktmbuf_mtod_offset
against current main branch.
v2 - fix checkpatch warnings about long lines
Stephen Hemminger (14):
gro: use rte_pktmbuf_mtod_offset
gso: use rte_pktmbuf_mtod_offset
testpmd: use rte_pktmbuf_mtod_offset
test: cryptodev use rte_pktmbuf_m
On Sat, 6 May 2023 16:52:06 +0800
Chaoyong He wrote:
> From: Peng Zhang
>
> The pdump doesn't support start the multiple separate process for different
> queues or ports to monitor the packets, because it apply the same name for
> memory space. This commit will use the device_id, port and queu
Segmentation fault has been observed while running the
ixgbe_recv_pkts_lro() function to receive packets on the Loongson 3C5000
processor which has 64 cores and 4 NUMA nodes.
>From the ixgbe_recv_pkts_lro() function, we found that as long as the first
packet has the EOP bit set, and the length of
Aligned with kernel driver, optimized for inner and outer VLAN handling
in DPDK, and implemented double vlan insertion and stripping support.
NIC must work in double vlan mode(DVM), depending on FW/SW.
1. Adjust vlan stripping
The vlan stripping enable/disable is applied to the inner vlan.
2. Sup
Add a known issue: The ixgbe_vf driver is not multi-process safe.
Signed-off-by: Mingjin Ye
---
v2: Modify issue description reason.
---
doc/guides/nics/ixgbe.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst
index b1d7
Each stream has a read-only "disabled" field that control if this
stream should be used to forward. This field depends on states
of Rx/Tx queues, please see commit:
3c4426db54fc ("app/testpmd: do not poll stopped queues").
Currently, the testpmd and DPDK frameworks maintain queue state
separately.
From: Peng Zhang
The pdump doesn't support start the multiple separate process for different
queues or ports to monitor the packets, because it apply the same name for
memory space. This commit will use the device_id, port and queue to name
the memory space and it will support this function.
Adj
On 2023/04/14 21:35, Akihiko Odaki wrote:
82576 also has extended VLAN support.
Signed-off-by: Akihiko Odaki
---
drivers/net/e1000/igb_rxtx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index f32dee46df..25
The i variable type is uint8_t which causes a dead loop,
changing it to uint32_t will solve this issue.
Fixes: 3220d865382c ("net/ice: init RSS during DCF start")
Cc: sta...@dpdk.org
Signed-off-by: Kaiwen Deng
---
drivers/net/ice/ice_dcf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
23 matches
Mail list logo