History log of /drivers/net/vmxnet3/vmxnet3_int.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c8f44affb7244f2ac3e703cab13d55ede27621bb 15-Nov-2011 Michał Mirosław <mirq-linux@rere.qmqm.pl> net: introduce and use netdev_features_t for device features sets

v2: add couple missing conversions in drivers
split unexporting netdev_fix_features()
implemented %pNF
convert sock::sk_route_(no?)caps

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
6a7ebdf2fd15417e87b4fd02ff411aeaca34da5f 14-Jul-2011 David S. Miller <davem@davemloft.net> Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

Conflicts:
net/bluetooth/l2cap_core.c
eebb02b1f03b3722d678bfcb560f3b26661ab0d2 07-Jul-2011 Shreyas Bhatewara <sbhatewara@vmware.com> vmxnet3: round down # of queues to power of two

vmxnet3 device supports only power-of-two number of queues. The driver
therefore needs to check this and rounds down the number of queues to the
nearest power of two.

Signed-off-by: Yong Wang <yongwang@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Reviewed-by: Dmitry Torokhov <dtor@vmware.com>
/drivers/net/vmxnet3/vmxnet3_int.h
e12fe68ce34d60c04bb1ddb1d3cc5c3022388fe4 06-Jul-2011 David S. Miller <davem@davemloft.net> Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
5318d809d7b4975ce5e5303e8508f89a5458c2b6 05-Jul-2011 Shreyas Bhatewara <sbhatewara@vmware.com> vmxnet3: fix starving rx ring whenoc_skb kb fails

If the rx ring is completely empty, then the device may never fire an rx
interrupt. Unfortunately, the rx interrupt is what triggers populating the
rx ring with fresh buffers, so this will cause networking to lock up.

This patch replenishes the skb in recv descriptor as soon as it is
peeled off while processing rx completions. If the skb/buffer
allocation fails, existing one is recycled and the packet in hand is
dropped. This way none of the RX desc is ever left empty, thus avoiding
starvation

Signed-off-by: Scott J. Goldman <scottjg@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
72e85c45b9541e1f3d233e775da1dc6f68b85867 23-Jun-2011 Jesse Gross <jesse@nicira.com> vmxnet3: Convert to new vlan model.

This converts the vmxnet3 driver to use the new vlan model. In doing so
it fixes missing tags in tcpdump and failure to do checksum offload when
tx vlan offload is disabled.

CC: Shreyas Bhatewara <sbhatewara@vmware.com>
CC: VMware PV-Drivers <pv-drivers@vmware.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Scott J. Goldman <scottjg@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
95305f6c3b4e8c0bdd5044604c418a8ad2defc4e 08-Jun-2011 stephen hemminger <shemminger@vyatta.com> vmxnet3: convert to 64 bit stats interface

Convert vmxnet3 driver to 64 bit statistics interface.
This driver was already counting packet per queue in a 64 bit value so not
a huge change. Eliminate unused old net_device_stats structure.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Scott J. Goldman <scottjg@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
e154b639bbe53dc91d1873cd37d162bb2fe87aab 10-May-2011 Shreyas Bhatewara <sbhatewara@vmware.com> vmxnet3: Use single tx queue when CONFIG_PCI_MSI not defined

Resending this patch with few changes.

Avoid multiple queues when MSI or MSI-X not available

Limit number of Tx queues to 1 if MSI/MSI-X support is not configured in
the kernel. This will make number of tx and rx queues equal when MSI/X
is not configured thus providing better performance.

Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
a0d2730c9571aeba793cb5d3009094ee1d8fda35 18-Apr-2011 Michał Mirosław <mirq-linux@rere.qmqm.pl> net: vmxnet3: convert to hw_features

This also removes private feature flags that were always set to true.

You may want to move vmxnet3_set_features() to vmxnet3_drv.c as a following
cleanup.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
7e96fbf2320782fb8f0970928026105cd34b41bd 14-Jan-2011 Shreyas Bhatewara <sbhatewara@vmware.com> vmxnet3: Dont allocate extra MSI-x vectors

In case of single tx and rx queues, three MSI-x vectors are allocated instead
of two. This patch fixes that.

Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
83d0feffc5695d7dc24c6b8dac9ab265533beb78 14-Jan-2011 Shreyas Bhatewara <sbhatewara@vmware.com> vmxnet3: Add locking for access to command register

Access to cmd register is racey, especially in smp environments. Protect
it using a spinlock.

Signed-off-by: Matthieu Bucchianeri <matthieu@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
09c5088e5c5993be217a2c85dca088147ffc9b72 19-Nov-2010 Shreyas Bhatewara <sbhatewara@vmware.com> net-next: Add multiqueue support to vmxnet3 driver

Add multiqueue support to vmxnet3 driver

This change adds multiqueue and thus receive side scaling support
to vmxnet3 device driver. Number of rx queues is limited to 1 in cases
where MSI is not configured or one MSIx vector is not available per rx
queue

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Reviewed-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
b8744cabb79a6522bb2e1c22c4edd8fb39fcfc7e 31-Oct-2010 Harvey Harrison <harvey.harrison@gmail.com> vmxnet3: remove unnecessary byteswapping in BAR writing macros

readl/writel swap to little-endian internally.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
81e8e5601fba4ea5bc3bfbed0fec074cf65feca5 21-Oct-2010 Harvey Harrison <harvey.harrison@gmail.com> vmxnet3: annotate hwaddr members as __iomem pointers

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
3843e5154cdcab15fa7405f175e9a1626030792d 21-Oct-2010 Harvey Harrison <harvey.harrison@gmail.com> vmxnet3: remove set_flag_le{16,64} helpers

It's easier to just annotate the constants as little endian types and set/clear
the flags directly.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
ae316bb57d25d73ae9c1ddc9c59fe56d733849bf 15-Oct-2010 stephen hemminger <shemminger@vyatta.com> vmxnet3: make bit twiddle routines inline

Gcc doesn't usually handle inline across compilation units, and the
functions don't have to be global in scope. Move the set/reset flag
functions int the existing vmxnet3 header.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
1f4b16128439b225c2986f06d015c848c290d7d9 24-Jul-2010 Bhavesh Davda <bhavesh@vmware.com> net-next: Fix an overflow bug in vmxnet3 Tx descriptor

Fix an overflow bug in vmxnet3 Tx descriptor

This patch fixes a bug where a 16K buffer on a Tx descriptor was overflowing
into the 'gen' bit in the descriptor thereby corrupting the descriptor and
stalling the transmit ring.

Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: Matthew Delco <delcoM@vmware.com>
Signed-off-by: Ronghua Zhang <ronghua@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
0bdc0d70c535d59c10add461b96340425f0aac7d 15-Jul-2010 Shreyas Bhatewara <sbhatewara@vmware.com> net-next: vmxnet3 fixes [5/5] Respect the interrupt type in VM configuration

Respect the interrupt type set in VM configuration.

When interrupt type is not auto, do not ignore the interrupt type set from
VM configuration.

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
115924b6bdc7cc6bf7da5b933b09281e1f4e17a9 16-Nov-2009 Shreyas Bhatewara <sbhatewara@vmware.com> net: Getting rid of the x86 dependency to built vmxnet3

This patch removes config dependency on x86 to build vmxnet3 driver. Thus
the driver can be built on big endian architectures now. Although vmxnet3
is not supported on VMs other than x86 architecture, all this code goes in
to ensure correctness. If the code is not dependent on x86, it should not
assume little endian architecture in any of its operations.

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
eb89bd4f80b9ae7e4d0add925cf66bfbebfee01f 29-Oct-2009 Shreyas Bhatewara <sbhatewara@vmware.com> vmxnet3: remove duplicate #include

Remove duplicate headerfile includes from vmxnet3_int.h

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
f6965582ac9b87d875aac8e23afdb03fe35ee33d 17-Oct-2009 Randy Dunlap <randy.dunlap@oracle.com> vmxnet3: use dev_dbg, fix build for CONFIG_BLOCK=n

vmxnet3 was using dprintk() for debugging output. This was
defined in <linux/dst.h> and was the only thing that was
used from that header file. This caused compile errors
when CONFIG_BLOCK was not enabled due to bio* and BIO*
uses in the header file, so change this driver to use
dev_dbg() for debugging output.

include/linux/dst.h:520: error: dereferencing pointer to incomplete type
include/linux/dst.h:520: error: 'BIO_POOL_BITS' undeclared (first use in this function)
include/linux/dst.h:521: error: dereferencing pointer to incomplete type
include/linux/dst.h:522: error: dereferencing pointer to incomplete type
include/linux/dst.h:525: error: dereferencing pointer to incomplete type
make[4]: *** [drivers/net/vmxnet3/vmxnet3_drv.o] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h
d1a890fa37f27d6aca3abc6e25e4148efc3223a6 13-Oct-2009 Shreyas Bhatewara <sbhatewara@vmware.com> net: VMware virtual Ethernet NIC driver: vmxnet3

Ethernet NIC driver for VMware's vmxnet3

From: Shreyas Bhatewara <sbhatewara@vmware.com>

This patch adds driver support for VMware's virtual Ethernet NIC: vmxnet3
Guests running on VMware hypervisors supporting vmxnet3 device will thus have
access to improved network functionalities and performance.

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Ronghua Zhang <ronghua@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/vmxnet3/vmxnet3_int.h