Cover Detail
Show a cover letter.
GET /api/covers/44974/?format=api
https://patches.dpdk.org/api/covers/44974/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20180919195549.5585-1-dg@adax.com/", "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": "<20180919195549.5585-1-dg@adax.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180919195549.5585-1-dg@adax.com", "date": "2018-09-19T19:55:44", "name": "[v2,0/5] kni: add API to set link status on kernel interface", "submitter": { "id": 1040, "url": "https://patches.dpdk.org/api/people/1040/?format=api", "name": "Dan Gora", "email": "dg@adax.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20180919195549.5585-1-dg@adax.com/mbox/", "series": [ { "id": 1401, "url": "https://patches.dpdk.org/api/series/1401/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1401", "date": "2018-09-19T19:55:44", "name": "kni: add API to set link status on kernel interface", "version": 2, "mbox": "https://patches.dpdk.org/series/1401/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/44974/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A9ADF1B120;\n\tWed, 19 Sep 2018 21:56:18 +0200 (CEST)", "from mail-qt0-f195.google.com (mail-qt0-f195.google.com\n\t[209.85.216.195]) by dpdk.org (Postfix) with ESMTP id 478261B11A\n\tfor <dev@dpdk.org>; Wed, 19 Sep 2018 21:56:17 +0200 (CEST)", "by mail-qt0-f195.google.com with SMTP id n6-v6so6328785qtl.4\n\tfor <dev@dpdk.org>; Wed, 19 Sep 2018 12:56:17 -0700 (PDT)", "from snappy.local.lan ([187.10.145.241])\n\tby smtp.gmail.com with ESMTPSA id\n\tg184-v6sm12431369qkb.15.2018.09.19.12.56.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 19 Sep 2018 12:56:15 -0700 (PDT)" ], "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:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Tlp7+L9zKBRgMpk1mdKaZfo6BKkq5V8MVDHLrlw0Zoc=;\n\tb=XnoBPPCVOz5geFnsmzmeIEcxlPRQ90Fj1MhMOow1vqtCkxZO1hegN4DX1AZUTdXS23\n\tagVFFg62cbJh9J8xlOOIqPUcfp77Rjv314/M8fSljmF0lM7+A6SMVzPh/vq4iBc0xyVv\n\t/oMwz0CComclLEl8I6mEpz/fmjiRgfbszchF3ERNp+hZz5cgya9ubbCuJXn6A+6MJBwU\n\t5bI2h/4cAHTxo2MI8IrFLr1FoLaaM+9W0gcsNsv8qo2N4/ylLwnzP5tMzqzC0G8ZgOO4\n\twIiRVmxtZwpbK3aTvkcFuxwuUZ2rYGzUrKsbM8+wG+fiNyCThpoxsnc6D/XHoRYI5KrY\n\tlmRQ==", "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\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=Tlp7+L9zKBRgMpk1mdKaZfo6BKkq5V8MVDHLrlw0Zoc=;\n\tb=fycxdEzoh14wDiFZSfTOU5+AKe1t4tYG6jnUvlOYsZxuCtojSMT5jHT7BYUyR2peMz\n\txdhxGG2JJ+uDQN8iY/qNZu25QrQHac9PJJOS/KZQvgRZPVLgLGSeFlcJU3jg9+MJElwv\n\tjvpcAq/ln1KCE+B7ZITmCmm+URfy08fKHLvgHp5bHnIs/Oe6nwM8+NvmLwmURG7N/4KN\n\t70oKhHUY9em5Pig/HeKn1r7Uwppxx9lMuKpauCiBLZKXvsl+2aKdWIF10rJs9ByK+9yF\n\tsaAZ2pJgKpaiOJanM1tJ/TwCJIQV+LyHZ5oBOPuJmZmwSz26mTMUplxCSoc+PCHUHNc+\n\t9uOg==", "X-Gm-Message-State": "APzg51Ah9AEUMFXoA2cI8FftvTfihmMFSMors9ZF+A+O72zkh7V80XOJ\n\tyDEoG+tNg8G1fuPbaKTSD3LkqmX8", "X-Google-Smtp-Source": "ANB0VdY5QF23egFyLYrEMbenCO4Xb5dNE2B/ScQELXJYYJZtEsUqB16L1xZzoAuwqbBs5UlpPUZTOw==", "X-Received": "by 2002:a0c:aed9:: with SMTP id\n\tn25-v6mr25838786qvd.10.1537386976138; \n\tWed, 19 Sep 2018 12:56:16 -0700 (PDT)", "From": "Dan Gora <dg@adax.com>", "To": "dev@dpdk.org", "Cc": "Igor Ryzhov <iryzhov@nfware.com>,\n\tStephen Hemminger <stephen@networkplumber.org>, Dan Gora <dg@adax.com>", "Date": "Wed, 19 Sep 2018 16:55:44 -0300", "Message-Id": "<20180919195549.5585-1-dg@adax.com>", "X-Mailer": "git-send-email 2.19.0", "In-Reply-To": "<20180911232906.18352-1-dg@adax.com>", "References": "<20180911232906.18352-1-dg@adax.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 0/5] kni: add API to set link status on kernel\n\tinterface", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Hi All,\n\nAttached is version 2 of a patchset to add a new API function to\nset the link status on kernel interfaces created with the KNI kernel\nmodule.\n\n-dan\n\nv2\n====\n\n* Fix bug where \"Fixed\" and \"AutoNeg\" were transposed in the link\n status log message.\n\n* Add rte_kni_update_link() to rte_kni_version.map\n\n* Add rte_kni_update_link() tests to kni_autotest\n\n* Update examples/kni to continuously monitor link status and\n update the corresponding kernel interface with\n rte_kni_update_link().\n\n* Minor improvements to examples/kni: Add log message showing how\n to show/zero stats. Improve zeroing statistics.\n\nNote that checkpatches.sh compains about patch 1/5, but this appears\nto be a bug with check-symbol-change or something. If I move the\nfragment of the patch modifying rte_kni_version.map to the bottom of\nthe patch file, it doesn't complain any more... I just don't really\nhave time to investigate this right now.\n\nthanks\ndan\n\n> Hi All,\n> \n> The following patches are to add support for DPDK applications to be\n> able to change the carrier state of Linux network interfaces in the\n> KNI kernel module.\n> \n> The carrier state is changed by writing to the Linux /sys file:\n> /sys/devices/virtual/net/<name>/carrier, where <name> is the KNI\n> interface name.\n> \n> These patches supercede:\n> '[PATCH v2 10/10] kni: add API to set link status on kernel interface'\n> https://mails.dpdk.org/archives/dev/2018-August/110383.html\n\n\nDan Gora (5):\n kni: add API to set link status on kernel interface\n kni: set default carrier state to 'off'\n examples/kni: monitor and update link status continually\n examples/kni: add log msgs to show and clear stats\n examples/kni: improve zeroing statistics\n\n examples/kni/Makefile | 2 +\n examples/kni/main.c | 104 ++++++++++++++++-------------\n kernel/linux/kni/kni_misc.c | 2 +\n kernel/linux/kni/kni_net.c | 2 +\n lib/librte_kni/rte_kni.c | 57 ++++++++++++++++\n lib/librte_kni/rte_kni.h | 18 +++++\n lib/librte_kni/rte_kni_version.map | 6 ++\n test/test/test_kni.c | 100 ++++++++++++++++++++++++++-\n 8 files changed, 244 insertions(+), 47 deletions(-)" }{ "id": 44974, "url": "