Skip to contentSkip to conversation

octeontx2-vf: Add support for adaptive interrupt coalescing

PATCH In review Suman Ghosh 2 participants 2 messages May 23, 2022 – May 24, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 octeontx2-vf: Add support for adaptive interrupt coalescing

Add ethtool supported_feature flag to support adaptive interrupt coalescing for vf(s).

---
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +2 -1
index bc614a4def9e..3f60a80e34c8 100644
@@ -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,
Signature · 1 line
2.25.1
maintainer
#1 lore raw

Hello,

Quoted 4 lines · Suman Ghosh

Add ethtool supported_feature flag to support adaptive interrupt coalescing for vf(s).

I'm sorry, but net-next is now closed. You have to wait untill it reopens and the re-post.

Thanks,

Paolo