Show a cover letter.

GET /api/covers/795/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 795,
    "url": "http://patchwork.dpdk.org/api/covers/795/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com",
    "date": "2024-03-20T21:05:56",
    "name": "[00/15] fix packing of structs when building with MSVC",
    "submitter": {
        "id": 2077,
        "url": "http://patchwork.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 31573,
            "url": "http://patchwork.dpdk.org/api/series/31573/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31573",
            "date": "2024-03-20T21:05:57",
            "name": "fix packing of structs when building with MSVC",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/31573/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/covers/795/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6440D43D0A;\n\tWed, 20 Mar 2024 22:06:20 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DF8F242D80;\n\tWed, 20 Mar 2024 22:06:15 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 98A924026C\n for <dev@dpdk.org>; Wed, 20 Mar 2024 22:06:13 +0100 (CET)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id DB7FA20B74C0; Wed, 20 Mar 2024 14:06:12 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com DB7FA20B74C0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1710968772;\n bh=zgsRTMFvwnxzSyCmlSW36MqVkbffbNrzZyWXSyqNgLA=;\n h=From:To:Cc:Subject:Date:From;\n b=E0a7b0OTVTIOu+jRXlkFAblUkicmLWm2TJJKpCQ99X+JB8rwBowlaa+O35Bam3wue\n EN1jiku83V1Jgcpo/46vadOp2KYPyYoVmN17sOpXcMILQABiPgNbBeGXuYTKDHiZPY\n 8eTGQkMldxNUeLWr02NW/T4YwCbRa3/6YoHVd4f0=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Akhil Goyal <gakhil@marvell.com>, Aman Singh <aman.deep.singh@intel.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Byron Marohn <byron.marohn@intel.com>, Conor Walsh <conor.walsh@intel.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Dariusz Sosnowski <dsosnowski@nvidia.com>,\n David Hunt <david.hunt@intel.com>, Jerin Jacob <jerinj@marvell.com>,\n Jingjing Wu <jingjing.wu@intel.com>,\n Kirill Rybalchenko <kirill.rybalchenko@intel.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Matan Azrad <matan@nvidia.com>, Ori Kam <orika@nvidia.com>,\n Radu Nicolau <radu.nicolau@intel.com>, Ruifeng Wang <ruifeng.wang@arm.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Sivaprasad Tummala <sivaprasad.tummala@amd.com>,\n Suanming Mou <suanmingm@nvidia.com>, Sunil Kumar Kori <skori@marvell.com>,\n Vamsi Attunuru <vattunuru@marvell.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Yuying Zhang <Yuying.Zhang@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH 00/15] fix packing of structs when building with MSVC",
        "Date": "Wed, 20 Mar 2024 14:05:56 -0700",
        "Message-Id": "<1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "MSVC struct packing is not compatible with GCC provide a macro that can\nbe used to push existing pack value and sets packing to 1-byte. The\nexisting __rte_packed macro is then used to restore the pack value\nprior to the push.\n\nInstead of providing macros exclusively for MSVC and for GCC the\nexisting macro is deliberately utilized to trigger a warning if no\nexisting packing has been pushed allowing easy identification of\nlocations where the __rte_msvc_pack is missing.\n\nI've decided to only add the macro to packed structs that are built\nfor Windows. It seems there is little value in adding the macro tree\nwide and if new code arrives that is built on Windows the __rte_packed\nwill flag where the preamble macro is required.\n\nTyler Retzlaff (15):\n  eal: provide pack start macro for MSVC\n  eal: pack structures when building with MSVC\n  net: pack structures when building with MSVC\n  common/iavf: pack structures when building with MSVC\n  common/idpf: pack structures when building with MSVC\n  common/mlx5: pack structures when building with MSVC\n  dma/ioat: pack structures when building with MSVC\n  net/i40e: pack structures when building with MSVC\n  net/iavf: pack structures when building with MSVC\n  net/ice: pack structures when building with MSVC\n  net/mlx5: pack structures when building with MSVC\n  net/octeon_ep: pack structures when building with MSVC\n  app/testpmd: pack structures when building with MSVC\n  app/test: pack structures when building with MSVC\n  examples: pack structures when building with MSVC\n\n app/test-pmd/csumonly.c                     |  1 +\n app/test/test_efd.c                         |  1 +\n app/test/test_hash.c                        |  1 +\n app/test/test_member.c                      |  1 +\n drivers/common/iavf/iavf_osdep.h            |  2 ++\n drivers/common/iavf/virtchnl_inline_ipsec.h | 11 +++++++++++\n drivers/common/idpf/base/idpf_osdep.h       |  2 ++\n drivers/common/mlx5/mlx5_common_mr.h        |  4 ++++\n drivers/common/mlx5/mlx5_common_utils.h     |  1 +\n drivers/common/mlx5/mlx5_prm.h              | 28 ++++++++++++++++++++++++++++\n drivers/dma/ioat/ioat_hw_defs.h             |  1 +\n drivers/net/i40e/base/i40e_osdep.h          |  2 ++\n drivers/net/iavf/iavf_ipsec_crypto.h        |  3 +++\n drivers/net/iavf/iavf_rxtx.c                |  1 +\n drivers/net/ice/base/ice_osdep.h            |  2 ++\n drivers/net/mlx5/hws/mlx5dr.h               |  1 +\n drivers/net/mlx5/mlx5.h                     |  1 +\n drivers/net/mlx5/mlx5_flow.h                |  5 +++++\n drivers/net/mlx5/mlx5_hws_cnt.h             |  1 +\n drivers/net/mlx5/mlx5_utils.h               |  4 ++++\n drivers/net/octeon_ep/otx_ep_mbox.h         |  1 +\n examples/common/neon/port_group.h           |  1 +\n examples/ip_pipeline/cli.c                  |  5 +++++\n examples/ipsec-secgw/ipsec.h                |  1 +\n examples/l3fwd-power/main.c                 |  2 ++\n examples/ptpclient/ptpclient.c              |  8 ++++++++\n lib/eal/common/eal_private.h                |  1 +\n lib/eal/include/rte_common.h                |  4 +++-\n lib/eal/include/rte_memory.h                |  1 +\n lib/eal/include/rte_memzone.h               |  1 +\n lib/eal/include/rte_trace_point.h           |  1 +\n lib/eal/x86/include/rte_memcpy.h            |  3 +++\n lib/net/rte_arp.h                           |  2 ++\n lib/net/rte_dtls.h                          |  1 +\n lib/net/rte_esp.h                           |  2 ++\n lib/net/rte_ether.h                         |  1 +\n lib/net/rte_geneve.h                        |  1 +\n lib/net/rte_gre.h                           |  4 ++++\n lib/net/rte_gtp.h                           |  5 +++++\n lib/net/rte_ib.h                            |  1 +\n lib/net/rte_icmp.h                          |  3 +++\n lib/net/rte_ip.h                            |  4 ++++\n lib/net/rte_l2tpv2.h                        |  4 ++++\n lib/net/rte_macsec.h                        |  2 ++\n lib/net/rte_mpls.h                          |  1 +\n lib/net/rte_pdcp_hdr.h                      |  4 ++++\n lib/net/rte_ppp.h                           |  1 +\n lib/net/rte_sctp.h                          |  1 +\n lib/net/rte_tcp.h                           |  1 +\n lib/net/rte_tls.h                           |  1 +\n lib/net/rte_udp.h                           |  1 +\n lib/net/rte_vxlan.h                         |  2 ++\n 52 files changed, 143 insertions(+), 1 deletion(-)"
}