|
@@ -1275,8 +1275,8 @@ static void gem_transmit(CadenceGEMState *s)
|
|
/* Send the packet somewhere */
|
|
/* Send the packet somewhere */
|
|
if (s->phy_loop || (s->regs[GEM_NWCTRL] &
|
|
if (s->phy_loop || (s->regs[GEM_NWCTRL] &
|
|
GEM_NWCTRL_LOCALLOOP)) {
|
|
GEM_NWCTRL_LOCALLOOP)) {
|
|
- gem_receive(qemu_get_queue(s->nic), s->tx_packet,
|
|
|
|
- total_bytes);
|
|
|
|
|
|
+ qemu_receive_packet(qemu_get_queue(s->nic), s->tx_packet,
|
|
|
|
+ total_bytes);
|
|
} else {
|
|
} else {
|
|
qemu_send_packet(qemu_get_queue(s->nic), s->tx_packet,
|
|
qemu_send_packet(qemu_get_queue(s->nic), s->tx_packet,
|
|
total_bytes);
|
|
total_bytes);
|