On 08/23/2016 08:57 AM, Daniil Egranov wrote:

Are you using PCD variable or configuration protocol to set MAC address?



I used a PCD, exactly as you had written it. I put the PCD in my .dsc file.

Maybe I misunderstand why that's bad. It seems like the right kind of thing for a PCD. It's the same way the Seattle on-board 10Gbe ports work. From OverdriveBoard.dsc:
   
[PcdsDynamicDefault.common]
  gAmdStyxTokenSpaceGuid.PcdEthMacA|0x02A1A2A3A4A5
  gAmdStyxTokenSpaceGuid.PcdEthMacB|0x02B1B2B3B4B5

In what way is this different than the Marvell?

Alan.