[dpdk-dev] [PATCH v2] kni: Add set_rx_mode callback to handle multicast groups

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jun 16 17:31:54 CEST 2015


> > We did some (very basic) tests with IGMP, which involves adding multicast
> > addresses to ETH interfaces. This is done via the ip tool, an example can be found
> > on e.g.,
> > 
> > http://superuser.com/questions/324824/linux-built-in-or-open-source-program-
> > to-join-multicast-group
> > 
> > and this will fail on KNI interfaces because of an unimplemented ioctl
> > SIOCADDMULTI. The patch simply adds an empty callback for set_rx_mode
> > (typically used for setting up hardware) so that the ioctl succeeds.
> > This is the same thing as the Linux tap interface does.
> > 
> > Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
> > Signed-off-by: Johan Faltstrom <johan.faltstrom at netinsight.net>
> Acked-by: Helin Zhang <helin.zhang at intel.com>

Applied, thanks



More information about the dev mailing list