From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E08E2A05D3 for ; Tue, 21 May 2019 18:23:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 690944CA7; Tue, 21 May 2019 18:23:21 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 97DDF4C9D for ; Tue, 21 May 2019 18:23:19 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id gn7so4518964plb.10 for ; Tue, 21 May 2019 09:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WoMg7yz94E8vK1LQwDKWonsJR+sO1HhNDBNZmoEywBA=; b=RVqZpt9QjXcjf3PFcZrog6oQLJ6oB1RJ7VGZ7ARVkKMmPNXX2+YgQTIbJCDEX98ZDD t7LVMzY3Ub4vUqkzC0rjCpmGSWIFqWoX79ea6cfMobaFNyhRP9nhZwtXXCS0sPnNaZAy GOF5c1A3qK8PPdIYa/5kGgdNIxmsIxe0wVGFjiCnoJWShMqIyU0UjdqHX3sbwKbQCCYP t8AxvUf5UpZMqZ3IYbk5dQOVwV4gEFLvSdXSP91TkSK3AMNWY8tQSvD97hgnHCS9DOGh 8QVyDQlH9QLY65zxyINbHwQGEsNYsXhZIXBWtrQe7pu3TzR81FszAvU+KD/xVtFN1+TE aSjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WoMg7yz94E8vK1LQwDKWonsJR+sO1HhNDBNZmoEywBA=; b=KEQY3C34njLxu2uH21kApNwrdPLDHd8yXOV4J8qvCAv1P1XbzCb3kk+d90ZVMDfCyT A7mYZi4OB/QnhXBztOsz/jKgGJhHUm1R77rdn8DGY8OlTQOEkwW6tkxnO0Xsutsc5Vu5 xqsIuwZyqbEh1xw6AQjlENA3uWc5zFINLOXXF02lCxG3TJ0EAmZKn/1MJgUWjIuYLVoX aE5Q7CCecVfhZCUGy1veT34bbd9lN46ALJ3hwgDm7+HyHDfAQa0gsW2MnFldXrZGfXLl bUK4hGXqiinEqUAPtlpBGnDwKMapIloNbbovoo1h2onsODj9OpHA++xIqVH7/8oIQPxi CElg== X-Gm-Message-State: APjAAAWvNRheaERr/b5MD67rBSDZN/zk/p4LOSfqKMW+k1L8IIZUTVfi xTgpq3oSxAuJ4VeGteQpThKsUg== X-Google-Smtp-Source: APXvYqxt27S+axQS3YdU6I3859PFEaQH8y71SjwILTNbUWIITlJF4fQkJ5PVzSE9QFX3HbyQM4VFZg== X-Received: by 2002:a17:902:7488:: with SMTP id h8mr48910144pll.315.1558455798571; Tue, 21 May 2019 09:23:18 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id o20sm30415686pgj.70.2019.05.21.09.23.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 09:23:18 -0700 (PDT) Date: Tue, 21 May 2019 09:23:10 -0700 From: Stephen Hemminger To: Olivier Matz Cc: dev@dpdk.org, ferruh.yigit@intel.com Message-ID: <20190521092310.44d1538a@hermes.lan> In-Reply-To: <20190521161315.25500-1-olivier.matz@6wind.com> References: <20190410083218.17531-1-olivier.matz@6wind.com> <20190521161315.25500-1-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 00/15] prefix network structures X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 21 May 2019 18:13:00 +0200 Olivier Matz wrote: > The rte_net headers conflict with the libc headers, because > some definitions are duplicated, sometimes with few differences. > > This patchset adds the rte_ (or RTE_) prefix to all structures, functions > and defines in rte_net library. This is a big changeset, that will > break the API of many functions, but not the ABI. > > This was discussed in [1], and requested by the techboard [2]. > > patch-v1: > * rease on top of v19.05 > * remove uneeded renames in drivers/net/bonding/rte_eth_bond_pmd.c > and app/test-pmd/icmpecho.c (arp-related variables) > * do not modify base drivers, except cxgbe, thunderx, enetc, qede: > only files that already contain dpdk definitions are modified. > * fix checkpatch issues when it does not impact the code style too > much. Big warnings remain about the RTE_IPv4() macros because > arguments are separated by ',' instead of ', '. > * add a release note patch > * tested compilation on x86_64-linux and x86_64-freebsd. > > rfc-v2: > * rebase on top of v19.05-rc1 > > > [1] http://mails.dpdk.org/archives/dev/2018-January/087384.html > [2] http://mails.dpdk.org/archives/dev/2019-February/125033.html > > > Olivier Matz (15): > net: add rte prefix to arp structures > net: add rte prefix to arp defines > net: add rte prefix to ether structures > net: add rte prefix to ether functions > net: add rte prefix to ether defines > net: add rte prefix to esp structure > net: add rte prefix to gre structure > net: add rte prefix to icmp structure > net: add rte prefix to icmp defines > net: add rte prefix to ip structure > net: add rte prefix to ip defines > net: add rte prefix to sctp structure > net: add rte prefix to tcp structure > net: add rte prefix to udp structure > doc: announce network api change > > app/pdump/main.c | 2 +- > app/test-acl/main.c | 2 +- > app/test-eventdev/test_perf_common.c | 2 +- > app/test-eventdev/test_pipeline_common.c | 2 +- > app/test-pipeline/pipeline_acl.c | 19 +- > app/test-pipeline/pipeline_hash.c | 12 +- > app/test-pmd/cmdline.c | 90 +++--- > app/test-pmd/cmdline_flow.c | 86 +++--- > app/test-pmd/config.c | 35 ++- > app/test-pmd/csumonly.c | 169 +++++----- > app/test-pmd/flowgen.c | 30 +- > app/test-pmd/icmpecho.c | 117 +++---- > app/test-pmd/ieee1588fwd.c | 18 +- > app/test-pmd/macfwd.c | 12 +- > app/test-pmd/macswap.h | 12 +- > app/test-pmd/macswap_common.h | 4 +- > app/test-pmd/macswap_neon.h | 12 +- > app/test-pmd/macswap_sse.h | 12 +- > app/test-pmd/parameters.c | 6 +- > app/test-pmd/testpmd.c | 23 +- > app/test-pmd/testpmd.h | 30 +- > app/test-pmd/txonly.c | 45 +-- > app/test-pmd/util.c | 34 +- > app/test/packet_burst_generator.c | 150 ++++----- > app/test/packet_burst_generator.h | 33 +- > app/test/test_acl.c | 8 +- > app/test/test_acl.h | 122 ++++---- > app/test/test_cmdline_etheraddr.c | 16 +- > app/test/test_efd.c | 20 +- > app/test/test_event_eth_rx_adapter.c | 2 +- > app/test/test_event_eth_tx_adapter.c | 2 +- > app/test/test_flow_classify.c | 70 +++-- > app/test/test_hash.c | 20 +- > app/test/test_ipsec.c | 13 +- > app/test/test_link_bonding.c | 342 ++++++++++++--------- > app/test/test_link_bonding_mode4.c | 124 ++++---- > app/test/test_link_bonding_rssconf.c | 6 +- > app/test/test_lpm.c | 76 ++--- > app/test/test_lpm_perf.c | 10 +- > app/test/test_member.c | 20 +- > app/test/test_pmd_perf.c | 20 +- > app/test/test_sched.c | 24 +- > app/test/test_table_acl.c | 8 +- > app/test/test_thash.c | 12 +- > app/test/virtual_pmd.c | 6 +- > app/test/virtual_pmd.h | 2 +- > doc/guides/nics/kni.rst | 2 +- > doc/guides/prog_guide/bbdev.rst | 6 +- > .../prog_guide/packet_classif_access_ctrl.rst | 18 +- > doc/guides/prog_guide/rte_flow.rst | 4 +- > doc/guides/rel_notes/deprecation.rst | 4 - > doc/guides/rel_notes/release_19_08.rst | 3 + > doc/guides/sample_app_ug/flow_classify.rst | 28 +- > doc/guides/sample_app_ug/flow_filtering.rst | 6 +- > doc/guides/sample_app_ug/ip_frag.rst | 16 +- > doc/guides/sample_app_ug/ip_reassembly.rst | 16 +- > doc/guides/sample_app_ug/ipv4_multicast.rst | 16 +- > doc/guides/sample_app_ug/l2_forward_job_stats.rst | 6 +- > .../sample_app_ug/l2_forward_real_virtual.rst | 6 +- > doc/guides/sample_app_ug/l3_forward.rst | 12 +- > doc/guides/sample_app_ug/link_status_intr.rst | 6 +- > doc/guides/sample_app_ug/ptpclient.rst | 6 +- > doc/guides/sample_app_ug/rxtx_callbacks.rst | 2 +- > doc/guides/sample_app_ug/server_node_efd.rst | 12 +- > doc/guides/sample_app_ug/skeleton.rst | 4 +- > doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst | 4 +- > drivers/bus/dpaa/include/compat.h | 2 + > drivers/bus/dpaa/include/fman.h | 2 +- > drivers/bus/dpaa/include/netcfg.h | 4 +- > drivers/net/af_packet/rte_eth_af_packet.c | 2 +- > drivers/net/af_xdp/rte_eth_af_xdp.c | 8 +- > drivers/net/ark/ark_ethdev.c | 19 +- > drivers/net/ark/ark_ext.h | 4 +- > drivers/net/ark/ark_global.h | 5 +- > drivers/net/atlantic/atl_ethdev.c | 27 +- > drivers/net/atlantic/hw_atl/hw_atl_utils.c | 8 +- > drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c | 4 +- > drivers/net/avp/avp_ethdev.c | 21 +- > drivers/net/avp/rte_avp_common.h | 2 +- > drivers/net/axgbe/axgbe_dev.c | 4 +- > drivers/net/axgbe/axgbe_ethdev.c | 10 +- > drivers/net/axgbe/axgbe_ethdev.h | 4 +- > drivers/net/axgbe/axgbe_rxtx.c | 2 +- > drivers/net/bnx2x/bnx2x.c | 16 +- > drivers/net/bnx2x/bnx2x_ethdev.c | 5 +- > drivers/net/bnx2x/bnx2x_ethdev.h | 3 +- > drivers/net/bnx2x/bnx2x_vfpf.c | 8 +- > drivers/net/bnx2x/bnx2x_vfpf.h | 2 +- > drivers/net/bnx2x/ecore_sp.h | 2 +- > drivers/net/bnxt/bnxt.h | 4 +- > drivers/net/bnxt/bnxt_ethdev.c | 80 ++--- > drivers/net/bnxt/bnxt_filter.c | 4 +- > drivers/net/bnxt/bnxt_filter.h | 8 +- > drivers/net/bnxt/bnxt_flow.c | 27 +- > drivers/net/bnxt/bnxt_hwrm.c | 41 +-- > drivers/net/bnxt/bnxt_hwrm.h | 2 +- > drivers/net/bnxt/bnxt_ring.c | 8 +- > drivers/net/bnxt/bnxt_rxq.c | 2 +- > drivers/net/bnxt/bnxt_rxr.c | 4 +- > drivers/net/bnxt/bnxt_vnic.c | 2 +- > drivers/net/bnxt/rte_pmd_bnxt.c | 14 +- > drivers/net/bnxt/rte_pmd_bnxt.h | 4 +- > drivers/net/bonding/rte_eth_bond.h | 2 +- > drivers/net/bonding/rte_eth_bond_8023ad.c | 30 +- > drivers/net/bonding/rte_eth_bond_8023ad.h | 10 +- > drivers/net/bonding/rte_eth_bond_8023ad_private.h | 2 +- > drivers/net/bonding/rte_eth_bond_alb.c | 98 +++--- > drivers/net/bonding/rte_eth_bond_alb.h | 10 +- > drivers/net/bonding/rte_eth_bond_api.c | 2 +- > drivers/net/bonding/rte_eth_bond_args.c | 2 +- > drivers/net/bonding/rte_eth_bond_pmd.c | 203 ++++++------ > drivers/net/bonding/rte_eth_bond_private.h | 8 +- > drivers/net/cxgbe/base/adapter.h | 2 +- > drivers/net/cxgbe/cxgbe.h | 5 +- > drivers/net/cxgbe/cxgbe_compat.h | 1 + > drivers/net/cxgbe/cxgbe_ethdev.c | 14 +- > drivers/net/cxgbe/cxgbe_filter.h | 2 +- > drivers/net/cxgbe/cxgbe_flow.c | 10 +- > drivers/net/cxgbe/cxgbe_main.c | 4 +- > drivers/net/cxgbe/cxgbe_pfvf.h | 2 +- > drivers/net/cxgbe/cxgbevf_main.c | 2 +- > drivers/net/cxgbe/l2t.c | 8 +- > drivers/net/cxgbe/l2t.h | 2 +- > drivers/net/cxgbe/mps_tcam.c | 14 +- > drivers/net/cxgbe/mps_tcam.h | 4 +- > drivers/net/cxgbe/sge.c | 9 +- > drivers/net/dpaa/dpaa_ethdev.c | 20 +- > drivers/net/dpaa/dpaa_rxtx.c | 23 +- > drivers/net/dpaa2/dpaa2_ethdev.c | 37 +-- > drivers/net/dpaa2/dpaa2_flow.c | 18 +- > drivers/net/e1000/e1000_ethdev.h | 5 +- > drivers/net/e1000/em_ethdev.c | 39 +-- > drivers/net/e1000/em_rxtx.c | 24 +- > drivers/net/e1000/igb_ethdev.c | 76 ++--- > drivers/net/e1000/igb_flow.c | 12 +- > drivers/net/e1000/igb_pf.c | 17 +- > drivers/net/e1000/igb_rxtx.c | 23 +- > drivers/net/ena/ena_ethdev.c | 17 +- > drivers/net/ena/ena_ethdev.h | 2 +- > drivers/net/enetc/base/enetc_hw.h | 4 +- > drivers/net/enetc/enetc_ethdev.c | 21 +- > drivers/net/enic/enic.h | 4 +- > drivers/net/enic/enic_clsf.c | 40 +-- > drivers/net/enic/enic_ethdev.c | 29 +- > drivers/net/enic/enic_flow.c | 114 +++---- > drivers/net/enic/enic_main.c | 4 +- > drivers/net/enic/enic_res.c | 5 +- > drivers/net/failsafe/failsafe.c | 8 +- > drivers/net/failsafe/failsafe_args.c | 4 +- > drivers/net/failsafe/failsafe_ether.c | 7 +- > drivers/net/failsafe/failsafe_ops.c | 6 +- > drivers/net/failsafe/failsafe_private.h | 4 +- > drivers/net/fm10k/fm10k.h | 2 +- > drivers/net/fm10k/fm10k_ethdev.c | 18 +- > drivers/net/i40e/i40e_ethdev.c | 143 +++++---- > drivers/net/i40e/i40e_ethdev.h | 23 +- > drivers/net/i40e/i40e_ethdev_vf.c | 68 ++-- > drivers/net/i40e/i40e_fdir.c | 127 ++++---- > drivers/net/i40e/i40e_flow.c | 58 ++-- > drivers/net/i40e/i40e_pf.c | 18 +- > drivers/net/i40e/i40e_rxtx.c | 28 +- > drivers/net/i40e/i40e_vf_representor.c | 2 +- > drivers/net/i40e/rte_pmd_i40e.c | 31 +- > drivers/net/i40e/rte_pmd_i40e.h | 8 +- > drivers/net/iavf/iavf.h | 4 +- > drivers/net/iavf/iavf_ethdev.c | 53 ++-- > drivers/net/iavf/iavf_rxtx.c | 14 +- > drivers/net/iavf/iavf_vchnl.c | 8 +- > drivers/net/ice/ice_ethdev.c | 64 ++-- > drivers/net/ice/ice_ethdev.h | 6 +- > drivers/net/ice/ice_rxtx.c | 28 +- > drivers/net/ipn3ke/ipn3ke_ethdev.h | 6 +- > drivers/net/ipn3ke/ipn3ke_flow.c | 4 +- > drivers/net/ipn3ke/ipn3ke_representor.c | 21 +- > drivers/net/ixgbe/ixgbe_ethdev.c | 107 ++++--- > drivers/net/ixgbe/ixgbe_ethdev.h | 4 +- > drivers/net/ixgbe/ixgbe_flow.c | 22 +- > drivers/net/ixgbe/ixgbe_pf.c | 16 +- > drivers/net/ixgbe/ixgbe_rxtx.c | 18 +- > drivers/net/ixgbe/ixgbe_vf_representor.c | 4 +- > drivers/net/ixgbe/rte_pmd_ixgbe.c | 11 +- > drivers/net/ixgbe/rte_pmd_ixgbe.h | 2 +- > drivers/net/kni/rte_eth_kni.c | 6 +- > drivers/net/liquidio/lio_ethdev.c | 23 +- > drivers/net/mlx4/mlx4.c | 4 +- > drivers/net/mlx4/mlx4.h | 10 +- > drivers/net/mlx4/mlx4_ethdev.c | 12 +- > drivers/net/mlx4/mlx4_flow.c | 16 +- > drivers/net/mlx4/mlx4_rxtx.c | 2 +- > drivers/net/mlx5/mlx5.c | 4 +- > drivers/net/mlx5/mlx5.h | 15 +- > drivers/net/mlx5/mlx5_flow.c | 22 +- > drivers/net/mlx5/mlx5_flow_dv.c | 44 +-- > drivers/net/mlx5/mlx5_flow_tcf.c | 66 ++-- > drivers/net/mlx5/mlx5_flow_verbs.c | 30 +- > drivers/net/mlx5/mlx5_mac.c | 18 +- > drivers/net/mlx5/mlx5_nl.c | 28 +- > drivers/net/mlx5/mlx5_rxtx.c | 6 +- > drivers/net/mlx5/mlx5_rxtx.h | 2 +- > drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 8 +- > drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 10 +- > drivers/net/mlx5/mlx5_trigger.c | 6 +- > drivers/net/mvneta/mvneta_ethdev.c | 22 +- > drivers/net/mvneta/mvneta_ethdev.h | 6 +- > drivers/net/mvpp2/mrvl_ethdev.c | 22 +- > drivers/net/mvpp2/mrvl_ethdev.h | 6 +- > drivers/net/mvpp2/mrvl_flow.c | 4 +- > drivers/net/netvsc/hn_ethdev.c | 4 +- > drivers/net/netvsc/hn_nvs.c | 2 +- > drivers/net/netvsc/hn_rndis.c | 2 +- > drivers/net/netvsc/hn_rxtx.c | 12 +- > drivers/net/netvsc/hn_var.h | 4 +- > drivers/net/netvsc/hn_vf.c | 8 +- > drivers/net/nfb/nfb_ethdev.c | 16 +- > drivers/net/nfp/nfp_net.c | 22 +- > drivers/net/nfp/nfp_net_pmd.h | 2 +- > drivers/net/null/rte_eth_null.c | 6 +- > drivers/net/octeontx/octeontx_ethdev.c | 9 +- > drivers/net/octeontx/octeontx_ethdev.h | 2 +- > drivers/net/pcap/rte_eth_pcap.c | 22 +- > drivers/net/qede/base/bcm_osal.h | 4 +- > drivers/net/qede/qede_ethdev.c | 71 +++-- > drivers/net/qede/qede_ethdev.h | 6 +- > drivers/net/qede/qede_filter.c | 68 ++-- > drivers/net/qede/qede_if.h | 4 +- > drivers/net/qede/qede_main.c | 6 +- > drivers/net/qede/qede_rxtx.c | 34 +- > drivers/net/qede/qede_rxtx.h | 2 +- > drivers/net/ring/rte_eth_ring.c | 4 +- > drivers/net/sfc/sfc.h | 2 +- > drivers/net/sfc/sfc_ef10_tx.c | 4 +- > drivers/net/sfc/sfc_ethdev.c | 24 +- > drivers/net/sfc/sfc_flow.c | 12 +- > drivers/net/sfc/sfc_port.c | 8 +- > drivers/net/sfc/sfc_tso.c | 4 +- > drivers/net/sfc/sfc_tso.h | 4 +- > drivers/net/softnic/parser.c | 18 +- > drivers/net/softnic/parser.h | 2 +- > drivers/net/softnic/rte_eth_softnic.c | 2 +- > drivers/net/softnic/rte_eth_softnic_flow.c | 4 +- > drivers/net/softnic/rte_eth_softnic_pipeline.c | 40 +-- > drivers/net/szedata2/rte_eth_szedata2.c | 8 +- > drivers/net/tap/rte_eth_tap.c | 68 ++-- > drivers/net/tap/rte_eth_tap.h | 4 +- > drivers/net/tap/tap_bpf_program.c | 14 +- > drivers/net/tap/tap_flow.c | 16 +- > drivers/net/thunderx/base/nicvf_plat.h | 5 +- > drivers/net/thunderx/nicvf_ethdev.c | 19 +- > drivers/net/thunderx/nicvf_struct.h | 2 +- > drivers/net/vdev_netvsc/vdev_netvsc.c | 16 +- > drivers/net/vhost/rte_eth_vhost.c | 12 +- > drivers/net/virtio/virtio_ethdev.c | 78 ++--- > drivers/net/virtio/virtio_pci.h | 4 +- > drivers/net/virtio/virtio_rxtx.c | 33 +- > drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 2 +- > drivers/net/virtio/virtio_user/virtio_user_dev.c | 6 +- > drivers/net/virtio/virtio_user/virtio_user_dev.h | 2 +- > drivers/net/virtio/virtio_user_ethdev.c | 8 +- > drivers/net/virtio/virtqueue.h | 2 +- > drivers/net/vmxnet3/vmxnet3_ethdev.c | 12 +- > drivers/net/vmxnet3/vmxnet3_ethdev.h | 2 +- > drivers/net/vmxnet3/vmxnet3_rxtx.c | 47 +-- > examples/bbdev_app/main.c | 41 +-- > examples/bond/main.c | 83 ++--- > examples/distributor/main.c | 4 +- > examples/ethtool/ethtool-app/ethapp.c | 8 +- > examples/ethtool/ethtool-app/main.c | 10 +- > examples/ethtool/lib/rte_ethtool.c | 8 +- > examples/ethtool/lib/rte_ethtool.h | 7 +- > examples/eventdev_pipeline/main.c | 4 +- > examples/eventdev_pipeline/pipeline_common.h | 10 +- > examples/flow_classify/flow_classify.c | 30 +- > examples/flow_filtering/main.c | 10 +- > examples/ip_fragmentation/main.c | 69 +++-- > examples/ip_pipeline/cli.c | 4 +- > examples/ip_pipeline/kni.c | 2 +- > examples/ip_pipeline/parser.c | 18 +- > examples/ip_pipeline/parser.h | 2 +- > examples/ip_pipeline/pipeline.c | 40 +-- > examples/ip_reassembly/main.c | 51 +-- > examples/ipsec-secgw/esp.c | 47 +-- > examples/ipsec-secgw/ipsec-secgw.c | 43 +-- > examples/ipsec-secgw/ipsec.h | 2 +- > examples/ipsec-secgw/parser.c | 4 +- > examples/ipsec-secgw/sa.c | 16 +- > examples/ipv4_multicast/main.c | 60 ++-- > examples/kni/main.c | 14 +- > examples/l2fwd-cat/l2fwd-cat.c | 4 +- > examples/l2fwd-crypto/main.c | 26 +- > examples/l2fwd-jobstats/main.c | 8 +- > examples/l2fwd-keepalive/main.c | 8 +- > examples/l2fwd/main.c | 8 +- > examples/l3fwd-acl/main.c | 106 ++++--- > examples/l3fwd-power/main.c | 102 +++--- > examples/l3fwd-vf/main.c | 68 ++-- > examples/l3fwd/l3fwd.h | 8 +- > examples/l3fwd/l3fwd_altivec.h | 26 +- > examples/l3fwd/l3fwd_common.h | 4 +- > examples/l3fwd/l3fwd_em.c | 46 +-- > examples/l3fwd/l3fwd_em.h | 22 +- > examples/l3fwd/l3fwd_em_hlm.h | 19 +- > examples/l3fwd/l3fwd_em_hlm_neon.h | 20 +- > examples/l3fwd/l3fwd_em_hlm_sse.h | 16 +- > examples/l3fwd/l3fwd_em_sequential.h | 19 +- > examples/l3fwd/l3fwd_lpm.c | 50 +-- > examples/l3fwd/l3fwd_lpm.h | 22 +- > examples/l3fwd/l3fwd_lpm_altivec.h | 20 +- > examples/l3fwd/l3fwd_lpm_neon.h | 30 +- > examples/l3fwd/l3fwd_lpm_sse.h | 20 +- > examples/l3fwd/l3fwd_neon.h | 26 +- > examples/l3fwd/l3fwd_sse.h | 26 +- > examples/l3fwd/main.c | 20 +- > examples/link_status_interrupt/main.c | 8 +- > examples/load_balancer/runtime.c | 8 +- > .../client_server_mp/mp_server/main.c | 2 +- > examples/packet_ordering/main.c | 2 +- > examples/performance-thread/l3fwd-thread/main.c | 337 ++++++++++---------- > examples/ptpclient/ptpclient.c | 32 +- > examples/qos_meter/main.c | 5 +- > examples/qos_sched/init.c | 2 +- > examples/quota_watermark/qw/main.c | 8 +- > examples/rxtx_callbacks/main.c | 4 +- > examples/server_node_efd/node/node.c | 6 +- > examples/server_node_efd/server/main.c | 8 +- > examples/skeleton/basicfwd.c | 4 +- > examples/tep_termination/main.c | 2 +- > examples/tep_termination/main.h | 2 +- > examples/tep_termination/vxlan.c | 115 +++---- > examples/tep_termination/vxlan.h | 8 +- > examples/tep_termination/vxlan_setup.c | 32 +- > examples/tep_termination/vxlan_setup.h | 2 +- > examples/vhost/main.c | 42 +-- > examples/vhost/main.h | 2 +- > examples/vm_power_manager/channel_monitor.c | 12 +- > .../guest_cli/vm_power_cli_guest.c | 2 +- > examples/vm_power_manager/main.c | 6 +- > examples/vmdq/main.c | 12 +- > examples/vmdq_dcb/main.c | 12 +- > lib/librte_ethdev/rte_class_eth.c | 4 +- > lib/librte_ethdev/rte_eth_ctrl.h | 12 +- > lib/librte_ethdev/rte_ethdev.c | 59 ++-- > lib/librte_ethdev/rte_ethdev.h | 15 +- > lib/librte_ethdev/rte_ethdev_core.h | 12 +- > lib/librte_ethdev/rte_flow.h | 34 +- > lib/librte_eventdev/rte_event_eth_rx_adapter.c | 33 +- > lib/librte_gro/gro_tcp4.c | 26 +- > lib/librte_gro/gro_tcp4.h | 22 +- > lib/librte_gro/gro_vxlan_tcp4.c | 66 ++-- > lib/librte_gro/gro_vxlan_tcp4.h | 6 +- > lib/librte_gso/gso_common.h | 16 +- > lib/librte_gso/gso_tcp4.c | 12 +- > lib/librte_gso/gso_tunnel_tcp4.c | 14 +- > lib/librte_gso/gso_udp4.c | 10 +- > lib/librte_gso/rte_gso.h | 8 +- > lib/librte_hash/rte_thash.h | 3 +- > lib/librte_ip_frag/rte_ip_frag.h | 13 +- > lib/librte_ip_frag/rte_ipv4_fragmentation.c | 42 +-- > lib/librte_ip_frag/rte_ipv4_reassembly.c | 14 +- > lib/librte_ip_frag/rte_ipv6_fragmentation.c | 28 +- > lib/librte_ip_frag/rte_ipv6_reassembly.c | 6 +- > lib/librte_ipsec/crypto.h | 2 +- > lib/librte_ipsec/esp_inb.c | 10 +- > lib/librte_ipsec/esp_outb.c | 8 +- > lib/librte_ipsec/iph.h | 8 +- > lib/librte_ipsec/sa.c | 10 +- > lib/librte_kni/rte_kni.c | 4 +- > lib/librte_kni/rte_kni.h | 2 +- > lib/librte_net/rte_arp.c | 33 +- > lib/librte_net/rte_arp.h | 36 +-- > lib/librte_net/rte_esp.h | 2 +- > lib/librte_net/rte_ether.h | 189 ++++++------ > lib/librte_net/rte_gre.h | 2 +- > lib/librte_net/rte_icmp.h | 6 +- > lib/librte_net/rte_ip.h | 75 ++--- > lib/librte_net/rte_net.c | 94 +++--- > lib/librte_net/rte_net.h | 28 +- > lib/librte_net/rte_sctp.h | 2 +- > lib/librte_net/rte_tcp.h | 2 +- > lib/librte_net/rte_udp.h | 2 +- > lib/librte_pipeline/rte_table_action.c | 242 ++++++++------- > lib/librte_pipeline/rte_table_action.h | 4 +- > lib/librte_port/rte_port_ras.c | 10 +- > lib/librte_port/rte_port_source_sink.c | 6 +- > lib/librte_vhost/vhost.h | 2 +- > lib/librte_vhost/virtio_net.c | 43 +-- > 385 files changed, 4563 insertions(+), 4234 deletions(-) > Looks good Reviewed-by: Stephen Hemminger