diff options
| author | Peng Li <[email protected]> | 2018-06-28 12:12:23 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-29 11:06:34 +0900 |
| commit | 0e6084aa1c4eba8913143ea30254d50ed01724eb (patch) | |
| tree | 84d6cb7fb276dc9c873a244e2b2bf8d689bc74a8 /tools/perf/scripts/python | |
| parent | 94c5e532130207f6ecfe0e1afd4ed3495ec1706f (diff) | |
net: hns3: add unlikely for error check
The first bd of a packet is invalid and invalid ring head for tx
IRQ is not offen, they may occur when there is error,
Add unlikely for error check branch is better for performance.
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions