summaryrefslogtreecommitdiff
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-11-03 15:40:42 +0900
committerDavid S. Miller <davem@davemloft.net>2017-11-03 15:40:42 +0900
commit6437b112f70612212c20359a708af106a564d17c (patch)
tree83492098d0c91c46eb68b578c6318efcbd23241d /include/net/netevent.h
parenta882d20cdb7775ff8b4aac880255eff6a2c1c85e (diff)
parent28678f07f127d151354ff12b0d05557ae897e972 (diff)
Merge branch 'mlxsw-Align-multipath-hash-parameters-with-kernels'
Jiri Pirko says: ==================== mlxsw: Align multipath hash parameters with kernel's Ido says: This set makes sure the device is using the same parameters as the kernel when it computes the multipath hash during IP forwarding. First patch adds a new netevent to let interested listeners know that the multipath hash policy has changed. Next two patches do small and non-functional changes in the mlxsw driver. Last patches configure the multipath hash policy upon driver initialization and as a response to netevents. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netevent.h')
-rw-r--r--include/net/netevent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h
index f440df172b560..e3f0e8f2f6e8f 100644
--- a/include/net/netevent.h
+++ b/include/net/netevent.h
@@ -25,6 +25,7 @@ enum netevent_notif_type {
NETEVENT_NEIGH_UPDATE = 1, /* arg is struct neighbour ptr */
NETEVENT_REDIRECT, /* arg is struct netevent_redirect ptr */
NETEVENT_DELAY_PROBE_TIME_UPDATE, /* arg is struct neigh_parms ptr */
+ NETEVENT_MULTIPATH_HASH_UPDATE, /* arg is struct net ptr */
};
int register_netevent_notifier(struct notifier_block *nb);