]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/bonding/bond_procfs.c
bonding: Allow userspace to set actors' system_priority in AD system
[karo-tx-linux.git] / drivers / net / bonding / bond_procfs.c
index b20b35acb47d3465063cdde30a1018321b344b56..11369299e7e582912d7ef03c575815efd207f5cc 100644 (file)
@@ -135,6 +135,8 @@ static void bond_info_show_master(struct seq_file *seq)
                                          bond->params.ad_select);
                seq_printf(seq, "Aggregator selection policy (ad_select): %s\n",
                           optval->string);
+               seq_printf(seq, "System priority: %d\n",
+                          BOND_AD_INFO(bond).system.sys_priority);
 
                if (__bond_3ad_get_active_agg_info(bond, &ad_info)) {
                        seq_printf(seq, "bond %s has no active aggregator\n",