From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A976B42A7F; Sat, 6 May 2023 18:04:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C7A140EDC; Sat, 6 May 2023 18:04:08 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 69D1F406B8 for ; Sat, 6 May 2023 18:04:07 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-643557840e4so3275363b3a.2 for ; Sat, 06 May 2023 09:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1683389046; x=1685981046; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LbHxUNRxUzvoiUMYL4NLZnS1ru31MdVja6UuqIMYZGU=; b=SzaVvLhqgeAPsGl7MhAP54jKT2f4DNPZqj+hIov83DMzuaYV/1OHAStT/KHk/TFvKH UTjBlFzmm10K9t7IlR64b4PZfmt7g2mIckWGVOL+bKQHs/0traQxS6Jg5YHEsEb2AL1z D2pWG5Pi9adN6HnP4IHUapQpZrJ+1tbiyjmUqKD2NdTnJz4N4iKnCPIs5tX7xc7QNMOB PBLRbEQnMs/2o9B3m4Yijt31LLvPfsQQZ0gjjXE/lkmtm/pKcfvc5FTMyAXlz1QP9zPe /dCpQoCrvYbxTGP4TjEzikQiowuLdpGxd620NSiMtl2iOvYXMpuThV5hulqsGO8a5Gx/ oarw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683389046; x=1685981046; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LbHxUNRxUzvoiUMYL4NLZnS1ru31MdVja6UuqIMYZGU=; b=X7gXwKbjaeebqP6UsmlQm1hB9IQrKQUZIb4IbKnirbUeIMA5XHi6o0hOKfbRc4fPaL 9HnGbItR6nN7H9Po/Yxr+ky1gJuZSzm/vqG8IvY9R+EkVEaAZndnt913KkJeq2w3cHFX IXoy//W3Lpc1bHYkv3Wnf7AB6Gbvs0D7h8BbALoHCQwxXJkd1sgvUcnsMy9Oe6miz4qD lVHbt9c9X3wFHZ8tFlH+/a1HoQL0hAbG77eGJh1kFZCZEO7eOHX4nqRNMtWCNuxL1sOc jouASCEgX13Wdn2p56v4euOQ9UOqY2ffzLtL9S5Z/gWkgW+xvAlvSslImcxzfTr4B7W4 7Udg== X-Gm-Message-State: AC+VfDyxE2VU+yvSqDTuR2sn+l4miSKAKyk5OX//+93tbcmrf05MYR9E +9tiw3JY5oDZ9x/DRU78zZBk9j3sEz5dtGFTBfg28g== X-Google-Smtp-Source: ACHHUZ4QWyGmC7W7RvRp5GjLShLXpmuMfBr4erv9PyE2TL3H+DGMkEJsdQ5ZNncoVH7o/4RKgVaJFw== X-Received: by 2002:a05:6a21:9982:b0:ff:98dd:7a0d with SMTP id ve2-20020a056a21998200b000ff98dd7a0dmr2340560pzb.47.1683389046315; Sat, 06 May 2023 09:04:06 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id e14-20020a62ee0e000000b006436ffa3dc4sm3369890pfi.24.2023.05.06.09.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 May 2023 09:04:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 00/14] rte_pktmbuf_mtod_offset usage Date: Sat, 6 May 2023 09:03:49 -0700 Message-Id: <20230506160404.7423-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230505174813.133894-1-stephen@networkplumber.org> References: <20230505174813.133894-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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_mtod_offset examples: use rte_pktmbuf_mtod_offset net/tap: use rte_pktmbuf_mtod_offset net/nfp: use rte_pktmbuf_mtod_offset crypto/ipsec_mb: use rte_pktmbuf_mtod_offset crypto/qat: use rte_pktmbuf_mtod_offset crypto/cnxk: use rte_ptkmbuf_mtod_offset common/cpt: use rte_pktmbuf_mtod_offset crypto/caam_jr: use rte_pktmbuf_mtod_offset net/mlx4: use rte_pktmbuf_mtod_offset baseband/fpga_5gnr: use rte_pktmbu_mtod_offset app/test-pmd/ieee1588fwd.c | 4 +- app/test/test_cryptodev.c | 66 ++++++++++--------- .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 7 +- drivers/common/cpt/cpt_ucode.h | 10 ++- drivers/crypto/caam_jr/caam_jr.c | 8 +-- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 +- drivers/crypto/cnxk/cnxk_se.h | 5 +- drivers/crypto/ipsec_mb/pmd_kasumi.c | 16 ++--- drivers/crypto/ipsec_mb/pmd_snow3g.c | 35 ++++------ drivers/crypto/ipsec_mb/pmd_zuc.c | 16 ++--- drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 9 +-- drivers/crypto/qat/qat_sym.h | 9 +-- drivers/net/mlx4/mlx4_rxtx.c | 6 +- drivers/net/nfp/flower/nfp_flower_cmsg.h | 3 +- drivers/net/nfp/flower/nfp_flower_ctrl.c | 4 +- drivers/net/tap/rte_eth_tap.c | 3 +- examples/l2fwd-crypto/main.c | 16 +++-- examples/ptpclient/ptpclient.c | 18 ++--- 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 | 4 +- 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 | 18 ++--- 27 files changed, 152 insertions(+), 154 deletions(-) -- 2.39.2