[{"id":1799005,"web_url":"http://patchwork.ozlabs.org/comment/1799005/","msgid":"<20171104.091601.318452211446664943.davem@davemloft.net>","list_archive_url":null,"date":"2017-11-04T00:16:01","subject":"Re: [patch net-next 00/16] mlxsw: Handle changes in GRE\n\tconfiguration","submitter":{"id":15,"url":"http://patchwork.ozlabs.org/api/people/15/","name":"David Miller","email":"davem@davemloft.net"},"content":"From: Jiri Pirko <jiri@resnulli.us>\nDate: Fri,  3 Nov 2017 10:03:28 +0100\n\n> From: Jiri Pirko <jiri@mellanox.com>\n> \n> Petr says:\n> \n> Until now, when an IP tunnel was offloaded by the mlxsw driver, the\n> offload was pretty much static, and changes in Linux configuration were\n> not reflected in the hardware. That led to discrepancies between traffic\n> flows in slow path and fast path. The work-around used to be to remove\n> all routes that forward to the netdevice and re-add them. This is\n> clearly suboptimal, but actually, as of the decap-only patchset, it's\n> not even enough anymore, and one needs to go all the way and simply drop\n> the tunnel and recreate it correctly.\n> \n> With this patchset, the NETDEV_CHANGE events that are generated for\n> changes of up'd tunnel netdevices are captured and interpreted to\n> correctly reconfigure the HW in accordance with changes requested at the\n> software layer. In addition, NETDEV_CHANGEUPPER, NETDEV_UP and\n> NETDEV_DOWN are now handled not only for tunnel devices themselves, but\n> also for their bound devices.\n ...\n\nSeries applied, thanks Jiri.","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>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yTK9h5zCJz9t1t\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat,  4 Nov 2017 11:16:08 +1100 (AEDT)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755802AbdKDAQG (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 3 Nov 2017 20:16:06 -0400","from shards.monkeyblade.net ([184.105.139.130]:51666 \"EHLO\n\tshards.monkeyblade.net\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1754036AbdKDAQF (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 3 Nov 2017 20:16:05 -0400","from localhost (unknown [61.40.109.130])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\t(Authenticated sender: davem-davemloft)\n\tby shards.monkeyblade.net (Postfix) with ESMTPSA id 8E5361046685A;\n\tFri,  3 Nov 2017 17:16:03 -0700 (PDT)"],"Date":"Sat, 04 Nov 2017 09:16:01 +0900 (KST)","Message-Id":"<20171104.091601.318452211446664943.davem@davemloft.net>","To":"jiri@resnulli.us","Cc":"netdev@vger.kernel.org, petrm@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com","Subject":"Re: [patch net-next 00/16] mlxsw: Handle changes in GRE\n\tconfiguration","From":"David Miller <davem@davemloft.net>","In-Reply-To":"<20171103090344.19444-1-jiri@resnulli.us>","References":"<20171103090344.19444-1-jiri@resnulli.us>","X-Mailer":"Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO)","Mime-Version":"1.0","Content-Type":"Text/Plain; charset=us-ascii","Content-Transfer-Encoding":"7bit","X-Greylist":"Sender succeeded SMTP AUTH, not delayed by\n\tmilter-greylist-4.5.12 (shards.monkeyblade.net\n\t[149.20.54.216]); Fri, 03 Nov 2017 17:16:05 -0700 (PDT)","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"}}]