[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140412.020113.53160144126143189.davem@davemloft.net>
Date: Sat, 12 Apr 2014 02:01:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: marc.zyngier@....com
Cc: linux-sunxi@...glegroups.com, netdev@...r.kernel.org, sr@...x.de,
maxime.ripard@...e-electrons.com
Subject: Re: [PATCH] net: sun4i-emac: add promiscuous support
From: Marc Zyngier <marc.zyngier@....com>
Date: Fri, 11 Apr 2014 10:46:17 +0100
> The sun4i-emac driver is rather primitive, and doesn't support
> promiscuous mode. This makes usage such as bridging impossible,
> which is a shame on virtualization capable HW such as the
> Allwinner A20.
>
> The fix is fairly simple: move the RX setup code to the ndo_set_rx_mode
> vector, and add the required HW configuration when IFF_PROMISC is passed
> by the core code.
>
> This has been tested on a generic A20 box running a few virtual
> machines hanging off a bridge with the EMAC chip as the link to the
> outside world.
>
> Cc: Stefan Roese <sr@...x.de>
> Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>
> Signed-off-by: Marc Zyngier <marc.zyngier@....com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists