diff options
| author | Yury Norov <[email protected]> | 2015-12-07 10:30:32 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-07 13:40:01 -0500 |
| commit | b45ceb406e4fd3045180b8d70bff60b1d43c7ff4 (patch) | |
| tree | bff8fad79b5e452ebceea344b38c6f84905fb557 /tools/perf/scripts/python | |
| parent | 64874280889e7c0b2c9266705363627d4c92cf01 (diff) | |
net: thunderx: nicvf_queues: nivc_*_intr: remove duplication
The same switch-case repeates for nivc_*_intr functions.
In this patch it is moved to a helper nicvf_int_type_to_mask().
By the way:
- Unneeded write to NICVF register dropped if int_type is unknown.
- netdev_dbg() is used instead of netdev_err().
Signed-off-by: Yury Norov <[email protected]>
Signed-off-by: Aleksey Makarov <[email protected]>
Acked-by: Vadim Lomovtsev <[email protected]>
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions