Thread (31 messages) 31 messages, 4 authors, 2023-02-08

Re: [PATCH v5 net-next 3/8] sfc: enumerate mports in ef100

From: Edward Cree <ecree.xilinx@gmail.com>
Date: 2023-02-06 12:38:08
Also in: linux-doc

On 02/02/2023 11:14, alejandro.lucero-palau@amd.com wrote:
From: Alejandro Lucero <redacted>

MAE ports (mports) are the ports on the EF100 embedded switch such
as networking PCIe functions, the physical port, and potentially
others.

Signed-off-by: Alejandro Lucero <redacted>
...
+struct mae_mport_desc {
+	u32 mport_id;
+	u32 flags;
+	u32 caller_flags; /* enum mae_mport_desc_caller_flags */
+	u32 mport_type; /* MAE_MPORT_DESC_MPORT_TYPE_* */
+	union {
+		u32 port_idx; /* for mport_type == NET_PORT */
+		u32 alias_mport_id; /* for mport_type == ALIAS */
+		struct { /* for mport_type == VNIC */
+			u32 vnic_client_type; /* MAE_MPORT_DESC_VNIC_CLIENT_TYPE_* */
+			u32 interface_idx;
+			u16 pf_idx;
+			u16 vf_idx;
+		};
+	};
+	struct rhash_head linkage;
+	struct efx_rep *efv;
Looks like this isn't used or populated anywhere, so probably
 shouldn't be added yet.
Apart from that, LGTM.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help