Received: by 10.223.164.202 with SMTP id h10csp136382wrb; Fri, 10 Nov 2017 03:58:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMaR0eZBQp9tYwuFjKcQbro2d5s/PIjkjp19XlbAgIXXRUuTXTLBMzw6T8ocKL1a42Y5kBaX X-Received: by 10.159.195.9 with SMTP id bd9mr123808plb.110.1510315134160; Fri, 10 Nov 2017 03:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510315134; cv=none; d=google.com; s=arc-20160816; b=NeO0lLdXSjyqXqskJBwdK+lWdYZBYUe9tcraLusCSGZJsfLz+q05ioADq4JO+Qf4/q SEr0SOZwtHH9OjNfp3NKYDK0d7qB53E0EIh0vZMA5NFZryVTYA5kxhbFGoRZ1k7eZ0WN Q5SsB/f7WICFKoMc2oA9wj7BolYBhS+HRqOu3TUUoOTYhtglpfUx8LPyyDj6MaTXbBr2 UxtdimMZvw136z3gPu4OVTDn2QouSmNEy+9B5CMO2uoow4m5ce5EEsmsWRkJt04KAgYR rl0Mcix7m3o9uXPXjcCMltxKR8iOS1q4TjCr18XlPtOS/zemI9hw6jWmwvIdxIR2dpD7 pDCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=J+3pLict0N11yM1ydy0CLhUrIj7q5zaj455CAPfwHnU=; b=jgZBMTsGXHrVMOrbnxjJgLzQ8nbyKpdJmVbXfD3fpXKGFgXTMnUwpmCfvknDwAzQpN jOdDSuIIocZW99P8/JEEn7Ii5F/BMkRG/uhmMOBSsI0RTKiqoQpt+f7rtyeNyI/vV1so g1JtWjYA2pk+BeQHrQY+AUUqAzrwj3mgkOyvFfh9d0vqvjMMffkNokbieCIuqnbD6Oqt zg+lO8jrx8r8D9TPZVCTU5KQrRLwOUi3Vb0pwF7kMOZfa4/KtnvYHPrz4pIOHxWWKSgY vwHQz0m11FzTpQ+mEbw0tuXe4DCTEOPmHhDUHFpZ4XP7j2jXWLZVpqWdJil5syL5Lgbl 3dZA== 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 e7si8372114pgt.626.2017.11.10.03.58.42; Fri, 10 Nov 2017 03:58:54 -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 S1753117AbdKJL6F (ORCPT + 82 others); Fri, 10 Nov 2017 06:58:05 -0500 Received: from aibo.runbox.com ([91.220.196.211]:44744 "EHLO aibo.runbox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbdKJL6B (ORCPT ); Fri, 10 Nov 2017 06:58:01 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eD7wZ-0002IK-9R; Fri, 10 Nov 2017 12:57:55 +0100 Received: from 93.89.113.32.ip.vitnett.no ([93.89.113.32] helo=localhost.localdomain) by mailfront10.runbox.com with esmtpsa (uid:646232 ) (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eD7wI-0006Wo-Bd; Fri, 10 Nov 2017 12:57:38 +0100 From: Egil Hjelmeland To: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Egil Hjelmeland Subject: [PATCH net-next 0/2] net: dsa: lan9303: IGMP handling Date: Fri, 10 Nov 2017 12:54:33 +0100 Message-Id: <20171110115435.4261-1-privat@egil-hjelmeland.no> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Set up the HW switch to trap IGMP packets to CPU port. And make sure skb->offload_fwd_mark is cleared for incoming IGMP packets. 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. Egil Hjelmeland (2): net: dsa: lan9303: Set up trapping of IGMP to CPU port net: dsa: lan9303: Clear offload_fwd_mark for IGMP drivers/net/dsa/lan9303-core.c | 26 ++++++++++++++++++++++++++ net/dsa/tag_lan9303.c | 13 +++++++++++++ 2 files changed, 39 insertions(+) -- 2.11.0 From 1583708821472688901@xxx Fri Nov 10 19:33:47 +0000 2017 X-GM-THRID: 1583708821472688901 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread