Commit 954d1fa
macvlan: Add netlink attribute for broadcast cutoff
Make the broadcast cutoff configurable through netlink. Note
that macvlan is weird because there is no central device for
us to configure (the lowerdev could be anything). So all the
options are duplicated over what could be thousands of child
devices.
IFLA_MACVLAN_BC_QUEUE_LEN took the approach of taking the maximum
of all child device settings. This is unnecessary as we could
simply store the option in the port device and take the last
child device that gets updated as the value to use.
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent d45276e commit 954d1fa
3 files changed
+31
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
817 | 824 | | |
818 | 825 | | |
819 | 826 | | |
| |||
838 | 845 | | |
839 | 846 | | |
840 | 847 | | |
841 | | - | |
842 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
843 | 858 | | |
844 | 859 | | |
845 | 860 | | |
| |||
1254 | 1269 | | |
1255 | 1270 | | |
1256 | 1271 | | |
| 1272 | + | |
1257 | 1273 | | |
1258 | 1274 | | |
1259 | 1275 | | |
| |||
1527 | 1543 | | |
1528 | 1544 | | |
1529 | 1545 | | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1530 | 1550 | | |
1531 | 1551 | | |
1532 | 1552 | | |
| |||
1623 | 1643 | | |
1624 | 1644 | | |
1625 | 1645 | | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
1626 | 1650 | | |
1627 | 1651 | | |
1628 | 1652 | | |
| |||
1703 | 1727 | | |
1704 | 1728 | | |
1705 | 1729 | | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
1706 | 1733 | | |
1707 | 1734 | | |
1708 | 1735 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
0 commit comments