octeontx2-vf: Add support for adaptive interrupt coalescing
PATCH 1/1 octeontx2-vf: Add support for adaptive interrupt coalescing
Add ethtool supported_feature flag to support adaptive interrupt coalescing for vf(s).
Signed-off-by Suman Ghosh <[email protected]>
--- 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
@@ -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
Paolo Abeni
maintainerHello,
Quoted 4 lines · Suman Ghosh
Add ethtool
supported_featureflag to support adaptive interrupt coalescing for vf(s).Signed-off-by Suman Ghosh <[email protected]>
I'm sorry, but net-next is now closed. You have to wait untill it reopens and the re-post.
Thanks,
Paolo