summaryrefslogtreecommitdiff
path: root/include/uapi/linux/neighbour.h
diff options
context:
space:
mode:
authorYuwei Wang <wangyuweihx@gmail.com>2022-06-29 08:48:32 +0000
committerPaolo Abeni <pabeni@redhat.com>2022-06-30 13:14:35 +0200
commit211da42eaa45db7b0edfde187dd88a85fbd466b5 (patch)
treec6ee46505746d9109d1e4aaff25c15a00b34da27 /include/uapi/linux/neighbour.h
parentc381d02b2fd5f82d2207db1b9b25ff60d0d9c27c (diff)
net, neigh: introduce interval_probe_time_ms for periodic probe
commit ed6cd6a17896 ("net, neigh: Set lower cap for neigh_managed_work rearming") fixed a case when DELAY_PROBE_TIME is configured to 0, the processing of the system work queue hog CPU to 100%, and further more we should introduce a new option used by periodic probe Signed-off-by: Yuwei Wang <wangyuweihx@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi/linux/neighbour.h')
-rw-r--r--include/uapi/linux/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h
index 39c565e460c7..a998bf761635 100644
--- a/include/uapi/linux/neighbour.h
+++ b/include/uapi/linux/neighbour.h
@@ -154,6 +154,7 @@ enum {
NDTPA_QUEUE_LENBYTES, /* u32 */
NDTPA_MCAST_REPROBES, /* u32 */
NDTPA_PAD,
+ NDTPA_INTERVAL_PROBE_TIME_MS, /* u64, msecs */
__NDTPA_MAX
};
#define NDTPA_MAX (__NDTPA_MAX - 1)