diff options
author | Lorenzo Bianconi <[email protected]> | 2019-11-14 01:25:55 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-14 18:04:00 -0800 |
commit | b37fa92e20ef28aada852cbf03b368d29a20478c (patch) | |
tree | 4d31191986082456125a2c5f853efa32647e500c /tools/perf/scripts/python/compaction-times.py | |
parent | f97d139aaafdc20145ad6a6b8d188ac8e58b5413 (diff) |
net: mvneta: fix build skb for bm capable devices
Fix build_skb for bm capable devices when they fall-back using swbm path
(e.g. when bm properties are configured in device tree but
CONFIG_MVNETA_BM_ENABLE is not set). In this case rx_offset_correction is
overwritten so we need to use it building skb instead of
MVNETA_SKB_HEADROOM directly
Fixes: 8dc9a0888f4c ("net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine")
Fixes: 0db51da7a8e9 ("net: mvneta: add basic XDP support")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Reported-by: Andrew Lunn <[email protected]>
Tested-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions