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 5E8EA42A49; Fri, 5 May 2023 19:48:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 037BB41156; Fri, 5 May 2023 19:48:19 +0200 (CEST) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id C5182410EA for ; Fri, 5 May 2023 19:48:17 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6439df6c268so798385b3a.0 for ; Fri, 05 May 2023 10:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1683308896; x=1685900896; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=31owmk2z2geBKX/l9Qgh2pdp+U6vNZz1HdAyCVwPb8c=; b=PuGbrNzRR+x3Gg6sJO6WWa4rvxBdUn6x7feLHH2wb/pfourx2Q4GTJn78n032CBNDC +C1Qcd8wIJxena83TsKEOwzE/s8quKIPl3kBYKg7lFc25iJjkYf5YGCaos+HBg2nZjJt FV5ykLlZk1OJL9reSbcKExRi3UcmayAFktrv9RGkdwx2AJo2Kcs5jXJIpMoSHcuUnC0m yw26hODlS2TFkqdrXUgLWkYNrBk4P79nTNEJVRRZW5dBHbS6Roe3Zw83bfemXXLzCxvI gtxODGVG4ItVwQLidgocRindhNRS9IhX4ParBxavyNjrVIgSOJeZRvAlrgTWH/iJUBxs badw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683308896; x=1685900896; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=31owmk2z2geBKX/l9Qgh2pdp+U6vNZz1HdAyCVwPb8c=; b=W1JZSl8NXQhSJh37PEjBSlpiqi6a/Hb1Y4HyK2CzLY6rji3XcV6dh+mQmzlUJAf3Ie gfWzqHce1xRI4XW4Onx+risfgcflGVNoRPKvTrh5jfxM5IqSBNYPXnLfOBQmMPS+q42p VARVq8OHgIoHX6S3XZ1hQTtSfrA2PEuNwI9j9OHtT/BY0rGCfNavDUgyoTv3egAhaejx G26y0ZBZxEtCIcEdRW9EWolBZBDU63HOSMurS/TnFFkJfEDgIYERBuTiJoicii1smjPa 785g6U4fY8Wm5pB/ocLu6We9pl/FeZb4hqzX5U03XDUAkxN0Izw7SJSTGxfevc4tD+1r O33w== X-Gm-Message-State: AC+VfDwuUvoLEaMx18ElXD491RAdoTNQLW0w6sYWdvkmPomwukbYsXrM /wryYpYfUooiJgSdg0/9pW74VX6Qpy/69H0/3Edk9w== X-Google-Smtp-Source: ACHHUZ7yNJ9xqZ1qY5+++YJLutShcG48y1LhUHdv6XLRCM1JuIvxWfQF+17G+jcf2NTxekIBQl5IZQ== X-Received: by 2002:a05:6a20:8f19:b0:fd:de73:2a52 with SMTP id b25-20020a056a208f1900b000fdde732a52mr3252430pzk.3.1683308896409; Fri, 05 May 2023 10:48:16 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id a15-20020aa780cf000000b0063799398eb9sm1895707pfn.58.2023.05.05.10.48.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 10:48:15 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 00/14] rte_pktmbuf_mtod_offset usage Date: Fri, 5 May 2023 10:47:59 -0700 Message-Id: <20230505174813.133894-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 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. 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 | 12 ++-- lib/gso/gso_tcp4.c | 8 +-- lib/gso/gso_tunnel_tcp4.c | 12 ++-- lib/gso/gso_tunnel_udp4.c | 18 ++--- 27 files changed, 153 insertions(+), 154 deletions(-) -- 2.39.2