{"id":806734,"url":"http://patchwork.ozlabs.org/api/patches/806734/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/patch/20170828190738.26829-4-aring@mojatatu.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","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":"<20170828190738.26829-4-aring@mojatatu.com>","list_archive_url":null,"date":"2017-08-28T19:07:37","name":"[iproute2,3/4] tc: m_ife: report about kernels default type","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"01fd30457c1470c9bbdde48e223fa5ae4dc515d5","submitter":{"id":72245,"url":"http://patchwork.ozlabs.org/api/people/72245/?format=json","name":"Alexander Aring","email":"aring@mojatatu.com"},"delegate":{"id":389,"url":"http://patchwork.ozlabs.org/api/users/389/?format=json","username":"shemminger","first_name":"stephen","last_name":"hemminger","email":"shemminger@vyatta.com"},"mbox":"http://patchwork.ozlabs.org/project/netdev/patch/20170828190738.26829-4-aring@mojatatu.com/mbox/","series":[{"id":244,"url":"http://patchwork.ozlabs.org/api/series/244/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=244","date":"2017-08-28T19:07:34","name":"tc: m_ife: handle IFE ethertype value","version":1,"mbox":"http://patchwork.ozlabs.org/series/244/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/806734/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806734/checks/","tags":{},"related":[],"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>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=mojatatu-com.20150623.gappssmtp.com\n\theader.i=@mojatatu-com.20150623.gappssmtp.com\n\theader.b=\"jWxoZlBW\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xh1XS6gSRz9sN7\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 29 Aug 2017 05:09:12 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751708AbdH1TJB (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 28 Aug 2017 15:09:01 -0400","from mail-io0-f195.google.com ([209.85.223.195]:33271 \"EHLO\n\tmail-io0-f195.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751631AbdH1TIt (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 28 Aug 2017 15:08:49 -0400","by mail-io0-f195.google.com with SMTP id s101so1107645ioe.0\n\tfor <netdev@vger.kernel.org>; Mon, 28 Aug 2017 12:08:49 -0700 (PDT)","from x220t.lan ([64.26.149.125]) by smtp.gmail.com with ESMTPSA id\n\tm192sm40144itb.14.2017.08.28.12.08.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 28 Aug 2017 12:08:48 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=mojatatu-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=87R/diq6jRRImBgKQQMt2LFxYwcVnGnwLgaBueap4l4=;\n\tb=jWxoZlBWygupqFxofpv4UCkIcX0WE+3U2FznWuid1Rfuusu+fOTJzMwSe3hK8G7njk\n\tCtYuZdj8T7Tg7kIf+FBCLuLIz6nqYRu7FW+XR0P+kwLhwg15bkTECkYNOc7o/LauzIEM\n\tjaPFp689iCfdGWmepkggC2llgQqcRCANEPQjmyMv4nM5f11vXOkpHesvRN27rZ5RVAEN\n\tCFtqn2ntoAvmfNAmo3N/if7Q7HC5yiKUuJJCHP5WohybAlERCLmF4FqXsvcFHbst8lKZ\n\t5PGuhbxVHg1NPgQ66TxA/O3EJFvdHBL+LiJk7jwRzOGz8ddjbQTcU7n6XwnUMYZqG0lS\n\tibMQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=87R/diq6jRRImBgKQQMt2LFxYwcVnGnwLgaBueap4l4=;\n\tb=jJvtwAUDKSli9KyqRpRv/y7jPGkqaA6nmgvmaPErOI5EO0PdcX0r9xQBezp4JVRHkP\n\txIYkA2DltVV9emq7ngL2NbtdMoSp+7FfY/qeXxSGNkp+vWYe6VnZBItUJ9+30nVHlV9y\n\t9t1fBm7DU3HRaeh3aby3xHvssRxMwUVpB6AhUbJ1sNOSGFaMVAnfuJdamNGB4J3azgxW\n\t878XvYaHMTr3GPaah1otLYrWlJQfN3U03SwF7C/JbWPtRZsrHqM4Y2ThXmateL7MyQzw\n\tayZHIyWcX0akQ1bRYR2kg8BMvBBBY5nNDReU57uuQMloVhwZkOH35QNyzeBJRbW37fAO\n\tZe0g==","X-Gm-Message-State":"AHYfb5gbx5QA8Gc+Ng4p8uU+6wjcsDEUIElVTGhxujDa5c6spL9yjb1q\n\tMc/QMxw4XFe/Fl6Y","X-Received":"by 10.107.48.9 with SMTP id w9mr1499801iow.301.1503947328905;\n\tMon, 28 Aug 2017 12:08:48 -0700 (PDT)","From":"Alexander Aring <aring@mojatatu.com>","To":"jhs@mojatatu.com","Cc":"yotamg@mellanox.com, xiyou.wangcong@gmail.com, jiri@resnulli.us,\n\tnetdev@vger.kernel.org, Alexander Aring <aring@mojatatu.com>","Subject":"[PATCH iproute2 3/4] tc: m_ife: report about kernels default type","Date":"Mon, 28 Aug 2017 15:07:37 -0400","Message-Id":"<20170828190738.26829-4-aring@mojatatu.com>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170828190738.26829-1-aring@mojatatu.com>","References":"<20170828190738.26829-1-aring@mojatatu.com>","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"This patch will report about if the ethertype for IFE is not specified\nthat the default IFE type is used.\n\nSigned-off-by: Alexander Aring <aring@mojatatu.com>\n---\n tc/m_ife.c | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/tc/m_ife.c b/tc/m_ife.c\nindex 7b57130e..5633ab90 100644\n--- a/tc/m_ife.c\n+++ b/tc/m_ife.c\n@@ -189,6 +189,8 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p,\n \t\taddattr_l(n, MAX_MSG, TCA_IFE_DMAC, dbuf, ETH_ALEN);\n \tif (user_type)\n \t\taddattr_l(n, MAX_MSG, TCA_IFE_TYPE, &ife_type, 2);\n+\telse\n+\t\tfprintf(stderr, \"IFE type 0x%04X\\n\", ETH_P_IFE);\n \tif (saddr)\n \t\taddattr_l(n, MAX_MSG, TCA_IFE_SMAC, sbuf, ETH_ALEN);\n \n","prefixes":["iproute2","3/4"]}