Unfortunately, Mellanox can't do any of those things right now. VMS seems to be no more than a bunch of independent switches in a fat tree topology, without any stacking or "chassis virtualization".
For L2 onto L3 encapsulation, you will need another (pair of) devices to perform those functions, as a couple of routers performing VPLS over GRE tunnels.
Best regards.