mlxsw: switchx2: Fix misuse of hard_header_len
In order to specify that the mlxsw switchx2 driver needs additional
headroom for packets, there have been use of the hard_header_len field of
the netdevice struct.
This commit changes that to use needed_headroom instead, as this is the
correct way to do that.
Fixes: 31557f0f9755 ("mlxsw: Introduce Mellanox SwitchX-2 ASIC support")
Signed-off-by: Yotam Gigi <email@example.com>
Acked-by: Ido Schimmel <firstname.lastname@example.org>
Signed-off-by: Jiri Pirko <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>
1 file changed