mem-garnet: Allow empty vnet list for garnet network links
authorSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Thu, 10 Sep 2020 06:33:51 +0000 (02:33 -0400)
committerSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Fri, 11 Sep 2020 02:00:13 +0000 (02:00 +0000)
commit28d41f213a83ce0ec2a65ff6227550662b022c8d
treec52ff5b78bde3f9fce2ad868611031195b92c659
parent94f7736489fdc1a5ecb7026fafee524c203fcfd4
mem-garnet: Allow empty vnet list for garnet network links

An empty supporting_vnet list is the default and implies that
all vnets are supported. This removes the assert which requires
the list to have a minimum list size of 1.

Change-Id: I6710ba06041164bbd597d98e75374a26a1aa5655
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34258
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet2.0/NetworkLink.cc