Show a cover letter.

GET /api/covers/41238/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 41238,
    "url": "http://patches.dpdk.org/api/covers/41238/",
    "web_url": "http://patches.dpdk.org/cover/41238/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20180618233441.21323-1-dg@adax.com>",
    "date": "2018-06-18T23:34:41",
    "name": "[v2,0/4] mbuf: Add new private data area accessor function.",
    "submitter": {
        "id": 1040,
        "url": "http://patches.dpdk.org/api/people/1040/",
        "name": "Dan Gora",
        "email": "dg@adax.com"
    },
    "mbox": "http://patches.dpdk.org/cover/41238/mbox/",
    "series": [
        {
            "id": 158,
            "url": "http://patches.dpdk.org/api/series/158/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=158",
            "date": "2018-06-18T23:34:41",
            "name": "mbuf: Add new private data area accessor function.",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/158/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/41238/comments/",
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Cc": "Dan Gora <dg@adax.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=1cSXZUGIrZip3FjK0r2SxQSMvPlhtNmTqjbr7C0xRWA=;\n\tb=RGI4Lw3CS05D0vlDNwCrsTlv0XsIzr7lYtfScOSeWdGKi2xnQA6ggjrvpiKuvDV2gN\n\tNiMkgZ9gB345pikvKuh3IJOAdkboQCSobmjOvr3ny++2J9gJDyt3mb+2dojwuhwgsvcQ\n\t+xj6tQgwGAXvPvF4wPeQ9DdxsUeIe/j/qd9frwESO5JVv/iaxXqB7aGrNA0rtUmGops3\n\tbHKPd1mwHHign9W/JSMoAeyC4DdLQL41uOKHP48CvNdVjQaWpIjru63IULE4339O+pFm\n\tLv7GQN4q945kg8VfAXzAG50VbfLFw3vQZORWJGy//mzwTym/2JzHW/0a3Z1uaqPgQQXD\n\t8X7A==",
        "Date": "Mon, 18 Jun 2018 16:34:41 -0700",
        "Precedence": "list",
        "X-BeenThere": "dev@dpdk.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=1cSXZUGIrZip3FjK0r2SxQSMvPlhtNmTqjbr7C0xRWA=;\n\tb=iKGGW4Td8yyTK1ESlOZkvh5u15VxY3a/M/d7CWjlAMbZ19RpT10o2VjGfKzHQaus+K\n\tTbobhk9Gp9dxMIR8P31RJWra6wkQ6OedWOZS0onq465xXRwZrq2azSuBXKkLOU161e4E\n\tHtI67FtTks63qKP+Lo4nvPun2nW6ElZWQo4WQX/QM64A0TyyKB5FviAxId8H7rkHyqZ+\n\tR/duMvHRmr58IhtuJbx5jze6dj6tFsYUDICQPfDmj/4kEvA5+NCSSBhBPNvCzMzZ5fpg\n\tSWInaxs6fTFEmimn74ZBSAM88FBW247D0DGVfxKx4BG+yIGRFkR2j7+qgx3//wSD+PLp\n\tp2mw==",
        "X-Mailer": "git-send-email 2.18.0.rc1.1.g6f333ff2f",
        "X-Gm-Message-State": "APt69E0goVLiMwHPIzLVuybUziIKPl+1XIVqPBaMG7o9sJ0/2z1MNB/R\n\ta4kawEYt6N62ecH9QQKSsleEPQ==",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Google-Smtp-Source": "ADUXVKKKqTh/qmIv8GyuHYqA9zBFF/XdjZtZ6eQmX97XD6ExM1/B56CpCR99P7+AVFbdDtcA/urWWg==",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5084F2BBD;\n\tTue, 19 Jun 2018 01:35:06 +0200 (CEST)",
            "from mail-ot0-f195.google.com (mail-ot0-f195.google.com\n\t[74.125.82.195]) by dpdk.org (Postfix) with ESMTP id F27D72AA0\n\tfor <dev@dpdk.org>; Tue, 19 Jun 2018 01:35:04 +0200 (CEST)",
            "by mail-ot0-f195.google.com with SMTP id a5-v6so20503078otf.12\n\tfor <dev@dpdk.org>; Mon, 18 Jun 2018 16:35:04 -0700 (PDT)",
            "from linux.adax.com (172-11-198-60.lightspeed.sntcca.sbcglobal.net.\n\t[172.11.198.60]) by smtp.gmail.com with ESMTPSA id\n\tq24-v6sm868069otk.64.2018.06.18.16.35.02\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 18 Jun 2018 16:35:03 -0700 (PDT)"
        ],
        "From": "Dan Gora <dg@adax.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<20180618233441.21323-1-dg@adax.com>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v2 0/4] mbuf: Add new private data area accessor\n\tfunction.",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Received": "by 2002:a9d:9:: with SMTP id 9-v6mr9541338ota.146.1529364903979; \n\tMon, 18 Jun 2018 16:35:03 -0700 (PDT)",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Hi All,\n\nBelow is a series of patches to add a new API function to allow DPDK\napplications to access the private data area of the mbuf, if one exists.\n\nThis eliminates the repeated code in applications to access the private\ndata area and makes the API a bit more complete, since there are already\naccessor functions to access the start of the buffer, the start of data, etc.\n\nThe first patch [1 of 4] adds the accessor function to rte_mbuf.h.\n\nThe other three patches clean up other code to use this new function.\n\nPlease let me know what you think.\n\nthanks\ndan\n\nv2:\n* Change 'md' to 'm' in rte_mbuf_to_priv().\n* Remove check of m->priv_len in rte_mbuf_to_priv() to avoid confusion\n  if used with indirect mbufs.\n\n\nDan Gora (4):\n  mbuf: add accessor function for private data area\n  examples/ipsec-secgw: use rte fcn to access private area\n  examples/ipsec-secgw: use ipsec fcn to access private area\n  vhost/crypto: use rte fcn to access private area\n\n examples/ipsec-secgw/ipsec.h    |  2 +-\n examples/ipsec-secgw/sa.c       |  2 +-\n lib/librte_mbuf/rte_mbuf.h      | 18 ++++++++++++++++++\n lib/librte_vhost/vhost_crypto.c |  6 ++----\n 4 files changed, 22 insertions(+), 6 deletions(-)"
}