Re: [PATCH net-next 1/1] forcedeth: optimize the rx with likely

2018-01-02 Thread David Miller
From: Zhu Yanjun Date: Tue, 26 Dec 2017 01:22:50 -0500 > 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 > CC: Joe Jin > CC: Junxiao Bi > Signed-off-by: Zhu Yanjun Applied.

[PATCH net-next 1/1] forcedeth: optimize the rx with likely

2017-12-25 Thread Zhu Yanjun
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 CC: Joe Jin CC: Junxiao Bi Signed-off-by: Zhu Yanjun --- drivers/net/ethernet/nvidia/forcedeth.c | 4 ++-- 1 file changed, 2 insertion