From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0083.outbound.protection.outlook.com [104.47.42.83]) by dpdk.org (Postfix) with ESMTP id 7D8E358D1 for ; Sat, 13 May 2017 11:28:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=smCpPQ/EXRTQkyFJ6s19OM4sMS9ZhGR15SpmLuPsUrM=; b=l7L4mF6smbu0xqUKv664uhGdg2fQqy0BFQ9KvvS/N5mkj4n32u+NguLp3TUq8qPcD8lw+wVqfQ0jYGJ03O1tV7LrMzLCI/fpjugeT15AgNWCKZ1J+Sa0Mdcerq6+vRZqof/3U5EbPS1uDheE/4m4blIYutPRsQRPeidPue/hgOo= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (111.93.218.67) by BY1PR0701MB1722.namprd07.prod.outlook.com (10.162.111.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Sat, 13 May 2017 09:28:09 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, Jerin Jacob Date: Sat, 13 May 2017 14:57:28 +0530 Message-Id: <20170513092728.30050-4-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170513092728.30050-1-jerin.jacob@caviumnetworks.com> References: <20170513092728.30050-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0046.INDPRD01.PROD.OUTLOOK.COM (10.163.199.18) To BY1PR0701MB1722.namprd07.prod.outlook.com (10.162.111.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 630ea747-2b27-4016-21e1-08d499e26006 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1722; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 3:br7DAlVHRncVG8iYK0pOt4aCohFycDDMev3m9jYeQAED9+VZPEY/gnfLcKSBZn+sqZeomvjGyub/cv2CgmBrYg8EzuIgj7UDh59w4Ilg4FBf0dECyz+phM86bxwcrcRCgwWuqT1CGtgZW13OCdHaRX84Y+9gzEEpxep+fu6CLzBVGvrKKImtdftBln8XOmIb290w0/TSBqlDx3WfNPXue0PGPxghjnIsyOI/dZxhZU+TuhLFvfC+6lt+TYcu0e/XZ3aYH8zzp3xG4h3wdqNcAenEDeQWJ0JsYB2uRxEe/SKq6sEXOIm6TiN0yS6/sAoB+snhNBLipFzP2Ou0iZ/5rw==; 25:nCekHM4w3u624Addyu79owppNcZMUmtaSyq7D1Tcm8YxdPSb5zj9PcppQpPQMdb7XsLKJ/w4c7b7RZ7H18tBRj+SLztCqAzfIPy41j0etRwdBMtlPXMLEUtryZPI4JrHOB6cgAe+1g/CeOTNoIKsM/jqzKtjyXcowIx7p3gRJju1d15I4KNWKq9pW3z/Q7ZbFx571h6LcnEgwigsSD6k7o+M0Jc5SaG4unZRgVAbRgWGYOHmlFqqD7V0xtRdgPdFuHbfwGP2uN84hawnu+FzFVRth+3kgjMb0FvFcW3DRXtVlqEPnFeNz78aOIe03zJJAUrywVhmGM6eE0PpyBGC34oOwhryn/Acf1DbmG4HTq183F/ETzPjYxyGwgIAaRkSNl2bNV5172+g3vPUAki1HxFACbsj5j3sQOZYWuvM2ERqQvibr1SEa+tO/VUqQJ77OKomhlgr0iKTRfRmtrOoEnt78758xKWSl7dqnisDWp4= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 31:yyuzoD2RTaNBxGjAcyvEkdB25I68sJ18oeC57g4GSUpnB2yxnThhb8p0AWvdQQfE/FUQNdwymxTWFtS3aYSVKs1D2KHdBM0vhGVNrFhFhjIV5P0XqwgL3vLXxitWKhjUYjVT6YS+HhhPiP+aKn51EYW20PTKUaDVuQCp7nzByTRcHiF0Wx/2cLWeW9BJNkJYvqKN43WGrYmSmFRqDIy+99S7VIhn/TbOyb1U7IIC2YE=; 20:xepnguKP2Spkh5mvJzMsmucMVMrs8K0MAcmL/zuzSHbgLv5Iy+7/htMNvGb14Y7N4p7QTpcb4PoJLMSsoTdOv7P6QiD0JZmFfriNVQHS0FTrd44bmww38tE5LqysLmO6wn62pnqVG7eSP7eDoQKBu4F/L/V39yVo/Kk2Tm+BEMQ19BYqUirruSCdCjf8ya4vIVnHCCFSGRleof15QW08yVJfKesba8xXeEdaZO+siew1ICIaSp6sbmNZ4/3g3RYDT+QgoNOtfhqOXjjLD8AW6ZUP+WMtRIb8Ywp2Im3czhotuc27WQ2HXOszb8fPqVzQNkVyGluGen/fdlb1+pDPYIWXL/WyUfe7N/udft6IpwN7FZKZ9QJu19/VvldX58w4mzAmjQqCfoHUlaVsONH0SF7AY3vvoB1enGiMTt9SlKjs8WIURFR+m3naOITq9w4iYYSY+MhfLHyuJuUh7c/pKmbjUMA7Q0FPZmSON5gP7U4e1RN6BwILKlNKHnOOHUQ2PzcWk4lsYCwosYwcOEzrvGXxLtRk/0VpbqwJzQ+vEedp0AApwN/BS5v8u3rGrHGoY1P0oRF1Zd5jl6WGFTloRX8q3RvLVkV1dqOVMmaaW0k= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123558100)(201703131423075)(201703061421075)(201703161042150)(20161123560025)(20161123564025)(6072148)(6042181); SRVR:BY1PR0701MB1722; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1722; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 4:qQo+oPlatjP/4qFtk1NvbYRHd3g90fOkWy2h0A3fDh42UA3J51SfKoPsONq9qM8XDFHK2ibVxd/Vy1IaI5RqqRCZwMtX8DhNFJ7uhp4JMd9LY19FLv9qiBJyav3FoirlAhZ+2Zp/vBj3VO36yXHoeCnEIME7jjYsOAwBP2MSuWhr76wKWo+3zn0FzvONY3W3UudAb1rySQCkBINsCD0hcbCPq6hH06WKE1u/6NZ0syweStTMucLqGelrD9zuUqHg5Wer4nUMRVAZK3N22x9eTC/pdn+7q4D8ABMcBYkjL/bcL8dvHeAnD29WyitgI1tzRLkO+TOpeHFKd6ZqVquL5sE+1YMvBOcYaNSZN0ivNyBsc6ycnbB0YBJSjERR3ZoP5RbWUMV9B2bhgLW56ZMV5817jwQhKe0Xjv0b78RMP3XyMzRWizBxHhnYcsuavdBKgQM0vVz8z7yaR5UOL4drr3iu9KDVFgBLE/O87BIVrlcLjIBhhMmBr3PVUdfT7pMGI9XQJXXQJwItXu0MYceEjWaVgcuKdfiTsujUQnNoWYYHS2O4u6SxbSlQA5SJwjarMsMI/O+rBpWJXKIcKC5XHcSxOve0IBPUpkB4kn0K3lHK6/eGWxCmYceeQrybvrj2lBw/J8uyxF7bTzutt2ZBMAncWoH6SfXBP7S8gfo3Mv8mBIvgXdfdsTGFVW5Jkxuu1i6Jg/TMxR+qSsO6gbT678vvNNMw7ilMnmjNROGopQl/JnwW4VF9kb17KFMubtGK X-Forefront-PRVS: 0306EE2ED4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(36756003)(81166006)(66066001)(53416004)(2351001)(2361001)(42186005)(47776003)(33646002)(7736002)(8676002)(5660300001)(76176999)(305945005)(50986999)(5003940100001)(50226002)(6506006)(189998001)(4326008)(5009440100003)(6486002)(110136004)(2906002)(38730400002)(6666003)(107886003)(50466002)(1076002)(48376002)(72206003)(25786009)(6512007)(2950100002)(53936002)(3846002)(6916009)(42882006)(575784001)(498600001)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1722; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1722; 23:+r3Q2FjkjxOpE5CRw3SvLQMdkSpmj8TpdEmdpPE?= =?us-ascii?Q?iCLYS+aZW2H4OSfvFBKvNakFd37Pd27Rf3qe590BLltvsgC4132i6fbnJUo8?= =?us-ascii?Q?guvLLUHykzKW0SbfO7j6VBme5uaJnxFLi4z/rBetmC1FL/xNegg2X1Ljpr+D?= =?us-ascii?Q?CFiqknvj9J9v/dsnIWj1aTiE45pssEhTStH3lfF2xzG9KDZ3MrnzBZjeiotw?= =?us-ascii?Q?/mRKJUp8Z+sOeqgJ0FBlumFx+oP+Fd6tnCgGP3S6LkhpZYMA+dqSv2IP2W75?= =?us-ascii?Q?mjyhNAhCtM8Lf9BZ/62G6u+QnTS4zCTxR/86lf36D1Vlmk38O3Kh/n2V+y/S?= =?us-ascii?Q?/0OqmTtHcWyn/DavVt3uQ1KRAi1K8t/shrj3Fe+vZJN215xiPlZSrU5Lg/fa?= =?us-ascii?Q?B/IClcYnZp/36th9MqbFJXj1YWLmzMMZmsH9SDS0I0Zkw2bgNvL2Ucfgjp3C?= =?us-ascii?Q?o5D4wOvlgMWohX3Q6JqqseChRWZ3kYoM8lnKsBNWXXAAMonBNfSA47Q5Sw7J?= =?us-ascii?Q?hEM9E71yKLlgK16fiHOAmo/bwmMnuc1mwkq5YI/SdwLeNHuS3Yu7clrdJosr?= =?us-ascii?Q?eCyk+NgapyztSHSFaPImXrDtIytTZXkLlXXV7Tdtx51LRjcQQKriCGrUQ+ze?= =?us-ascii?Q?vzqHc6J08968hQVBSb5tv3TmknStYmkPuuP5Q0AvB3KmMoNmUJsc4sBiTT9g?= =?us-ascii?Q?Y2UjlPflCeGwKfbkgSSwCN+ede2mhq48nTbxKDlNJtgyptvt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qQR4n8gF70kCGMinMrihZUQrHzYvEISIDR7rDup2gHY1irM4f36corZs/4uzTaDKFdX3/LSg==; 24:2kOyFmhk/mn17BXzsXpfmoPcfJbbr8S9wYJrRu5BxMcmMf9LoIbG0DB2nqGwVZCji2k92bmeRfuc8hgxWjmV5yVGrk/Je/tL8Oh8oLRrEfI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 7:guNZOhymumPa5uQzoutjfp1TXU47zGZ8L2hxEFY1jmjRXFi8ZJ9tC1tbU0qeBSaJ3/yI7VYyRB5oLH52zJvpSgmnvPaTliYUNU5PM6JHq/AlvzKBi0gOp4RhYbTtl13n+YI1p8+tURLdjd4NMfa5/c1YYGu1ysaM2YtniIkoWiPgdQth1K4ZtmRYqBxUuWJsFjm1cH5yk4cZwvmtGCIh0gUpVPcC1Rjfm2XAmZCNClovyikiNtU9UaceHv/VRf/bliJzwCk3X6j/hiVkUcQmtjsvGfAc33Hxol5yZQmWqpVhgMAqEduqn+dRLPnExElfOY5fDCBtkvN/SyvZuPUAnw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2017 09:28:09.7578 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1722 Subject: [dpdk-dev] [PATCH 4/4] drivers/net: use the rte macro for noinline X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2017 09:28:14 -0000 Signed-off-by: Jerin Jacob --- drivers/net/bnx2x/bnx2x.c | 6 +++--- drivers/net/dpaa2/dpaa2_rxtx.c | 2 +- drivers/net/mlx4/mlx4.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 1a7e1c8e1..207f0e1f7 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -120,7 +120,7 @@ static int bnx2x_alloc_mem(struct bnx2x_softc *sc); static void bnx2x_free_mem(struct bnx2x_softc *sc); static int bnx2x_alloc_fw_stats_mem(struct bnx2x_softc *sc); static void bnx2x_free_fw_stats_mem(struct bnx2x_softc *sc); -static __attribute__ ((noinline)) +static __rte_noinline int bnx2x_nic_load(struct bnx2x_softc *sc); static int bnx2x_handle_sp_tq(struct bnx2x_softc *sc); @@ -1962,7 +1962,7 @@ static void bnx2x_squeeze_objects(struct bnx2x_softc *sc) } /* stop the controller */ -__attribute__ ((noinline)) +__rte_noinline int bnx2x_nic_unload(struct bnx2x_softc *sc, uint32_t unload_mode, uint8_t keep_link) { @@ -7124,7 +7124,7 @@ void bnx2x_periodic_callout(struct bnx2x_softc *sc) } /* start the controller */ -static __attribute__ ((noinline)) +static __rte_noinline int bnx2x_nic_load(struct bnx2x_softc *sc) { uint32_t val; diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index c5d49cbef..ff9a696e0 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -171,7 +171,7 @@ eth_fd_to_mbuf(const struct qbman_fd *fd) return mbuf; } -static void __attribute__ ((noinline)) __attribute__((hot)) +static void __rte_noinline __attribute__((hot)) eth_mbuf_to_fd(struct rte_mbuf *mbuf, struct qbman_fd *fd, uint16_t bpid) { diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index ec4419a8c..0d7b4b636 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -1098,7 +1098,7 @@ static int mlx4_check_mempool(struct rte_mempool *mp, uintptr_t *start, /* For best performance, this function should not be inlined. */ static struct ibv_mr *mlx4_mp2mr(struct ibv_pd *, struct rte_mempool *) - __attribute__((noinline)); + __rte_noinline; /** * Register mempool as a memory region. -- 2.13.0