diff options
| author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2020-09-01 20:41:47 +0000 |
|---|---|---|
| committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2020-09-01 20:41:47 +0000 |
| commit | 35d8a463e8097cffb0e4942c0e3f3b5412ea7953 (patch) | |
| tree | ad5869c5d1db073e296c4c630d2d777a9a591abb /sys/dev/vmware | |
| parent | f7eec6b204f10f9f62f78dfe3e9e0ba42a3649fa (diff) | |
Notes
Diffstat (limited to 'sys/dev/vmware')
| -rw-r--r-- | sys/dev/vmware/vmxnet3/if_vmx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/vmware/vmxnet3/if_vmx.c b/sys/dev/vmware/vmxnet3/if_vmx.c index ee1d76388577..5d9872d01737 100644 --- a/sys/dev/vmware/vmxnet3/if_vmx.c +++ b/sys/dev/vmware/vmxnet3/if_vmx.c @@ -1744,13 +1744,6 @@ vmxnet3_isc_rxd_flush(void *vsc, uint16_t rxqid, uint8_t flid, qidx_t pidx) else r = VMXNET3_BAR0_RXH2(rxqid); - /* - * pidx is the index of the last descriptor with a buffer the device - * can use, and the device needs to be told which index is one past - * that. - */ - if (++pidx == rxr->vxrxr_ndesc) - pidx = 0; vmxnet3_write_bar0(sc, r, pidx); } |
