Cover Letter Detail
Show a cover letter.
GET /api/covers/810960/?format=api
{ "id": 810960, "url": "http://patchwork.ozlabs.org/api/covers/810960/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/cover/150478158684.24662.17975701233699487888.stgit@anamdev.jf.intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<150478158684.24662.17975701233699487888.stgit@anamdev.jf.intel.com>", "list_archive_url": null, "date": "2017-09-07T11:00:01", "name": "[RFC,v3,0/6] Configuring traffic classes via new hardware offload mechanism in tc/mqprio", "submitter": { "id": 68504, "url": "http://patchwork.ozlabs.org/api/people/68504/?format=api", "name": "Nambiar, Amritha", "email": "amritha.nambiar@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/cover/150478158684.24662.17975701233699487888.stgit@anamdev.jf.intel.com/mbox/", "series": [ { "id": 1979, "url": "http://patchwork.ozlabs.org/api/series/1979/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=1979", "date": "2017-09-07T11:00:01", "name": "Configuring traffic classes via new hardware offload mechanism in tc/mqprio", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/1979/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/810960/comments/", "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnyDm2GVBz9s7C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 7 Sep 2017 21:01:11 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0ED0E88981;\n\tThu, 7 Sep 2017 11:01:10 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JI-VaTDHNLFd; Thu, 7 Sep 2017 11:01:09 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 397F88893C;\n\tThu, 7 Sep 2017 11:01:09 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 307C81C2121\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 7 Sep 2017 11:01:08 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 25F548893C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 7 Sep 2017 11:01:08 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OaQXnnG8RiBj for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 7 Sep 2017 11:01:06 +0000 (UTC)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id B6B628854F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 7 Sep 2017 11:01:06 +0000 (UTC)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t07 Sep 2017 04:01:05 -0700", "from anamdev.jf.intel.com ([10.166.29.110])\n\tby fmsmga001.fm.intel.com with ESMTP; 07 Sep 2017 04:01:05 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos; i=\"5.42,357,1500966000\"; d=\"scan'208\";\n\ta=\"1192550254\"", "From": "Amritha Nambiar <amritha.nambiar@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com", "Date": "Thu, 07 Sep 2017 04:00:01 -0700", "Message-ID": "<150478158684.24662.17975701233699487888.stgit@anamdev.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Cc": "netdev@vger.kernel.org", "Subject": "[Intel-wired-lan] [RFC PATCH v3 0/6] Configuring traffic classes\n\tvia new hardware offload mechanism in tc/mqprio", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "The following series introduces a new hardware offload mode in\ntc/mqprio where the TCs, the queue configurations and\nbandwidth rate limits are offloaded to the hardware. The existing\nmqprio framework is extended to configure the queue counts and\nlayout and also added support for rate limiting. This is achieved\nthrough new netlink attributes for the 'mode' option which takes\nvalues such as 'dcb' (default) and 'channel' and a 'shaper' option\nfor QoS attributes such as bandwidth rate limits in hw mode 1.\nLegacy devices can fall back to the existing setup supporting hw mode\n1 without these additional options where only the TCs are offloaded\nand then the 'mode' and 'shaper' options defaults to DCB support.\nThe i40e driver enables the new mqprio hardware offload mechanism\nfactoring the TCs, queue configuration and bandwidth rates by\ncreating HW channel VSIs.\n\nIn this new mode, the priority to traffic class mapping and the\nuser specified queue ranges are used to configure the traffic\nclass when the 'mode' option is set to 'channel'. This is achieved by\ncreating HW channels(VSI). A new channel is created for each of the\ntraffic class configuration offloaded via mqprio framework except for\nthe first TC (TC0) which is for the main VSI. TC0 for the main VSI is\nalso reconfigured as per user provided queue parameters. Finally,\nbandwidth rate limits are set on these traffic classes through the\nshaper attribute by sending these rates in addition to the number of\nTCs and the queue configurations.\n\nExample:\n # tc qdisc add dev eth0 root mqprio num_tc 2 map 0 0 0 0 1 1 1 1\\\n queues 4@0 4@4 hw 1 mode channel shaper bw_rlimit\\\n min_rate 1Gbit 2Gbit max_rate 4Gbit 5Gbit\n\n To dump the bandwidth rates:\n\n # tc qdisc show dev eth0\n\n qdisc mqprio 804a: root tc 2 map 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0\n queues:(0:3) (4:7)\n mode:channel\n shaper:bw_rlimit min_rate:1Gbit 2Gbit max_rate:4Gbit 5Gbit\n\n---\n\nAmritha Nambiar (6):\n mqprio: Introduce new hardware offload mode and shaper in mqprio\n i40e: Add macro for PF reset bit\n i40e: Add infrastructure for queue channel support\n i40e: Enable 'channel' mode in mqprio for TC configs\n i40e: Refactor VF BW rate limiting\n i40e: Add support setting TC max bandwidth rates\n\n\n drivers/net/ethernet/intel/i40e/i40e.h | 44 +\n drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 3 \n drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 8 \n drivers/net/ethernet/intel/i40e/i40e_main.c | 1463 +++++++++++++++++---\n drivers/net/ethernet/intel/i40e/i40e_txrx.h | 2 \n drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 50 -\n include/net/pkt_cls.h | 9 \n include/uapi/linux/pkt_sched.h | 32 \n net/sched/sch_mqprio.c | 183 ++-\n 9 files changed, 1551 insertions(+), 243 deletions(-)\n\n--" }