mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Merge branch 'main' into fix/cpu-vlan-init
This commit is contained in:
191 files changed
+4925
-1825
No files matched your search
@@ -16,6 +16,7 @@
|
||||
#include "syslog.h"
|
||||
#include "rtl837x_phy.h"
|
||||
#include "support.h"
|
||||
#include "rtl837x_lacp.h"
|
||||
|
||||
/* ---- console: everything lands in out_buf (support.c) ---- */
|
||||
void print_byte(uint8_t v)
|
||||
@@ -133,3 +134,15 @@ uint8_t stp_prio = 0x80, stp_root_port = 0xff, stp_rstp = 1, stp_txhold = 6;
|
||||
uint8_t sfp_buf[16];
|
||||
bool sfp_read_block(uint8_t slot, uint8_t reg, uint8_t len) { (void)slot; (void)reg; (void)len; return false; }
|
||||
void print_phys_port(uint8_t port) { itoa_short(machine.log_to_phys_port[port]); }
|
||||
|
||||
uint8_t lacpEnabled;
|
||||
uint8_t lacp_actor_state[10];
|
||||
uint8_t lacp_partner_state[10];
|
||||
uint8_t lacp_rx_state[10];
|
||||
uint8_t lacp_partner_sys[10][MAC_ADDR_LEN];
|
||||
uint16_t lacp_rx_count[10];
|
||||
uint8_t lacp_port_lag[10];
|
||||
uint16_t lacp_lag_ports[LACP_NUM_LAGS];
|
||||
uint8_t lacp_agg_sys[LACP_NUM_LAGS][MAC_ADDR_LEN];
|
||||
uint8_t lacp_agg_valid[LACP_NUM_LAGS];
|
||||
uint16_t lacp_members_last[LACP_NUM_LAGS];
|
||||
Reference in new issue
Block a user