summaryrefslogtreecommitdiffstats
path: root/include/linux/if_team.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2012-07-27 06:28:54 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-03 20:40:12 -0700
commita86fc6b7d603992070c04bd7a8c217d55688b077 (patch)
treea8b26b7ec12de9d59f3a0ffcd8d2ecccd1ab9d2e /include/linux/if_team.h
parent69821638b27407d8648cb04de01b06b30a291bde (diff)
downloadop-kernel-dev-a86fc6b7d603992070c04bd7a8c217d55688b077.zip
op-kernel-dev-a86fc6b7d603992070c04bd7a8c217d55688b077.tar.gz
team: add per port priority option
Allow userspace to set port priority. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_team.h')
-rw-r--r--include/linux/if_team.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index e5571c4..06495b3 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -67,6 +67,7 @@ struct team_port {
struct netpoll *np;
#endif
+ s32 priority; /* lower number ~ higher priority */
long mode_priv[0];
};
OpenPOWER on IntegriCloud