List comments

GET /api/patches/74686/comments/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

[
    {
        "id": 116556,
        "web_url": "https://patches.dpdk.org/comment/116556/",
        "msgid": "<AM0PR05MB67076496F9DA85CE05E4FD4EC2760@AM0PR05MB6707.eurprd05.prod.outlook.com>",
        "date": "2020-07-23T14:50:38",
        "subject": "Re: [dpdk-dev] [PATCH v2] net/mlx5: fix dynamic inline hint handling",
        "submitter": {
            "id": 513,
            "url": "https://patches.dpdk.org/api/people/513/",
            "name": "Raslan Darawsheh",
            "email": "rasland@mellanox.com"
        },
        "content": "Hi,\n\n> -----Original Message-----\n> From: Gregory Etelson <getelson@mellanox.com>\n> Sent: Thursday, July 23, 2020 5:21 PM\n> To: dev@dpdk.org\n> Cc: Gregory Etelson <getelson@mellanox.com>; Matan Azrad\n> <matan@mellanox.com>; Raslan Darawsheh <rasland@mellanox.com>;\n> Slava Ovsiienko <viacheslavo@mellanox.com>; Shahaf Shuler\n> <shahafs@mellanox.com>\n> Subject: [PATCH v2] net/mlx5: fix dynamic inline hint handling\n> \n> The ConnectX NICs can transfer data from the host memory with two\n> approaches: provide the pointer to the data buffer, or do data inline\n> - copy the data to the transmit descriptor (WQE) entirely or only the\n> part of data. In some configurations the NIC hardware requires the\n> minimal data to be inline in the descriptor to operate correctly. And\n> there is the special dynamic flag to hint PMD not to inline the data\n> (for example, if buffer is located on some other device - storage or\n> GPU) on per packet basis.\n> \n> If there was a packet with length shorter than the minimal inline data\n> length requested by the NIC hardware and the no-inline hint was set\n> the PMD tried to inline the packet with minimal required length\n> instead of actual packet's one.  This patch adds the missed length\n> check into no-inline hint handling branch.\n> \n> Fixes: cacb44a09962 (\"net/mlx5: add no-inline Tx flag\")\nAdded missing Cc: stable@dpdk.org\n\n> \n> Signed-off-by: Gregory Etelson <getelson@mellanox.com>\n> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>\n> ---\n>  drivers/net/mlx5/mlx5_rxtx.c | 3 +++\n>  1 file changed, 3 insertions(+)\n> \n> diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c\n> index 3eb0243603..1b71e94221 100644\n> --- a/drivers/net/mlx5/mlx5_rxtx.c\n> +++ b/drivers/net/mlx5/mlx5_rxtx.c\n> @@ -4739,6 +4739,8 @@ mlx5_tx_burst_single_send(struct mlx5_txq_data\n> *__rte_restrict txq,\n>  \t\t\t\t\t      txq->inlen_mode) ||\n>  \t\t\t\t\t    (MLX5_TXOFF_CONFIG(MPW) &&\n>  \t\t\t\t\t     txq->inlen_mode)) {\n> +\t\t\t\t\t\tif (inlen <= txq->inlen_send)\n> +\t\t\t\t\t\t\tgoto single_inline;\n>  \t\t\t\t\t\t/*\n>  \t\t\t\t\t\t * The hardware requires the\n>  \t\t\t\t\t\t * minimal inline data header.\n> @@ -4755,6 +4757,7 @@ mlx5_tx_burst_single_send(struct mlx5_txq_data\n> *__rte_restrict txq,\n>  \t\t\t\t\t}\n>  \t\t\t\t\tgoto single_no_inline;\n>  \t\t\t\t}\n> +single_inline:\n>  \t\t\t\t/*\n>  \t\t\t\t * Completely inlined packet data WQE:\n>  \t\t\t\t * - Control Segment, SEND opcode\n> --\n> 2.25.1\n\n\nPatch applied to next-net-mlx,\n\nKindest regards,\nRaslan Darawsheh",
        "headers": {
            "Accept-Language": "en-US",
            "X-Mailman-Version": "2.1.15",
            "x-ms-oob-tlc-oobclassifiers": "OLM:8882;",
            "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AM0PR05MB6193",
            "authentication-results": "mellanox.com; dkim=none (message not signed)\n header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com;",
            "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED",
            "Precedence": "list",
            "List-Post": "<mailto:dev@dpdk.org>",
            "x-ms-exchange-senderadcheck": "1",
            "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
            "Subject": "Re: [dpdk-dev] [PATCH v2] net/mlx5: fix dynamic inline hint handling",
            "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
            "Sender": "\"dev\" <dev-bounces@dpdk.org>",
            "Delivered-To": "patchwork@inbox.dpdk.org",
            "Received": [
                "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 33C8CA0521;\n\tThu, 23 Jul 2020 16:50:41 +0200 (CEST)",
                "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 13E141BF94;\n\tThu, 23 Jul 2020 16:50:41 +0200 (CEST)",
                "from EUR04-HE1-obe.outbound.protection.outlook.com\n (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41])\n by dpdk.org (Postfix) with ESMTP id 26E8C1BF7B\n for <dev@dpdk.org>; Thu, 23 Jul 2020 16:50:40 +0200 (CEST)",
                "from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17)\n by AM0PR05MB6193.eurprd05.prod.outlook.com (2603:10a6:208:119::24)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.23; Thu, 23 Jul\n 2020 14:50:39 +0000",
                "from AM0PR05MB6707.eurprd05.prod.outlook.com\n ([fe80::ecd3:6008:3784:4012]) by AM0PR05MB6707.eurprd05.prod.outlook.com\n ([fe80::ecd3:6008:3784:4012%5]) with mapi id 15.20.3195.028; Thu, 23 Jul 2020\n 14:50:39 +0000"
            ],
            "x-originating-ip": "[84.242.49.134]",
            "x-microsoft-antispam": "BCL:0;",
            "x-ms-exchange-transport-forked": "True",
            "X-MS-Exchange-CrossTenant-AuthSource": "AM0PR05MB6707.eurprd05.prod.outlook.com",
            "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=M0uho9Wfb8Md2cPK6R0Cz/oPU2KrlT6o7uwgJH8ve4Y=;\n b=FnY74x/DbZbnkz3MQL+0TP6YrWKRetBT0jj/t186xf8UQQF1j0Pr2qJZev6YPzWTfp/Tj3Dl/zqJ6jY0Sy4ERTX/nUmbdpIAgJkIh58bj+BEKuJMnC0k2BHrkqrvV3JK8KCL0TGv2P4W/RWB4L2OjP43TjALF/KoAWPcvWrokNltL/bRJ4Q2b0HWJGBN92lLy5/zl1SE6thXArztLa7PdVmWxRrfOR/8u4dwMy3CaUWtzufpt/pyHaK8ZtviemVVwxqm1B6OpQI/XDjJYlqWxyc5dIsMFl9Jkj49g1CenjJTbJYVJq0pUEWZBkOiZzq1x0cAXxkjNdvZ1kwzdhzpgg==",
            "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
            "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
            "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com;\n s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=M0uho9Wfb8Md2cPK6R0Cz/oPU2KrlT6o7uwgJH8ve4Y=;\n b=nM1J0Do/Bbj2Hms/tMykrK+LsRC4XOwkOdDkUVBX+Wnc0lGyJWmiweDqGEPTJl860sznQ7Jyz5XKN2+L9NTKlN7gNgiFkKlxMbCEu7j96XT+8sXrrXrlVnLdpCPvTZjUjNNNR2FasHMfYCQ5GQXw7jxUyVr3P5wCKQ0ATOpW+Go=",
            "Message-ID": "\n <AM0PR05MB67076496F9DA85CE05E4FD4EC2760@AM0PR05MB6707.eurprd05.prod.outlook.com>",
            "X-MS-Exchange-CrossTenant-userprincipalname": "\n 9kkGYtvDlktxkIsbEcb6dtXXGarvbgJMFEeIgspV/i4J8qyQrnxsF3HEgzZJCKgBJ7du4+U4KCKNuX4+BoHS7Q==",
            "To": "Gregory Etelson <getelson@mellanox.com>, \"dev@dpdk.org\" <dev@dpdk.org>",
            "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
            "From": "Raslan Darawsheh <rasland@mellanox.com>",
            "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
            "x-ms-publictraffictype": "Email",
            "Return-Path": "<dev-bounces@dpdk.org>",
            "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com;\n dkim=pass header.d=mellanox.com; arc=none",
            "X-MS-TNEF-Correlator": "",
            "Thread-Index": "AQHWYPyIfSHo3lU7UkCZcRs3afdnlKkVPxbQ",
            "CC": "Matan Azrad <matan@mellanox.com>, Slava Ovsiienko\n <viacheslavo@mellanox.com>, Shahaf Shuler <shahafs@mellanox.com>",
            "X-OriginatorOrg": "Mellanox.com",
            "Thread-Topic": "[PATCH v2] net/mlx5: fix dynamic inline hint handling",
            "X-Original-To": "patchwork@inbox.dpdk.org",
            "x-microsoft-antispam-message-info": "\n CVlcRQ0LLSvqiLmPSh8p+YJbAvpyb4zN3UauXMtocNfJ5PwV658WGKbIvrYbWyzd/agPgOZWoL6/Eyhx41J8yV301OhlYLDQ9/u6G9lq23qzJ2O4NOUVTmBR6tRccpZ0ljTNu60G5ErJtqPwjEPeZG/R2xpvQCj31SI/9m5IKjNJrE38q/d03EXHcNbmSoQF3vIT2P4YeHeJK8amA1ZyoZFmNGQU6x8q3P5Hcm8cze4/FkQNit5PI1JQSwUP5dqFOMH8n/lWwX5Zd3tb8xRUobZfabWVS2XJTUHcSmQAP3rb38tlXhNqOKLAvSHAvC9b7qS6NhbuuqKINTjsUMPDMA==",
            "x-ms-office365-filtering-ht": "Tenant",
            "MIME-Version": "1.0",
            "In-Reply-To": "<20200723142106.2391-1-getelson@mellanox.com>",
            "X-BeenThere": "dev@dpdk.org",
            "References": "<20200723142106.2391-1-getelson@mellanox.com>",
            "Content-Type": "text/plain; charset=\"us-ascii\"",
            "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
            "X-MS-Exchange-CrossTenant-id": "a652971c-7d2e-4d9b-a6a4-d149256f461b",
            "x-ms-office365-filtering-correlation-id": "9dbce83b-c6fe-4986-2d56-08d82f17c3f5",
            "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 9dbce83b-c6fe-4986-2d56-08d82f17c3f5",
            "Date": "Thu, 23 Jul 2020 14:50:38 +0000",
            "Content-Transfer-Encoding": "quoted-printable",
            "x-forefront-antispam-report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE;\n SFTY:;\n SFS:(4636009)(136003)(39860400002)(396003)(346002)(366004)(376002)(54906003)(26005)(9686003)(2906002)(7696005)(186003)(4326008)(33656002)(8676002)(478600001)(83380400001)(86362001)(64756008)(66446008)(66476007)(66556008)(8936002)(5660300002)(110136005)(55016002)(52536014)(66946007)(76116006)(107886003)(316002)(6506007)(71200400001)(53546011);\n DIR:OUT; SFP:1101;",
            "X-MS-Has-Attach": "",
            "x-ms-traffictypediagnostic": "AM0PR05MB6193:",
            "x-ms-exchange-antispam-messagedata": "\n vTAFteM0GbApQ4rdkuaDUOziv/BCShfIDk0ocoaq5umEjfwYt0/YNSD+0TJfFdA1H6FUIMxWgzbBm2Dr4aC+UKA8T8R12XgSo9MCmyy4igezoOgUL635DSPt2esbArIEwaVjO+Azk568dyH4gNa75zFxaMovWIMQN9uHPryEqGD35ImRszEurucpIll1JoaJ6MOuIoMuHJsiME/Il2eJnQd2lhPA/7YKy0wRyV+rDjFlwORyOJ6JEnQ/HKBnHZJ8SxqCXSyj60goKczpLlmrKQkP4EOHtveKrW8/+tPfyaq4NsAfOUxUuXNcXdUXRjZaBZ9kVboJ7ovwWziF/8mfYXwypU8DnKOiULXV0MiZQrPzUzMJ5RPF31qGlxYSH2pNXrjMYdIIjYTv7/yyRC1aitAZYsqkw9J+nzVAh+wtfaNVRAm90jFndYcnvd8MBEoUKyQcGafhQseqs1hAJsZSiddrKof2DdNUtPnaQxkebDRnXcEseM6xYwTsnnuJEygS",
            "X-MS-Exchange-CrossTenant-originalarrivaltime": "23 Jul 2020 14:50:38.9780 (UTC)",
            "Content-Language": "en-US",
            "Errors-To": "dev-bounces@dpdk.org",
            "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=P7oUKalWBP8c5cN+auX9NePJssUcD4LHCm2P3XSRTbVrJwaICPJ8XeP5uthA7RYHxunsF0jLYSoYUx01hXdvwu/ZU2am8bAg6AiHcvjYGs3JhfI4RnSWOBGWTAjw+pTtYCVdRr9ez/hb+N8Jmjpcdf1I0eu2aamB/Hngxeny9tEx2xKtOecU/z+iLt4oOg6x67xme5y0pPygD4C5TUtTiRYjj8O95EthmRDJRteMiTJ9IVsYfv1/h19U9zVc6rDf5jdcJcgMPQtM21q9EBp7LgWRKQlNHoWFyqxin2p6TqXjv39CzQmQdYY0SLeImXlWzAfZgnGn2Z8SF894Nq8vVw==",
            "x-microsoft-antispam-prvs": "\n <AM0PR05MB61938D36B400068B22DA88B8C2760@AM0PR05MB6193.eurprd05.prod.outlook.com>"
        }
    }
]