Hi Nilay, Given the way this part of gem5 is implemented, I think it would be a mistake to rename it to be a "NIC", as it only provides part of such functionality. It essentially provides what EtherLink already does (simulating the packets on the wire), but it does it in a multi-gem5 context, meaning outgoing packets are actually leaving the gem5 instance rather than staying inside it, and incoming packets come from another gem5 instance by way of the tcp_server 'switch'.
Curtis -----Original Message----- From: gem5-dev [mailto:[email protected]] On Behalf Of Nilay Vaish Sent: Thursday, June 18, 2015 9:22 PM To: Default Subject: Re: [gem5-dev] Review Request 2826: multi-gem5: add support for multi gem5 runs On Thu, 18 Jun 2015, Curtis Dunham wrote: > > >> On June 18, 2015, 10:12 p.m., Nilay Vaish wrote: >>> Before I try to get a better understanding of the code, can you explain >>> what's >>> the purpose of multi_etherlink object? Can you provide an actual entity >>> this >>> object is trying to emulate? > > The multi_etherlink models a NIC at a high level - sending and receiving > packets. Each gem5 instance running in multi-gem5 will be using one to talk > to the other instances. > > Do you think it would be better to call it a NIC? -- Nilay _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
