diff options
author | Suman Ghosh <sumang@marvell.com> | 2022-06-12 20:45:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-13 15:42:24 +0300 |
commit | 619c010a65391d06bc96e79fa0e7725790e5d1a9 (patch) | |
tree | 041fbe4238069aca58331bd015c12e6c2821b5a1 | |
parent | 5f7b84151a89f6f3a8d1db4db2bc4f5b270d66ee (diff) | |
download | linux-619c010a65391d06bc96e79fa0e7725790e5d1a9.tar.xz |
octeontx2-vf: Add support for adaptive interrupt coalescing
Fixes: 6e144b47f560 (octeontx2-pf: Add support for adaptive interrupt coalescing)
Added support for VF interfaces as well.
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c index bc614a4def9e..3f60a80e34c8 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c @@ -1390,7 +1390,8 @@ static int otx2vf_get_link_ksettings(struct net_device *netdev, static const struct ethtool_ops otx2vf_ethtool_ops = { .supported_coalesce_params = ETHTOOL_COALESCE_USECS | - ETHTOOL_COALESCE_MAX_FRAMES, + ETHTOOL_COALESCE_MAX_FRAMES | + ETHTOOL_COALESCE_USE_ADAPTIVE, .supported_ring_params = ETHTOOL_RING_USE_RX_BUF_LEN | ETHTOOL_RING_USE_CQE_SIZE, .get_link = otx2_get_link, |