dev: replace pollevent in ethertap
Review Request #2909 - Created June 23, 2015 and discarded - Latest diff uploaded
| Information | |
|---|---|
| Mohammad Alian | |
| gem5 | |
| default | |
| 2914, 2910 | |
| Reviewers | |
| Default | |
changesets:10875:7365362b1198
dev: replace pollevent in ethertapThis patch removes PollEvent from ethertap for receiving incoming Ethernet
packets from real world. Instead of PollEvent, it make ethertap socket
non-blocking and checks for incoming packets every "poll_rate" ticks.The problem with pollevent is that it does not capture incoming packets
immediately and causes late packet reception when we use ethertap in pd-gem5
