{"id":809014,"url":"http://patchwork.ozlabs.org/api/1.2/patches/809014/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170901012646.14939-1-vinicius.gomes@intel.com/","project":{"id":46,"url":"http://patchwork.ozlabs.org/api/1.2/projects/46/?format=json","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":"<20170901012646.14939-1-vinicius.gomes@intel.com>","list_archive_url":null,"date":"2017-09-01T01:26:45","name":"[RFC,iproute2,1/2] update headers with CBS API [RFC]","commit_ref":null,"pull_url":null,"state":"rfc","archived":false,"hash":"9316e37ea28d2179540f5e77315d797f48ae687c","submitter":{"id":72272,"url":"http://patchwork.ozlabs.org/api/1.2/people/72272/?format=json","name":"Vinicius Costa Gomes","email":"vinicius.gomes@intel.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170901012646.14939-1-vinicius.gomes@intel.com/mbox/","series":[{"id":1121,"url":"http://patchwork.ozlabs.org/api/1.2/series/1121/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=1121","date":"2017-09-01T01:26:45","name":"[RFC,iproute2,1/2] update headers with CBS API [RFC]","version":1,"mbox":"http://patchwork.ozlabs.org/series/1121/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809014/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809014/checks/","tags":{},"related":[],"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.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)","Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xkXMB3lQnz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 07:24:54 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 0DF2330BD3;\n\tFri,  1 Sep 2017 21:24:53 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id y71p1zMG9pUh; Fri,  1 Sep 2017 21:24:51 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 5137530BD4;\n\tFri,  1 Sep 2017 21:24:49 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 56C371CEAE4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Sep 2017 01:27:00 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 4611387AAF\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Sep 2017 01:27:00 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id d3Id_SW6Lx79 for <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Sep 2017 01:26:58 +0000 (UTC)","from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 3126D87A5D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Sep 2017 01:26:58 +0000 (UTC)","from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t31 Aug 2017 18:26:57 -0700","from ellie.jf.intel.com (HELO localhost.localdomain)\n\t([10.24.8.207])\n\tby fmsmga006.fm.intel.com with ESMTP; 31 Aug 2017 18:26:57 -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.41,456,1498546800\"; d=\"scan'208\";a=\"146934375\"","From":"Vinicius Costa Gomes <vinicius.gomes@intel.com>","To":"netdev@vger.kernel.org","Date":"Thu, 31 Aug 2017 18:26:45 -0700","Message-Id":"<20170901012646.14939-1-vinicius.gomes@intel.com>","X-Mailer":"git-send-email 2.14.1","X-Mailman-Approved-At":"Fri, 01 Sep 2017 21:24:44 +0000","Cc":"andre.guedes@intel.com, jiri@resnulli.us, ivan.briano@intel.com,\n\tVinicius Costa Gomes <vinicius.gomes@intel.com>,\n\trichardcochran@gmail.com, \n\tjhs@mojatatu.com, intel-wired-lan@lists.osuosl.org,\n\tboon.leong.ong@intel.com, \n\txiyou.wangcong@gmail.com, jesus.sanchez-palencia@intel.com","Subject":"[Intel-wired-lan] [RFC iproute2 1/2] update headers with CBS API\n\t[RFC]","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>","MIME-Version":"1.0","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":"Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>\n---\n include/linux/pkt_sched.h | 29 +++++++++++++++++++++++++++++\n 1 file changed, 29 insertions(+)","diff":"diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h\nindex 099bf552..ba6c9a54 100644\n--- a/include/linux/pkt_sched.h\n+++ b/include/linux/pkt_sched.h\n@@ -871,4 +871,33 @@ struct tc_pie_xstats {\n \t__u32 maxq;             /* maximum queue size */\n \t__u32 ecn_mark;         /* packets marked with ecn*/\n };\n+\n+/* CBS */\n+/* FIXME: this is only for usage with ndo_setup_tc(), this should be\n+ * in another header someplace else. Is pkt_cls.h the right place?\n+ */\n+struct tc_cbs_qopt_offload {\n+\t__u8\t\tenable;\n+\t__s32\t\tqueue;\n+\t__s32\t\thicredit;\n+\t__s32\t\tlocredit;\n+\t__s32\t\tidleslope;\n+\t__s32\t\tsendslope;\n+};\n+\n+struct tc_cbs_qopt {\n+\t__s32\t\thicredit;\n+\t__s32\t\tlocredit;\n+\t__s32\t\tidleslope;\n+\t__s32\t\tsendslope;\n+};\n+\n+enum {\n+\tTCA_CBS_UNSPEC,\n+\tTCA_CBS_PARMS,\n+\t__TCA_CBS_MAX,\n+};\n+\n+#define TCA_CBS_MAX (__TCA_CBS_MAX - 1)\n+\n #endif\n","prefixes":["RFC","iproute2","1/2"]}