[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53ECD560.4000700@univ-nantes.fr>
Date:	Thu, 14 Aug 2014 17:27:28 +0200
From:	Yoann Juet <veilletechno-irts@...v-nantes.fr>
To:	John Fastabend <john.fastabend@...il.com>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	Yoann Juet <yoann.juet@...v-nantes.fr>
Subject: Re: ixgbe: SR-IOV, macvlan filter on VFs
> hmm this should work I think.
>
> Did you set the VF mac address at some point with,
>
>      ip link set dev DEVICE vf NUM mac ADDR
>
> If not this how did you setup the virtual functions? Manually via
> sriov_numvfs? Or via libvirt or other library.
I'm using libvirt with interface type 'network' or 'hostdev'. The mac 
address is optional within this configuration block. But, If omitted, 
it's automatically generated. Even if I could set the mac address via 
the 'ip link' command (not very practical with libvirt but possible), 
Keepalived still needs two mac addresses per VF. From the guest perspective:
	- ethX: @mac1, @ip1
	- macvlanX<->ethX: @mac2 (vmac), @ip2 (vip)
Correct me if I'm wrong, the command 'ip link set dev DEVICE vf NUM mac 
ADDR' can only set one mac per VF.
Thanks,
Regards,
--
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
 
