@@ -947,12 +947,25 @@ Kernel response contents:
947947 ``ETHTOOL_A_COALESCE_TX_USECS_HIGH `` u32 delay (us), high Tx
948948 ``ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH `` u32 max packets, high Tx
949949 ``ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL `` u32 rate sampling interval
950+ ``ETHTOOL_A_COALESCE_USE_CQE_TX `` bool timer reset mode, Tx
951+ ``ETHTOOL_A_COALESCE_USE_CQE_RX `` bool timer reset mode, Rx
950952 =========================================== ====== =======================
951953
952954Attributes are only included in reply if their value is not zero or the
953955corresponding bit in ``ethtool_ops::supported_coalesce_params `` is set (i.e.
954956they are declared as supported by driver).
955957
958+ Timer reset mode (``ETHTOOL_A_COALESCE_USE_CQE_TX `` and
959+ ``ETHTOOL_A_COALESCE_USE_CQE_RX ``) controls the interaction between packet
960+ arrival and the various time based delay parameters. By default timers are
961+ expected to limit the max delay between any packet arrival/departure and a
962+ corresponding interrupt. In this mode timer should be started by packet
963+ arrival (sometimes delivery of previous interrupt) and reset when interrupt
964+ is delivered.
965+ Setting the appropriate attribute to 1 will enable ``CQE `` mode, where
966+ each packet event resets the timer. In this mode timer is used to force
967+ the interrupt if queue goes idle, while busy queues depend on the packet
968+ limit to trigger interrupts.
956969
957970COALESCE_SET
958971============
@@ -985,6 +998,8 @@ Request contents:
985998 ``ETHTOOL_A_COALESCE_TX_USECS_HIGH `` u32 delay (us), high Tx
986999 ``ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH `` u32 max packets, high Tx
9871000 ``ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL `` u32 rate sampling interval
1001+ ``ETHTOOL_A_COALESCE_USE_CQE_TX `` bool timer reset mode, Tx
1002+ ``ETHTOOL_A_COALESCE_USE_CQE_RX `` bool timer reset mode, Rx
9881003 =========================================== ====== =======================
9891004
9901005Request is rejected if it attributes declared as unsupported by driver (i.e.
0 commit comments