History

batman-adv: Add multicast-to-unicast support for multiple targets

With this patch multicast packets with a limited number of destinations (current default: 16) will be split and transmitted by the originator as individual unicast transmissions. Wifi broadcasts with their low bitrate are still a costly undertaking. In a mesh network this cost multiplies with the overall size of the mesh network. Therefore using multiple unicast transmissions instead of broadcast flooding is almost always less burdensome for the mesh network. The maximum amount of unicast packets can be configured via the newly introduced multicast_fanout parameter. If this limit is exceeded distribution will fall back to classic broadcast flooding. The multicast-to-unicast conversion is performed on the initial multicast sender node and counts on a final destination node, mesh-wide basis (and not next hop, neighbor node basis).

Linus Lüssing committed 7 years ago

Commit 32e72741 parent 099e6cc8 files · +252 −6Browse files

Showing the changes to include/uapi/linux (1 of 8 files). Show all

Unified · Split

include/uapi/linux/batman_adv.h+7−0
@@ -473,6 +473,13 @@ enum batadv_nl_attrs { · 472 unmodified lines
473473 */
474474 BATADV_ATTR_THROUGHPUT_OVERRIDE,
475475
476+ /**
477+ * @BATADV_ATTR_MULTICAST_FANOUT: defines the maximum number of packet
478+ * copies that may be generated for a multicast-to-unicast conversion.
479+ * Once this limit is exceeded distribution will fall back to broadcast.
480+ */
481+ BATADV_ATTR_MULTICAST_FANOUT,
482+
476483 /* add attributes above here, update the policy in netlink.c */
477484
478485 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t