<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/16/2015 01:17 PM, Laine Stump
      wrote:<br>
    </div>
    <blockquote cite="mid:5671AAB0.8070407@laine.org" type="cite">On
      12/16/2015 12:35 PM, Vlad Yasevich wrote:
      <br>
      <blockquote type="cite">
        <br>
        <blockquote type="cite">(BTW, Cisco's enic driver, on the other
          hand, doesn't support setting VF MAC addresses via
          <br>
          a netlink message to the PF *at all* (so libvirt has to make
          special accommodations), but
          <br>
        </blockquote>
        Looking at upstream, it looks like it offers support for setting
        VF mac via VFINFO data in
        <br>
        the netlink message.  May be it got fixed?
        <br>
        <br>
      </blockquote>
      <br>
      Interesting. If I had one of those systems of my own to test on,
      I'd give it a try. The only one I have access to is running a
      2.6.32 RHEL6 kernel though :-/
      <br>
    </blockquote>
    <br>
    It also occurred to me during my copious "time to think" over the
    holidays that device assignment using <interface
    type='hostdev'> wouldn't work for enic cards if that wasn't
    supported, and I recently saw a bug filed where someone was doing
    exactly that on a 3.10 kernel (RHEL7.x), so yeah it must have been
    fixed between 2.6 and 3.10).<br>
    <br>
    To pick up this discussion again: Moshe - am I correct to assume
    that you've filed a bug somewhere about the mlx driver not accepting
    00:00:00:00:00:00?<br>
    <br>
    In the meantime, if setting the MAC address to, e.g.,
    00:00:00:00:00:01 works for you (as implied when you said you use "<tt><big><big><big><big><big><span
                  style="font-size: 12pt;"></span></big></big></big></big></big></tt>ip
    link set dev p4p2 vf 0 mac 0") then you could temporarily work
    around the problem by setting all the VFs to something like that at
    boot time - libvirt would then succeed at setting them *back* to
    those addresses when it was finished with each device.<br>
    <br>
  </body>
</html>