From: Yoann Juet <veilletechno-irts@univ-nantes.fr>
To: John Fastabend <john.fastabend@gmail.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Yoann Juet <yoann.juet@univ-nantes.fr>
Subject: Re: ixgbe: SR-IOV, macvlan filter on VFs
Date: Thu, 14 Aug 2014 17:27:28 +0200 [thread overview]
Message-ID: <53ECD560.4000700@univ-nantes.fr> (raw)
In-Reply-To: <53ECCC01.4050400@gmail.com>
> 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,
next prev parent reply other threads:[~2014-08-14 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 12:04 ixgbe: SR-IOV, macvlan filter on VFs Yoann Juet
2014-08-14 14:47 ` John Fastabend
2014-08-14 15:27 ` Yoann Juet [this message]
2014-08-14 15:39 ` John Fastabend
2014-08-14 15:56 ` Yoann Juet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53ECD560.4000700@univ-nantes.fr \
--to=veilletechno-irts@univ-nantes.fr \
--cc=john.fastabend@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=yoann.juet@univ-nantes.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).