Revision 3e948fd3 hw/vmxnet3.c
b/hw/vmxnet3.c | ||
---|---|---|
1033 | 1033 |
is_head = false; |
1034 | 1034 |
ready_rxcd_pa = new_rxcd_pa; |
1035 | 1035 |
new_rxcd_pa = 0; |
1036 |
num_frags++; |
|
1036 | 1037 |
} |
1037 | 1038 |
|
1038 | 1039 |
if (0 != ready_rxcd_pa) { |
... | ... | |
1324 | 1325 |
s->max_rx_frags = |
1325 | 1326 |
VMXNET3_READ_DRV_SHARED16(s->drv_shmem, devRead.misc.maxNumRxSG); |
1326 | 1327 |
|
1328 |
if (s->max_rx_frags == 0) { |
|
1329 |
s->max_rx_frags = 1; |
|
1330 |
} |
|
1331 |
|
|
1327 | 1332 |
VMW_CFPRN("Max RX fragments is %u", s->max_rx_frags); |
1328 | 1333 |
|
1329 | 1334 |
s->event_int_idx = |
... | ... | |
1524 | 1529 |
VMW_CFPRN("Device active: %" PRIx64, ret); |
1525 | 1530 |
break; |
1526 | 1531 |
|
1532 |
case VMXNET3_CMD_RESET_DEV: |
|
1533 |
case VMXNET3_CMD_QUIESCE_DEV: |
|
1534 |
case VMXNET3_CMD_GET_QUEUE_STATUS: |
|
1535 |
ret = 0; |
|
1536 |
break; |
|
1537 |
|
|
1527 | 1538 |
case VMXNET3_CMD_GET_LINK: |
1528 | 1539 |
ret = s->link_status_and_speed; |
1529 | 1540 |
VMW_CFPRN("Link and speed: %" PRIx64, ret); |
Also available in: Unified diff