Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffe05328 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

mlxsw: switchx2: Use ETH_ALEN for mac address length

parent 33a704a5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -57,13 +57,11 @@ static const char mlxsw_sx_driver_version[] = "1.0";

struct mlxsw_sx_port;

#define MLXSW_SW_HW_ID_LEN 6

struct mlxsw_sx {
	struct mlxsw_sx_port **ports;
	struct mlxsw_core *core;
	const struct mlxsw_bus_info *bus_info;
	u8 hw_id[MLXSW_SW_HW_ID_LEN];
	u8 hw_id[ETH_ALEN];
};

struct mlxsw_sx_port_pcpu_stats {