All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next PATCH] octeontx2-vf: Add support for adaptive interrupt coalescing
@ 2022-05-23 11:54 Suman Ghosh
  2022-05-24  9:47 ` Paolo Abeni
  0 siblings, 1 reply; 2+ messages in thread
From: Suman Ghosh @ 2022-05-23 11:54 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, sgoutham, sbhatta, gakula,
	Sunil.Goutham, hkelam, colin.king, netdev
  Cc: Suman Ghosh

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

Signed-off-by: Suman Ghosh <sumang@marvell.com>
---
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [net-next PATCH] octeontx2-vf: Add support for adaptive interrupt coalescing
  2022-05-23 11:54 [net-next PATCH] octeontx2-vf: Add support for adaptive interrupt coalescing Suman Ghosh
@ 2022-05-24  9:47 ` Paolo Abeni
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Abeni @ 2022-05-24  9:47 UTC (permalink / raw)
  To: Suman Ghosh, davem, edumazet, kuba, sgoutham, sbhatta, gakula,
	Sunil.Goutham, hkelam, colin.king, netdev

Hello,

On Mon, 2022-05-23 at 17:24 +0530, Suman Ghosh wrote:
> Add ethtool supported_feature flag to support adaptive interrupt
> coalescing for vf(s).
> 
> Signed-off-by: Suman Ghosh <sumang@marvell.com>

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

Thanks,

Paolo


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-24  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23 11:54 [net-next PATCH] octeontx2-vf: Add support for adaptive interrupt coalescing Suman Ghosh
2022-05-24  9:47 ` Paolo Abeni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.