diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2019-06-07 21:20:39 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-09 19:40:10 -0700 |
| commit | 49eef82dcd5498718ad49305514c56a2c3b7dee0 (patch) | |
| tree | e4e5aaa0b682920955207976a2a96ed674411e65 /tools/perf/scripts/python/bin | |
| parent | 3a89aae4b49e2df99fff112cdd055f1a67971623 (diff) | |
tg3: Use napi_alloc_frag()
tg3_alloc_rx_data() uses netdev_alloc_frag() for skb allocation. All
callers of tg3_alloc_rx_data() either hold tp->lock (which is held with
BH disabled) or run in NAPI context.
Use napi_alloc_frag() for skb allocations.
Cc: Siva Reddy Kallam <[email protected]>
Cc: Prashant Sreedharan <[email protected]>
Cc: Michael Chan <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions