diff options
author | Yotam Gigi <yotamg@mellanox.com> | 2016-10-04 10:46:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-05 03:27:54 +0300 |
commit | feb7d387a6cf6c1ec66d4a2b6d4b2cc52309876e (patch) | |
tree | 3afdb07966edb5428b38f2607fd49b85390262a1 /include/linux/fence.h | |
parent | 1ebf8b42b1f6da380f70990234c119f4d63905c9 (diff) | |
download | linux-feb7d387a6cf6c1ec66d4a2b6d4b2cc52309876e.tar.xz |
mlxsw: spectrum: Fix misuse of hard_header_len
In order to specify that the mlxsw spectrum 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: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Acked-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fence.h')
0 files changed, 0 insertions, 0 deletions