diff options
author | Ganesh Goudar | 2017-06-05 15:04:20 +0200 |
---|---|---|
committer | David S. Miller | 2017-06-06 21:17:10 +0200 |
commit | 8ea4fae926afd81f4d7fd43444562afc8629f77c (patch) | |
tree | 7976079ba3dab5a9fc6be828e53a93006ba0790f /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | ppp: mppe: Use vsnprintf extension %phN (diff) | |
download | kernel-qcow2-linux-8ea4fae926afd81f4d7fd43444562afc8629f77c.tar.gz kernel-qcow2-linux-8ea4fae926afd81f4d7fd43444562afc8629f77c.tar.xz kernel-qcow2-linux-8ea4fae926afd81f4d7fd43444562afc8629f77c.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 1cf3e2f89fc1..b7a92ebab3cf 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -777,6 +777,7 @@ struct uld_msix_info { struct vf_info { unsigned char vf_mac_addr[ETH_ALEN]; + unsigned int tx_rate; bool pf_set_mac; }; |