From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pravin Shelar Subject: Re: [PATCH net-next v12 3/9] openvswitch: pass mac_proto to ovs_vport_send Date: Tue, 18 Oct 2016 22:11:38 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Linux Kernel Network Developers , ovs dev , Lorand Jakab , Simon Horman To: Jiri Benc Return-path: Received: from relay5-d.mail.gandi.net ([217.70.183.197]:33134 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756785AbcJSFLn (ORCPT ); Wed, 19 Oct 2016 01:11:43 -0400 Received: from mfilter1-d.gandi.net (mfilter1-d.gandi.net [217.70.178.130]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id A9EA341C091 for ; Wed, 19 Oct 2016 07:11:41 +0200 (CEST) Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter1-d.gandi.net (mfilter1-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 9_Y84XhLnyp2 for ; Wed, 19 Oct 2016 07:11:40 +0200 (CEST) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) (Authenticated sender: pshelar@ovn.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 05D4B41C08B for ; Wed, 19 Oct 2016 07:11:39 +0200 (CEST) Received: by mail-it0-f51.google.com with SMTP id 4so102345484itv.0 for ; Tue, 18 Oct 2016 22:11:39 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Oct 17, 2016 at 6:02 AM, Jiri Benc wrote: > We'll need it to alter packets sent to ARPHRD_NONE interfaces. > > Change do_output() to use the actual L2 header size of the packet when > deciding on the minimum cutlen. The assumption here is that what matters is > not the output interface hard_header_len but rather the L2 header of the > particular packet. For example, ARPHRD_NONE tunnels that encapsulate > Ethernet should get at least the Ethernet header. > > Signed-off-by: Jiri Benc Acked-by: Pravin B Shelar