aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Zhu Yanjun <yanjun.zhu@oracle.com> 2017-12-26 01:22:50 -0500
committerGravatar David S. Miller <davem@davemloft.net> 2018-01-02 13:29:23 -0500
commitac0b715eab23b82e7f9257fc2ca0c04f8c7695f1 (patch)
treed64acb735e8df58dc2b8d40e69f0bce19fba8f27 /tools
parentselftests/net: fix bugs in address and port initialization (diff)
downloadlinux-ac0b715eab23b82e7f9257fc2ca0c04f8c7695f1.tar.gz
linux-ac0b715eab23b82e7f9257fc2ca0c04f8c7695f1.tar.bz2
linux-ac0b715eab23b82e7f9257fc2ca0c04f8c7695f1.zip
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 <srinivas.eeda@oracle.com> CC: Joe Jin <joe.jin@oracle.com> CC: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions