Feature #315
closed
Feature #313: meta: Add debugfs tables to netlink
Make data from debugfs mcast_flags dumpable via netlink
Added by Sven Eckelmann almost 8 years ago.
Updated over 6 years ago.
Description
Debugfs cannot be used in a non-default netns. Also the current implementation of debugfs files requires large blocks of memory to copy the data to userspace.
Instead all data from mcast_flags should be made dumpable via netlink.
This ticket is assigned to the author of the original code. But everyone can implement the required code
- Blocks Feature #318: Query mcast_flags table data via netlink added
- Blocked by Feature #320: Disable CONFIG_BATMAN_ADV_DEBUGFS by default added
- Blocked by deleted (Feature #320: Disable CONFIG_BATMAN_ADV_DEBUGFS by default)
- Blocks Feature #320: Disable CONFIG_BATMAN_ADV_DEBUGFS by default added
- Estimated time set to 8.00 h
Maybe someone has some feedback here:
<T_X> for the multicsat flags I'm currently trying to figure out how to best offer the extra values for the header
<T_X> so far, on the batman-adv side I have added a BATADV_CMD_GET_MCAST_FLAGS. which will dump the extra info first before dumping the table values
<T_X> not sure whether that would currently fit for the framework in batctl though
<T_X> or whether I should provide the mcast flags header information via an extra command, for instance. and do it similar to netlink_print_gateways() in batctl
<T_X> similar to how this function determines BATMAN_IV vs. BATMAN_V
<T_X> hm, or it seems I might be able to fetch extra info via info_callback() in batctl. like the TTVN for transtable_local
- Status changed from New to In Progress
- Status changed from In Progress to Resolved
- Target version set to 2018.1
- Status changed from Resolved to Closed
Also available in: Atom
PDF