|
@@ -1164,9 +1164,22 @@ struct rtl838x_switch_priv {
|
|
|
u32 fib_entries;
|
|
u32 fib_entries;
|
|
|
int l2_bucket_size;
|
|
int l2_bucket_size;
|
|
|
struct dentry *dbgfs_dir;
|
|
struct dentry *dbgfs_dir;
|
|
|
|
|
+
|
|
|
|
|
+ /** @lags_port_members: Port (bit) is part of a specific LAG */
|
|
|
u64 lags_port_members[MAX_LAGS];
|
|
u64 lags_port_members[MAX_LAGS];
|
|
|
|
|
+
|
|
|
|
|
+ /** @lag_primary: port of a LAG is primary (repesenting) and is added to
|
|
|
|
|
+ * the port matrix
|
|
|
|
|
+ */
|
|
|
u32 lag_primary[MAX_LAGS];
|
|
u32 lag_primary[MAX_LAGS];
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @is_lagmember: Port is part of any LAG but not the first/primary
|
|
|
|
|
+ * port which needs to be added in the port matrix
|
|
|
|
|
+ */
|
|
|
u32 is_lagmember[57];
|
|
u32 is_lagmember[57];
|
|
|
|
|
+
|
|
|
|
|
+ /** @lagmembers: Port (bit) is part of any LAG */
|
|
|
u64 lagmembers;
|
|
u64 lagmembers;
|
|
|
struct workqueue_struct *wq;
|
|
struct workqueue_struct *wq;
|
|
|
struct notifier_block ne_nb;
|
|
struct notifier_block ne_nb;
|