Received: by 10.223.164.202 with SMTP id h10csp539425wrb; Fri, 10 Nov 2017 10:23:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMbVpxYvsOrGKMvuKTdQQG8gCG1O7ijGSMML2bX1KCSttGigfYJFmrSPJ/JSvi4RiNWbTUNm X-Received: by 10.84.140.1 with SMTP id 1mr1228033pls.364.1510338220134; Fri, 10 Nov 2017 10:23:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510338220; cv=none; d=google.com; s=arc-20160816; b=To73tSaq2g1pxD6rKXGj20xk38iTAcVTjo25P9hbPU6IBFWIpkKP2cF6JobEjmUgHT 0z0GmCtQTDvwBrElnnOEZGVwhKcliFgLPV+N248ZyigFbCtTBIXZO7Sf8gILt6Lbb5WP kLYqYfm8HFgdwYkcw1ZFikpccCt+vgLL4A6as3U05eO8MqkKGqhLefBdk4CFH5now+83 VOW82qZEYtptUAJZRFVT5F1Jc9izjmv+vdVDd5U3OTei7A1M+YdIVdY65MHwkY15QbbE 97Nx17yhXHzrS7V25v3uc8NnnHUiT5kypg4oxFXWN6YWrbT2kwZfJEAwb4H2pL6cOgCl LNfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=uQlj3cYykY/oCx+na4w2kW7ewI5ZV/L0bCKYT6LRmOA=; b=Q/eQELOAws3knuFLePMU9Pk9me4cZ+P126nGJ8JyoK+64vOzlDXZmbSv6EbB8ht1EJ rYkR5v7f06Q3WCbrgL9yTccus6z6VSTHBgj+KACVYLtlmrMLUcyjI2qgj3W9g/r/udgn vgQawD4TB8hqUExW+TMDsZiOPWF6JcBHa5VJJCPD7rhSRW6brizuC7nXJ2p1pQq3XkOY 98NX92x+6qE7PqwwVpYYRlU2h2qMTfWGTz2T3RIEsjEajHkd+9SqcYlP13dIkHvUXtD5 i6s63DjVIiy/hIE/a2LC5CkzCVfc0dGkjPMcNZ6QDN1yJ4lxFNkLhBGzKIRIk2o8gZK3 jSuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c23si9690174plo.446.2017.11.10.10.23.27; Fri, 10 Nov 2017 10:23:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539AbdKJSWp (ORCPT + 82 others); Fri, 10 Nov 2017 13:22:45 -0500 Received: from aibo.runbox.com ([91.220.196.211]:48822 "EHLO aibo.runbox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753148AbdKJSWn (ORCPT ); Fri, 10 Nov 2017 13:22:43 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eDDwr-0005Ty-9v; Fri, 10 Nov 2017 19:22:37 +0100 Received: from 93.89.126.26.ip.vitnett.no ([93.89.126.26] helo=[192.168.202.41]) by mailfront11.runbox.com with esmtpsa (uid:646232 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1eDDwS-00035F-BP; Fri, 10 Nov 2017 19:22:12 +0100 Subject: Re: [PATCH net-next 0/2] net: dsa: lan9303: IGMP handling To: Andrew Lunn Cc: vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20171110115435.4261-1-privat@egil-hjelmeland.no> <20171110140719.GC11872@lunn.ch> From: Egil Hjelmeland Message-ID: <49a8be62-683e-aac6-b3f3-eef7295a49ca@egil-hjelmeland.no> Date: Fri, 10 Nov 2017 19:22:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171110140719.GC11872@lunn.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den 10. nov. 2017 15:07, skrev Andrew Lunn: >> skb->offload_fwd_mark calculation is a candidate for consolidation into the >> DSA core. The calculation can probably be more polished when done at a point >> where DSA has updated skb. > > Hi Egil > > Yes, at some point we should do this. But at the moment it is too > early. We don't have enough experience with what the different > switches need. I would like to see 4 or more devices doing it before > we consolidate the code into the core. > Absolutely. My point was rather I prefer not spend time polishing this snippet right now, because it will probably be refactored later anyway. One steppingstone could be to make reusable helper-functions in net/dsa/dsa_priv.h. But I leave that to device #2 that implement this ;-) > Andrew > Egil From 1583688338820068389@xxx Fri Nov 10 14:08:13 +0000 2017 X-GM-THRID: 1583680202120308127 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread