rapidio: move net allocation into core code