From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Zulyb-00067K-Fr for mharc-grub-devel@gnu.org; Fri, 06 Nov 2015 13:43:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZulyZ-00066x-DG for grub-devel@gnu.org; Fri, 06 Nov 2015 13:43:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZulyU-0000vK-5z for grub-devel@gnu.org; Fri, 06 Nov 2015 13:43:03 -0500 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:32971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZulyT-0000ty-V7 for grub-devel@gnu.org; Fri, 06 Nov 2015 13:42:58 -0500 Received: by lbbkw15 with SMTP id kw15so57964276lbb.0 for ; Fri, 06 Nov 2015 10:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=DPIG0vw7o0ubyDT1tSzyK2U+xyL3BUk6r7etXAGC6DM=; b=KUAF0Pe9G1vv+mdIt6oMxja180XcI6E+HLQmT0pqJy6AYB74sAf9LYNsnR95rK42c5 KFDkKBF4xbwUvkCBVcB4z8kHZ5M8HwiWliVakDVeHmHfoOPB1xpUOE9GKjJosU6xqw77 5WACyFuPlWHO3dcJRV8LNKp+O+ZNDZDAlEpCm18bX0bHuDaSWzhKTxhOU22mE03Go+qk Qg7VzPUV5qtrjhFSb4nQQTDXPOxEciUKQsWLhBA752uwY8wA96jDj+p9V62IzkheOhVH pwcoWHR1b+LyQXS+6SUtjakwjrRgfMrPfkSswn83HVWLr2lOaCm0d8GCB6J4wocfSeX0 e5tA== X-Received: by 10.112.159.2 with SMTP id wy2mr7866290lbb.102.1446835377089; Fri, 06 Nov 2015 10:42:57 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id um10sm240160lbc.15.2015.11.06.10.42.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Nov 2015 10:42:56 -0800 (PST) Subject: Re: [PATCH] efinet: add efinet_multicast_filter command To: grub-devel@gnu.org References: <1446751432-2184661-1-git-send-email-jbacik@fb.com> <563BC763.1080002@fb.com> From: Andrei Borzenkov Message-ID: <563CF4AF.2010508@gmail.com> Date: Fri, 6 Nov 2015 21:42:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 18:43:04 -0000 06.11.2015 02:47, Vladimir 'phcoder' Serbinenko пишет: > If we can't figure out which ones we need to filter out, then it's > unrealistic to expect our users to be able to configure. We need to go with > multicast filter per default and switch to promiscuous only when we > actually need it: when we override mac address. You can add function to go > to promiscuous mode to network interface structure I'm afraid if we cannot trust firmware the only solution is to simply use promiscuous mode. This is not as bad as it sounds, as with moder switches we won't get significantly more traffic anyway unless someone floods network with video broadcast, in which case grub is probably not the right place to fix it. Also firmware is free to implement filter using promiscuous mode, so it may well be what we end up doing anyway. And i386 did it all the time. I do not know how wide testing it received, but nobody complained about problems due to promiscuous.