Cover Letter Detail
Show a cover letter.
GET /api/covers/807122/?format=api
{ "id": 807122, "url": "http://patchwork.ozlabs.org/api/covers/807122/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/cover/150401743083.16384.15778781741742858567.stgit@firesoul/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<150401743083.16384.15778781741742858567.stgit@firesoul>", "list_archive_url": null, "date": "2017-08-29T14:37:35", "name": "[net-next,0/7] XDP redirect tracepoints", "submitter": { "id": 13625, "url": "http://patchwork.ozlabs.org/api/people/13625/?format=api", "name": "Jesper Dangaard Brouer", "email": "brouer@redhat.com" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/cover/150401743083.16384.15778781741742858567.stgit@firesoul/mbox/", "series": [ { "id": 382, "url": "http://patchwork.ozlabs.org/api/series/382/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=382", "date": "2017-08-29T14:37:35", "name": "XDP redirect tracepoints", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/382/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/807122/comments/", "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ext-mx09.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com", "ext-mx09.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=brouer@redhat.com" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhWSl2WH1z9s7f\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 00:37:43 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754515AbdH2Ohk (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 29 Aug 2017 10:37:40 -0400", "from mx1.redhat.com ([209.132.183.28]:48664 \"EHLO mx1.redhat.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1752746AbdH2Ohj (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tTue, 29 Aug 2017 10:37:39 -0400", "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id CF33B4ACCA;\n\tTue, 29 Aug 2017 14:37:39 +0000 (UTC)", "from firesoul.localdomain (ovpn-200-32.brq.redhat.com\n\t[10.40.200.32])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 12F096F9E4;\n\tTue, 29 Aug 2017 14:37:37 +0000 (UTC)", "from [192.168.5.1] (localhost [IPv6:::1])\n\tby firesoul.localdomain (Postfix) with ESMTP id C145C30F12C9F;\n\tTue, 29 Aug 2017 16:37:35 +0200 (CEST)" ], "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com CF33B4ACCA", "Subject": "[PATCH net-next 0/7] XDP redirect tracepoints", "From": "Jesper Dangaard Brouer <brouer@redhat.com>", "To": "netdev@vger.kernel.org", "Cc": "John Fastabend <john.fastabend@gmail.com>,\n\tJesper Dangaard Brouer <brouer@redhat.com>", "Date": "Tue, 29 Aug 2017 16:37:35 +0200", "Message-ID": "<150401743083.16384.15778781741742858567.stgit@firesoul>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.38]);\n\tTue, 29 Aug 2017 14:37:39 +0000 (UTC)", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "I feel this is as far as I can take the tracepoint infrastructure to\nassist XDP monitoring.\n\nTracepoints comes with a base overhead of 25 nanosec for an attached\nbpf_prog, and 48 nanosec for using a full perf record. This is\nproblematic for the XDP use-case, but it is very convenient to use the\nexisting perf infrastructure.\n\n>From a performance perspective, the real solution would be to attach\nanother bpf_prog (that understand xdp_buff), but I'm not sure we want\nto introduce yet another bpf attach API for this.\n\nOne thing left is to standardize the possible err return codes, to a\nlimited set, to allow easier (and faster) mapping into a bpf map.\n\n---\n\nJesper Dangaard Brouer (7):\n xdp: remove redundant argument to trace_xdp_redirect\n xdp: tracepoint xdp_redirect also need a map argument\n xdp: make xdp tracepoints report bpf prog id instead of prog_tag\n xdp: separate xdp_redirect tracepoint in error case\n xdp: separate xdp_redirect tracepoint in map case\n samples/bpf: xdp_redirect load XDP dummy prog on TX device\n samples/bpf: xdp_monitor tool based on tracepoints\n\n\n include/trace/events/xdp.h | 100 ++++++++++--\n net/core/filter.c | 37 +++-\n samples/bpf/Makefile | 4 \n samples/bpf/xdp_monitor_kern.c | 88 ++++++++++\n samples/bpf/xdp_monitor_user.c | 295 +++++++++++++++++++++++++++++++++++\n samples/bpf/xdp_redirect_kern.c | 11 +\n samples/bpf/xdp_redirect_map_kern.c | 11 +\n samples/bpf/xdp_redirect_map_user.c | 22 ++-\n samples/bpf/xdp_redirect_user.c | 21 ++\n 9 files changed, 543 insertions(+), 46 deletions(-)\n create mode 100644 samples/bpf/xdp_monitor_kern.c\n create mode 100644 samples/bpf/xdp_monitor_user.c\n\n--" }