Skip to content

Commit 619c010

Browse files
sumang-mrvldavem330
authored andcommitted
octeontx2-vf: Add support for adaptive interrupt coalescing
Fixes: 6e144b4 (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>
1 parent 5f7b841 commit 619c010

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,8 @@ static int otx2vf_get_link_ksettings(struct net_device *netdev,
13901390

13911391
static const struct ethtool_ops otx2vf_ethtool_ops = {
13921392
.supported_coalesce_params = ETHTOOL_COALESCE_USECS |
1393-
ETHTOOL_COALESCE_MAX_FRAMES,
1393+
ETHTOOL_COALESCE_MAX_FRAMES |
1394+
ETHTOOL_COALESCE_USE_ADAPTIVE,
13941395
.supported_ring_params = ETHTOOL_RING_USE_RX_BUF_LEN |
13951396
ETHTOOL_RING_USE_CQE_SIZE,
13961397
.get_link = otx2_get_link,

0 commit comments

Comments
 (0)