| From: Suman Ghosh <sumang@marvell.com> |
| Date: Sun, 12 Jun 2022 23:15:36 +0530 |
| Subject: octeontx2-vf: Add support for adaptive interrupt coalescing |
| Patch-mainline: v5.19-rc3 |
| Git-commit: 619c010a65391d06bc96e79fa0e7725790e5d1a9 |
| References: jsc#SLE-24682 |
| |
| 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> |
| Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> |
| |
| drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| |
| |
| @@ -1361,7 +1361,8 @@ static int otx2vf_get_link_ksettings(str |
| |
| 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, |
| .get_link = otx2_get_link, |
| .get_drvinfo = otx2vf_get_drvinfo, |
| .get_strings = otx2vf_get_strings, |