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 <firstname.lastname@example.org>
Acked-by: Ido Schimmel <email@example.com>
Signed-off-by: Jiri Pirko <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>
1 file changed