[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140530.165822.292594586292656620.davem@davemloft.net>
Date: Fri, 30 May 2014 16:58:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ogerlitz@...lanox.com
Cc: netdev@...r.kernel.org, amirv@...lanox.com,
jackm@....mellanox.co.il
Subject: Re: [PATCH net] net/mlx4_core: Reset RoCE VF gids when guest
driver goes down
From: Or Gerlitz <ogerlitz@...lanox.com>
Date: Tue, 27 May 2014 09:26:38 +0300
> From: Jack Morgenstein <jackm@....mellanox.co.il>
>
> Reset the GIDs assigned to a VF in the port RoCE GID table when
> that guest goes down (either crashes or goes down cleanly).
>
> As part of this fix, we refactor the RoCE gid table driver copy,
> moving it to the mlx4_port_info structure (together with the MAC
> and VLAN tables).
>
> As with the MAC and VLAN tables, we now use a mutex per port
> for the GID table so that modifying the driver copy and
> modifying the firmware copy of a port GID table becomes an
> atomic operation (thus avoiding driver-copy/FW-copy mismatches).
>
> Signed-off-by: Jack Morgenstein <jackm@....mellanox.co.il>
> Signed-off-by: Or Gerlitz <ogerlitz@...lanox.com>
Applied, thanks.
--
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