Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71277/?format=api
https://patches.dpdk.org/api/patches/71277/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200611151610.32409-1-patrick.keroulas@radio-canada.ca/", "project": { "id": 1, "url": "https://patches.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": "<20200611151610.32409-1-patrick.keroulas@radio-canada.ca>", "list_archive_url": "https://inbox.dpdk.org/dev/20200611151610.32409-1-patrick.keroulas@radio-canada.ca", "date": "2020-06-11T15:16:07", "name": "[RFC,v2,0/3] pdump HW timestamps for mlx5", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1776, "url": "https://patches.dpdk.org/api/people/1776/?format=api", "name": "Patrick Keroulas", "email": "patrick.keroulas@radio-canada.ca" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200611151610.32409-1-patrick.keroulas@radio-canada.ca/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/71277/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/71277/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.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 3D6E7A0093;\n\tThu, 11 Jun 2020 17:16:25 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 71012100C;\n\tThu, 11 Jun 2020 17:16:24 +0200 (CEST)", "from mail-qv1-f65.google.com (mail-qv1-f65.google.com\n [209.85.219.65]) by dpdk.org (Postfix) with ESMTP id 43A38100C\n for <dev@dpdk.org>; Thu, 11 Jun 2020 17:16:22 +0200 (CEST)", "by mail-qv1-f65.google.com with SMTP id e2so2780256qvw.7\n for <dev@dpdk.org>; Thu, 11 Jun 2020 08:16:22 -0700 (PDT)", "from localhost.localdomain\n (modemcable246.10-73-45.static.videotron.ca. [45.73.10.246])\n by smtp.gmail.com with ESMTPSA id h77sm2524379qke.37.2020.06.11.08.16.20\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 11 Jun 2020 08:16:20 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=radio-canada-ca.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id;\n bh=m3lsk0xQBQ2iXTa5ZaLS6puYNQegxRRpb/JqdW1zImU=;\n b=kBZFJ/tORrGT3uwkMZTvDZ4nGZElF6+O16uvGC77+5nB6ILDCbX37w5JzPl38EyDpH\n K3thb6z1LHZg5Pp3Ii5c3yMEPI29e0tR0zbmoDodoH8GJTAVNbCOfFMqnjd0HzkTmjfg\n h3ML1QLgHhK8NEDhhGLWOcRLCbLJnsQR5+II58lz3d4UNHRoG0tfdZpUSGNq+iVS2uuI\n LLi4QNd/GSU8HGAp1ZZ9EfqV1cVz2Zhp7rN0NZSOl3sFarxpxE3b2v928KJG2nCJ4Z/o\n La/iY1Rw2xDsm1e6dIZ9vBOUnlyjfCuR4tSZK/JWwQTTi1LVlwGG23iVODJygnxcrOpu\n buZw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id;\n bh=m3lsk0xQBQ2iXTa5ZaLS6puYNQegxRRpb/JqdW1zImU=;\n b=sDY6JdNWGEBED7tCSCbgpJwWwbA66thWnb/H8/rkMZBRV0TOkZv67m8UMtrvprq+l2\n goBGciyxKwUHuB8+gjmLHGi8JQvvr3oId2o3NhHZoV/dhlHVPwNcSjJVyo640DGA9XPh\n Vb1CkUzl+KVGTBlEfQpDiEzObuG8YRMQUUDcX/ms6Be7kv1Bf5GQjOSKMBn3zdTwc8NE\n hZGVER+JERnAN7xE4kI1GJRYaEGgM4E6z/g1SH1ebfJaZY+4zYVx+dRCN88Gljn5VaVb\n 1QdiRQqgXsLvgVbjlim49UOf/X+XLgwjgwJLuzZG07kRpkEp9Ev8byco4C7sv7RXPqDV\n 2lBA==", "X-Gm-Message-State": "AOAM5311Tt7zfhFHN0Ut8lhqKJjYODoUxWxReo8mqyO0CKowbVqu3zUF\n iWxe2Vqx7yG3nN6DJCUjpYGtJxd/UHwmMA==", "X-Google-Smtp-Source": "\n ABdhPJwEbV8utQGetazgMcvma8eAL2m+sWJKAhKJX1dVT2tWsaZ5sHgN1kf0Nt8H4d2NQNJLI6/yeg==", "X-Received": "by 2002:ad4:54ee:: with SMTP id k14mr8490408qvx.9.1591888581223;\n Thu, 11 Jun 2020 08:16:21 -0700 (PDT)", "From": "Patrick Keroulas <patrick.keroulas@radio-canada.ca>", "To": "dev@dpdk.org", "Cc": "Patrick Keroulas <patrick.keroulas@radio-canada.ca>", "Date": "Thu, 11 Jun 2020 11:16:07 -0400", "Message-Id": "<20200611151610.32409-1-patrick.keroulas@radio-canada.ca>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [RFC][PATCH v2 0/3] pdump HW timestamps for mlx5", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The intention is to produce a pcap with nanosecond precision when\ntimestamp offloading is activated on mlx5 NIC.\n\nThe packets forwarded by testpmd hold the raw counter but a pcap\nrequires a time unit. Assuming that the NIC clock is already synced\nwith external master clock, this patchset simply integrates the\nnanosecond converter that is already implemented by ibverbs.\n\nRFC:\nThe conversion is performed in Rx callback, in primary process because\nthe required clock info carried by ibv_context is not shared with\nsecundary process (pdump). Thus mbuf->timestamp is the chosen candidate\nto convey the nanoseconds to pdump, since doc says: \"unit and time\nreference are not normalized but are always the same for a given port\"\n\nPatrick Keroulas (3):\n net/mlx5: add counter-to-ns converter from libibverbs\n ethdev: add API to convert raw timestamps to nsec\n net/pcap: dump hardware timestamps\n\n drivers/common/mlx5/linux/mlx5_glue.c | 16 +++++++++++\n drivers/common/mlx5/linux/mlx5_glue.h | 4 +++\n drivers/net/mlx5/mlx5.c | 1 +\n drivers/net/mlx5/mlx5.h | 1 +\n drivers/net/mlx5/mlx5_ethdev.c | 30 ++++++++++++++++++++\n drivers/net/pcap/rte_eth_pcap.c | 35 +++++++++++++-----------\n lib/librte_ethdev/rte_ethdev.c | 12 ++++++++\n lib/librte_ethdev/rte_ethdev.h | 17 ++++++++++++\n lib/librte_ethdev/rte_ethdev_core.h | 5 ++++\n lib/librte_ethdev/rte_ethdev_version.map | 2 ++\n lib/librte_mbuf/rte_mbuf_core.h | 3 +-\n lib/librte_pdump/rte_pdump.c | 14 +++++++++-\n 12 files changed, 122 insertions(+), 18 deletions(-)", "diff": null, "prefixes": [ "RFC", "v2", "0/3" ] }{ "id": 71277, "url": "