]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 21:30:07 +0000 (13:30 -0800)
commit5c5c399134bfecee1ee2f25dc7f72a68df4984a2
tree14a71a8c91084ef0269295e0c483cf341b7c3bfa
parent73f66a6f7a19882e3054da315da0103797eeeae3
vmxnet3: add support for get_coalesce, set_coalesce ethtool operations

Orabug: 25639933

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>
(cherry picked from commit 4edef40ef5f8d09a0b1ded4d1d9b0e988cd98e97)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_ethtool.c
drivers/net/vmxnet3/vmxnet3_int.h