[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 6/7 V6] Packet abstraction used by VMWARE networ
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH 6/7 V6] Packet abstraction used by VMWARE network devices |
Date: |
Wed, 18 Apr 2012 08:41:20 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Apr 17, 2012 at 03:32:40PM +0300, Dmitry Fleytman wrote:
> +/*=============================================================================
> +
> *=============================================================================
> + *
> + * TX INTERFACE
> + *
> +
> *=============================================================================
> +
> *===========================================================================*/
> +
> +/* tx module context handle */
> +typedef void *VmxnetTxPktH;
This gets you zero type safety and makes debugging impossible.
Just use pointers like everyone does.
--
MST
- [Qemu-devel] [PATCH 0/7 V6] VMXNET3 paravirtual NIC device implementation, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 1/7 V6] Adding missing flag VIRTIO_NET_HDR_F_DATA_VALID from Linux kernel source tree Reformatting comments according to checkpatch.pl requirements, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 2/7 V6] Adding utility function net_checksum_add_cont() that allows checksum calculation of scattered data with odd chunk sizes, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 4/7 V6] Header with various utility functions shared by VMWARE SCSI and network devices, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 3/7 V6] Adding utility function iov_net_csum_add() for iovec checksum calculation Adding utility function iov_rebuild() for smart iovec copy, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 5/7 V6] Various utility functions used by VMWARE network devices, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 6/7 V6] Packet abstraction used by VMWARE network devices, Dmitry Fleytman, 2012/04/17
- Re: [Qemu-devel] [PATCH 6/7 V6] Packet abstraction used by VMWARE network devices,
Michael S. Tsirkin <=
- [Qemu-devel] [PATCH 7/7 V6] VMXNET3 paravirtualized device implementation Device "vmxnet3" added., Dmitry Fleytman, 2012/04/17
- Re: [Qemu-devel] [PATCH 0/7 V6] VMXNET3 paravirtual NIC device implementation, Gerhard Wiesinger, 2012/04/18