diff options
author | Zhu Yanjun <[email protected]> | 2017-12-26 01:22:50 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-02 13:29:23 -0500 |
commit | ac0b715eab23b82e7f9257fc2ca0c04f8c7695f1 (patch) | |
tree | d64acb735e8df58dc2b8d40e69f0bce19fba8f27 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d36f45e5b46723cf2d4147173e18c52d4143176d (diff) |
forcedeth: optimize the rx with likely
In the rx fastpath, the function netdev_alloc_skb rarely fails.
Therefore, a likely() optimization is added to this error check
conditional.
CC: Srinivas Eeda <[email protected]>
CC: Joe Jin <[email protected]>
CC: Junxiao Bi <[email protected]>
Signed-off-by: Zhu Yanjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions