On Thu, 17 Dec 2015, Hal Rosenstock wrote: > > - ret = sysfs_create_group(&p->kobj, &pma_group); > > + ret = sysfs_create_group(&p->kobj, > > + port_check_extended_counters(device) ? > > + &pma_group_ext : > > Would be nice to populate 2 different groups based on whether PMA > supports full extended counters or extended counters without the IETF > ones (no [uni mcast] [rcv xmit] pkt counters) in sysfs.
So port_check_extended_counters need to return another value for this. The IETF ones are the uni/mcast xxx counters? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html