Assigning custom MAC address

Is any one knows how to change Ethernet MAC at runtime? I’ve looked at displaymac.c example. Is IFS_HWA parameter for ifconfig function sets new MAC? There is minimum information about this parameter in docs.
Is this going to overwrite factory MAC (I assume factory MAC for modules and kits sits somewhere in external protected location of the FLASH)?