From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A1EE9A0508; Tue, 26 Apr 2022 16:27:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5048E41109; Tue, 26 Apr 2022 16:27:35 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id A363F40E78 for ; Tue, 26 Apr 2022 16:27:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650983253; x=1682519253; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=NT6jyltDxfOjQdzK71XwmXjtfiwAZmD6xnwVpb+6L/4=; b=b5GRsTswu34VPZJtA4WGWKqnDUhuNBbvdCXBHejipXNWwAAqoUJYK3xS uVdeURnnTeH4+rGLf6faA59UYsDpuwnBZIQ7i6HCQbK6FLAuI/QJiqz6A 5YalI/DSOFGMWZcirrsPLJQKfg7nme0TI9FEjilnTXjc9pj6J1wM/xQfJ pnHtsw3O0I6LK2Avrhv7+2XNrgBWtrRRiE0r6YIRQVL6CCxc4S2nxYasY MsR5/49VqZcOCn1gpl8eOeboc90o4cNXDOoO2CWeiAyzU+bQL1shPJ1fj MgCbaHHDmyCgjeIm6pDBAqlTcoaNM+frrys2KkGJZGcEYvuv3O8X+Iew7 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10328"; a="265400916" X-IronPort-AV: E=Sophos;i="5.90,291,1643702400"; d="scan'208";a="265400916" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 07:27:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,291,1643702400"; d="scan'208";a="678924146" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 26 Apr 2022 07:27:32 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 26 Apr 2022 07:27:31 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 26 Apr 2022 07:27:31 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 26 Apr 2022 07:27:31 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 26 Apr 2022 07:27:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NJiG0ErYlSlNytQGeWmSf1kywJrLc9WiPgtcOZnFzK6GvwzbrBdzVhJzkxIMV7JIK39RXQ/TQw1PbG5BeiVToScdzgDZQ3CUcvy14MD3q5CqN00Pv9W66GI213aOIb7Pak6mCnIlIbZqFueCEStf4OsjGWJJ95BRZ9TtuNQLsXWnlQ5UNI8v5nLf41x67DIdnvQevAThjlEIX3D4ggB97FNgFO0LuVsk1ioOWP2iPCHV+MwDgfSoT11lkReJoDYEXCDDgFx8G6FjczIX4SwH+lLnV7SbpDN0FiVTpe7u1Uwo9FdApN2lkMaxeiwpMJuOuY8BJczE7U1xzJs7JGbMaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4WxVjIlY2+x3jH+BKz/0AZUl9edVEvcMaiPKH+FGi/E=; b=equNqISGIVBQCmnESF36VFH8o6msBS3fhP7CgjmltMkn0/Hm7q+urFWhcKKAMUGoQXn2cyeTdWhwse1UCnTAicOki+NxqpQQ6+oVtJqTUMtv1gkMUvEZDHbwwknZ2UGZk9D3U8+TZNNZDI16swiaSENdrBVd+pbPew/6j8Q514gSr6KA9M0ssILTmOsS1xkY48xlu8OZWFqnecktTWCu0rmf8E+V1H0rg7RArcItf4QFfB5gvNX4mE//j4DwmqZnPjwuFVTvgsagtRWqaawm4XVDOV7it+5LexiYW51P+jdld96isq+P+DhVEDMFQED5iIrBgO+LCP8uEU3nnMbQyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) by CY4PR11MB1621.namprd11.prod.outlook.com (2603:10b6:910:10::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Tue, 26 Apr 2022 14:27:30 +0000 Received: from SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::b433:a97d:da56:c168]) by SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::b433:a97d:da56:c168%4]) with mapi id 15.20.5186.021; Tue, 26 Apr 2022 14:27:30 +0000 Message-ID: <7f8aa959-f058-d013-8e87-71242c78ddad@intel.com> Date: Tue, 26 Apr 2022 15:27:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.8.0 Subject: Re: [PATCH 1/2] rib: mark error checks with unlikely Content-Language: en-US To: Stephen Hemminger , References: <20220413020935.90499-1-stephen@networkplumber.org> <20220413020935.90499-2-stephen@networkplumber.org> From: "Medvedkin, Vladimir" In-Reply-To: <20220413020935.90499-2-stephen@networkplumber.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0383.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::35) To SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8334471a-3573-4316-3857-08da2790e4eb X-MS-TrafficTypeDiagnostic: CY4PR11MB1621:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VqsCP4PkcCS2d1U4Lq4vUnRcPKb8SIJiUZ/rqsgS5TYVxT+mrlm7j8ejTmtsotQqP0N14AEuSbNiuUDK3H0mSwi9bM7Lzrn8Tmbd0gWD54JAKc5KtIm+XpJ0VOhac4OYNXjie0XuRSCyn56VSs0PeVfwF3mJP5cPWn0VDIS0lO5BqlZhJ67Ugb3hob6k7gJlGpbLAp7cKEUSTNYna8RKH9h1mNSdi17o/ARTGERAs2xb6nFlVWr5GhUUvlZ+B8PP4Bd93fj2OXMVi3k/xQkMEmzc5BGR6J6EXOGzJnfFSs7j1iM0A2DfyMABtttevOgq+pRD2Prv+nKFh2M1VYHiz6CR8L0R+DuPrwoxGk2opZa6g0z2OIvQVotkgjNXOmqy5wkEASVhCbygDI2c8eNhFyYb+hVcc7NGI9MJJYnf/4sLtXSuq41WKwBUCVBFn2cMbsMpyZhqDH6LQ6n4Vkuss1cYcOnyRMMkvC4dT3nXvky6aUARsRKC+v5pbY1KkJHBou6p2TemSCDMC0klYPzQ1555b/jg7bZXEK40eD6E9VwnNYlkioUjLVGDfwsPrO1dhTc9yPKZOGqxYSKgo5PFlyeUDDmOK9ohPDk9iE6x0bty4FIuTgw8hd4GvPPr5NwBZedARqkppk6zOjEWJo6K5zxdpuqHqbKSn5ntxvZ3nBZ1VJdyWyBKIPoRS3459MZxInmD45azDmLePnqXuModBgN8rnEK6YVI8rGSBbQwWt+PpVw97tdJFoRCQ4P6vO69 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5772.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(8676002)(66476007)(86362001)(31696002)(2616005)(316002)(66556008)(83380400001)(66946007)(6512007)(186003)(82960400001)(38100700002)(508600001)(5660300002)(36756003)(2906002)(6486002)(6666004)(8936002)(53546011)(31686004)(6506007)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UVdzeUgzbi8vTUM3MUhMSFpmanZVc1g0empCK3BNSVlFUHdIN0RqeUkrdVZE?= =?utf-8?B?dzNoSEkyNThEeHJSaEFHelZxYUVJZEpHdGNLMFJEa1JidDlOOUY2RjBDYnRj?= =?utf-8?B?Y25zKzhTeUw5MkFLRVJLSWloR05Lc2lmRGNDeDlUZUg1L2c1SExya2pWUDZ6?= =?utf-8?B?QnJFdTdCVmhTQkYwZlNmdVlSb3dQdm0rNGQrTENoZTc0bEVtcGF3UFhPQ1dJ?= =?utf-8?B?RlRBV2hDR25XMGhycXV5ZWZwNnNVR3hBeGxIOGdkeHpsbFc3cm8rejVyQmZZ?= =?utf-8?B?WnRvS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?= =?utf-8?B?M2kva2Jqd3FCNXQyZGtscjE0ZWllay9oZG9UMUt5dGRCS1pjcFVFT0srY0Rv?= =?utf-8?B?aXlmb0g2N0pUR2R2MUNaUmt1bStkdkxvQ2hjQlZCWVJpOVV1SHJETVhCa2Ji?= =?utf-8?B?eFBQWlZ0aysrQ1VmUnpieUhyMU0xSnluSXlOeTFWZHpJNE45QVR2UnVPM080?= =?utf-8?B?YnZjVEsvcHN5RHFqK21lSE5qRW1HSkpHWXRXcUxnYmo5aXRGOG1QUU1EVVFn?= =?utf-8?Q?yAsTzDYWT5y6Cm7jZ8BfrIhJdtnE0lz34Kr9l?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8334471a-3573-4316-3857-08da2790e4eb X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5772.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2022 14:27:30.0443 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5d7mFVjYXNCRF063WcyHAJP+VDRQmWisNGLjqR1XOv7Pr+SRJvWWX7hbeqMwC2Bg6G4Pj8dBoxSyY4it3417p/mEYBhmyuYNqSK+s0lSvl8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1621 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 13/04/2022 03:09, Stephen Hemminger wrote: > Also mark some conditional functions as const. > > Signed-off-by: Stephen Hemminger > --- > lib/rib/rte_rib.c | 26 +++++++++++++------------- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/lib/rib/rte_rib.c b/lib/rib/rte_rib.c > index cd9e823068d2..2a3de5065a31 100644 > --- a/lib/rib/rte_rib.c > +++ b/lib/rib/rte_rib.c > @@ -48,13 +48,13 @@ struct rte_rib { > }; > > static inline bool > -is_valid_node(struct rte_rib_node *node) > +is_valid_node(const struct rte_rib_node *node) > { > return (node->flag & RTE_RIB_VALID_NODE) == RTE_RIB_VALID_NODE; > } > > static inline bool > -is_right_node(struct rte_rib_node *node) > +is_right_node(const struct rte_rib_node *node) > { > return node->parent->right == node; > } > @@ -99,7 +99,7 @@ rte_rib_lookup(struct rte_rib *rib, uint32_t ip) > { > struct rte_rib_node *cur, *prev = NULL; > > - if (rib == NULL) { > + if (unlikely(rib == NULL)) { > rte_errno = EINVAL; > return NULL; > } > @@ -147,7 +147,7 @@ __rib_lookup_exact(struct rte_rib *rib, uint32_t ip, uint8_t depth) > struct rte_rib_node * > rte_rib_lookup_exact(struct rte_rib *rib, uint32_t ip, uint8_t depth) > { > - if ((rib == NULL) || (depth > RIB_MAXDEPTH)) { > + if (unlikely(rib == NULL || depth > RIB_MAXDEPTH)) { > rte_errno = EINVAL; > return NULL; > } > @@ -167,7 +167,7 @@ rte_rib_get_nxt(struct rte_rib *rib, uint32_t ip, > { > struct rte_rib_node *tmp, *prev = NULL; > > - if ((rib == NULL) || (depth > RIB_MAXDEPTH)) { > + if (unlikely(rib == NULL || depth > RIB_MAXDEPTH)) { > rte_errno = EINVAL; > return NULL; > } > @@ -244,7 +244,7 @@ rte_rib_insert(struct rte_rib *rib, uint32_t ip, uint8_t depth) > uint32_t common_prefix; > uint8_t common_depth; > > - if ((rib == NULL) || (depth > RIB_MAXDEPTH)) { > + if (unlikely(rib == NULL || depth > RIB_MAXDEPTH)) { > rte_errno = EINVAL; > return NULL; > } > @@ -342,7 +342,7 @@ rte_rib_insert(struct rte_rib *rib, uint32_t ip, uint8_t depth) > int > rte_rib_get_ip(const struct rte_rib_node *node, uint32_t *ip) > { > - if ((node == NULL) || (ip == NULL)) { > + if (unlikely(node == NULL || ip == NULL)) { > rte_errno = EINVAL; > return -1; > } > @@ -353,7 +353,7 @@ rte_rib_get_ip(const struct rte_rib_node *node, uint32_t *ip) > int > rte_rib_get_depth(const struct rte_rib_node *node, uint8_t *depth) > { > - if ((node == NULL) || (depth == NULL)) { > + if (unlikely(node == NULL || depth == NULL)) { > rte_errno = EINVAL; > return -1; > } > @@ -370,7 +370,7 @@ rte_rib_get_ext(struct rte_rib_node *node) > int > rte_rib_get_nh(const struct rte_rib_node *node, uint64_t *nh) > { > - if ((node == NULL) || (nh == NULL)) { > + if (unlikely(node == NULL || nh == NULL)) { > rte_errno = EINVAL; > return -1; > } > @@ -381,7 +381,7 @@ rte_rib_get_nh(const struct rte_rib_node *node, uint64_t *nh) > int > rte_rib_set_nh(struct rte_rib_node *node, uint64_t nh) > { > - if (node == NULL) { > + if (unlikely(node == NULL)) { > rte_errno = EINVAL; > return -1; > } > @@ -399,7 +399,7 @@ rte_rib_create(const char *name, int socket_id, const struct rte_rib_conf *conf) > struct rte_mempool *node_pool; > > /* Check user arguments. */ > - if (name == NULL || conf == NULL || conf->max_nodes <= 0) { > + if (unlikely(name == NULL || conf == NULL || conf->max_nodes <= 0)) { > rte_errno = EINVAL; > return NULL; > } > @@ -434,7 +434,7 @@ rte_rib_create(const char *name, int socket_id, const struct rte_rib_conf *conf) > > /* allocate tailq entry */ > te = rte_zmalloc("RIB_TAILQ_ENTRY", sizeof(*te), 0); > - if (te == NULL) { > + if (unlikely(te == NULL)) { > RTE_LOG(ERR, LPM, > "Can not allocate tailq entry for RIB %s\n", name); > rte_errno = ENOMEM; > @@ -444,7 +444,7 @@ rte_rib_create(const char *name, int socket_id, const struct rte_rib_conf *conf) > /* Allocate memory to store the RIB data structures. */ > rib = rte_zmalloc_socket(mem_name, > sizeof(struct rte_rib), RTE_CACHE_LINE_SIZE, socket_id); > - if (rib == NULL) { > + if (unlikely(rib == NULL)) { > RTE_LOG(ERR, LPM, "RIB %s memory allocation failed\n", name); > rte_errno = ENOMEM; > goto free_te; Acked-by: Vladimir Medvedkin -- Regards, Vladimir