~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to modules/freebsd/vmxnet/vmxnet2_def.h

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2008-08-15 21:21:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080815212140-05fhxj8wroosysmj
Tags: 2008.08.08-109361-1ubuntu1
* Merge from Debian unstable (LP: #258393), remaining Ubuntu change:
  - add ubuntu_toolchain_FTBFS.dpatch patch, fix FTBFS
* Update ubuntu_toolchain_FTBFS.dpatch patch for the new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#define VMXNET2_MAX_NUM_RX_BUFFERS              128
41
41
#define VMXNET2_DEFAULT_NUM_RX_BUFFERS          100
42
42
 
 
43
 
 
44
/* size of the rx ring when enhanced vmxnet is used */
 
45
#define ENHANCED_VMXNET2_MAX_NUM_RX_BUFFERS     512 
 
46
#define ENHANCED_VMXNET2_DEFAULT_NUM_RX_BUFFERS 150 
 
47
 
43
48
/* size of the 2nd rx ring */
44
 
#define VMXNET2_MAX_NUM_RX_BUFFERS2             512
 
49
#define VMXNET2_MAX_NUM_RX_BUFFERS2             2048 
45
50
#define VMXNET2_DEFAULT_NUM_RX_BUFFERS2         512
46
51
 
47
52
/* size of the tx ring */
108
113
#define VMXNET2_RX_WITH_FRAG   0x02
109
114
#define VMXNET2_RX_FRAG_EOP    0x04
110
115
 
111
 
#ifdef BPF_SUPPORT_ENABLED
112
 
#define VMXNET2_RX_BPF_TRAILER 0x08
113
 
#endif /* BPF_SUPPORT_ENABLED */
114
 
 
115
116
typedef struct Vmxnet2_TxRingEntry {
116
117
   uint16               flags;          /* Flags as defined below. */
117
118
   uint16               ownership;      /* Who owns this packet. */