Linux kernel fork with L2 switch code. Such IP block (from More Thank IP) can be found in i.MX287 or vf610.