A cross-stack, network-centric architectural design for next-generation datacenters