commit | 39e50d9637f9a31967ac9e956b829ee8b50a750f | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@oracle.com> | Fri Sep 22 10:20:21 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Sep 23 20:04:23 2017 -0700 |
tree | aaddb235d37628d37901d074553f22b255df271b | |
parent | 1f8d31d189cc6ce1e4b972959fda41e790bb92b8 [diff] |
forcedeth: optimize the xmit/rx with unlikely In the xmit/rx fastpath, the function dma_map_single rarely fails. Therefore, add an unlikely() optimization to this error check conditional. Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>