]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: add support for get_coalesce, set_coalesce ethtool operations
authorShrikrishna Khare <skhare@vmware.com>
Thu, 16 Jun 2016 17:51:57 +0000 (10:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jun 2016 05:37:04 +0000 (22:37 -0700)
commit835d3e4f9459ec7fa066c084396e663a93695689
tree5b2ebb62c8e7c7ec7fcf8ce514ed340d9365ef74
parent8cf77188bf1eef8ea00effb43a005e6e91133afd
vmxnet3: add support for get_coalesce, set_coalesce ethtool operations

The emulation supports a variety of coalescing modes viz. disabled
(no coalescing), adaptive, static (number of packets to batch before
raising an interrupt), rate based (number of interrupts per second).

This patch implements get_coalesce and set_coalesce methods to allow
querying and configuring different coalescing modes.

Signed-off-by: Keyong Sun <sunk@vmware.com>
Signed-off-by: Manoj Tammali <tammalim@vmware.com>
Signed-off-by: Shrikrishna Khare <skhare@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_ethtool.c
drivers/net/vmxnet3/vmxnet3_int.h