From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 1/1] forcedeth: optimize the rx with likely Date: Tue, 02 Jan 2018 13:30:51 -0500 (EST) Message-ID: <20180102.133051.1847714216965897909.davem@davemloft.net> References: <1514269370-29241-1-git-send-email-yanjun.zhu@oracle.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: keescook@chromium.org, netdev@vger.kernel.org To: yanjun.zhu@oracle.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:50688 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbeABSax (ORCPT ); Tue, 2 Jan 2018 13:30:53 -0500 In-Reply-To: <1514269370-29241-1-git-send-email-yanjun.zhu@oracle.com> Sender: netdev-owner@vger.kernel.org List-ID: 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.