]> git.ipfire.org Git - people/arne_f/kernel.git/commit
cxgb4: implement ndo_set_vf_rate()
authorGanesh Goudar <ganeshgr@chelsio.com>
Mon, 5 Jun 2017 13:04:20 +0000 (18:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 19:17:10 +0000 (15:17 -0400)
commit8ea4fae926afd81f4d7fd43444562afc8629f77c
tree7976079ba3dab5a9fc6be828e53a93006ba0790f
parent4f5a98410d29bf87f587b19f5ae4e244b1ed4e18
cxgb4: implement ndo_set_vf_rate()

Implement ndo_set_vf_rate() for mgmt interface to support rate-limiting
of VF traffic using 'ip' command.

Based on the original work of Kumar Sanghvi <kumaras@chelsio.com>

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c