lacp: drop the unused long timeout and an unrelated pvid hunk

This commit is contained in:
d00f authored and HL Yi committed 2026-10-14 20:18:07 -05:00
1 parent d4345c1bf8
commit 9745dfe6ae
2 files changed
+1 -3

No files matched your search

+1 -2
View File
@@ -2002,9 +2002,8 @@ void cmd_parser(void) __banked
} else if (cmd_compare(0, "pvid")) {
if (cmd_words_len == 3 && cmd_parse_port_separator(cmd_words_b[1]) != 0
&& atoi_short(cmd_words_b[2]) && atoi_results_short && atoi_results_short <= 4094)
{
port_pvid_set(atoi_results_u8, atoi_results_short);
} else {
else {
cmd_error("pvid <port> <1-4094>\n");
}
} else if (cmd_compare(0, "vlan")) {
-1
View File
@@ -96,7 +96,6 @@ mismatch should be rejected or applied to the whole group.
#define LACP_FAST_PERIODIC 0x0032 /* fast TX 1 s; partner expires at 3 s */
#define LACP_SLOW_PERIODIC 0x05dc /* slow TX 30 s; partner expires at 90 s */
#define LACP_SHORT_TIMEOUT 0x00c8 /* silent partner dropped after 4 s (802.3ad: 3 s) */
#define LACP_LONG_TIMEOUT 0x1770 /* long-timeout variant, after 120 s (802.3ad: 90 s) */
```
One unit is one step of the LACP timers, taken every four system ticks, so 50