From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0067.outbound.protection.outlook.com [104.47.33.67]) by dpdk.org (Postfix) with ESMTP id EC1F51B638 for ; Sat, 10 Feb 2018 13:44:44 +0100 (CET) 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=wfY7I1SqVgATuTx6DzuJceDJsLMvmd6gbG3mcLvhJiI=; b=ElB0nhxSqaU7tH3jxTfPrevi45YLhxr4Yz5WkRIP5jPpIPm2WyfzADQpKDwriV8Da2iZt/FXtYOUiTK4IkXfRo9lIykEXr896rk842TbPSlJpe/YriXp+ORZvWeZPalHTkhc9DfxyyaggdBWSAySnxJTTwo+GjGUIdHeNnsf9Yc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.178.236.101) by BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Sat, 10 Feb 2018 12:44:42 +0000 Date: Sat, 10 Feb 2018 18:14:25 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: "dev@dpdk.org" Message-ID: <20180210124424.GA9762@jerin> References: <20180210115736.7107-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [122.178.236.101] X-ClientProxiedBy: PN1PR0101CA0056.INDPRD01.PROD.OUTLOOK.COM (10.174.150.146) To BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c0ab621a-ec2e-4893-2b4c-08d570840f09 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 3:BBu0ImbcXyHeUkMgWxYbopuJ5VaQKRq70MVsfy/LJ/mGCw9tbMC1lY3fuM6xzdaKwJEqs+42EWz6oaoZO0zdK5OfNz1xvQ3KS2GvqnwmRxXaePkU0BrJ3agvLKA2GK5kjwJ2YxU9xChl9rcLQWMqjfB130RmukhB/EhEUPskXrKFr1W7SsfglAnrR89MaF5k/lPTFqF2K43wzMJ1/tng+aOGVJMLnDi6dcujIOpyAoIhNMoKDH7OtZfxDeKyfKIO; 25:5LaWOJMQ+Pzf9xEG0jN6MzhS9uFVkwXQMrhs/MpEnER8n/Hk7tjJyADY3xaJb8Qeorbgq0AFowTKgwaMkyf1PqyPdvFIf1tlCin2OXJqJdqmnRRCZeHsoBnfBgZsVDT3qCLiZ+n41NClzKkbQzU4hmRKS6ZGw8Vwrrm0Kt/49zuB8qc74LPZemgkf6o4Y6QyvFgW+VlGzWhgU8BFmDb5QFZeQukFWS6NRLQttQQjXO7zk6dDU2CDUKWlQPIjR68yMQwJpDiugdATi9ib1pUgKbShBMvwzx5N3PRmhzsyxcVM0HCaBjspc0uq3mHpQ2E0+WKfLZZ59ojLJEEwkOYL6w==; 31:2N+dWA1s4MlKx04wji8gMQ4TA5+VgJN6id8ZlJ30HUTiE64441p05lLNt3Qp/6sTq+HYZfWYjPitsAuESYeTvGbf2oJoMnAH0nSWWSrbTUr9MDa6RLE6XoQHKScAe8q6wMyU59Q6S9jdMuqVB5KT5cQ7gFQLOqw/F+D5XRklj8u2Nc1HjwABDdnPKGMKUF4o/5TGH48meQWZboqOlvJ/wJjj9xhPOtjUDEUen+sjzho= X-MS-TrafficTypeDiagnostic: BN3PR07MB2515: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 20:Vwx48Cn2bpOzcJxwtycuKuY7vUIpxrj22h49WMDO2gI0VeeyXBbxgaInc94KoFm9YXkHDUqVLPfGwf6jp6IES0I1QDuxXghmIxA3/A8WqTCWGElhzGEr91SNFKLk1/gjbLDdOpNbvrba+Gstlxwliev1GF/fJIb0OWqiKl4P6gLeV34r3Z52V5L1KY0rzV9RsyQpAxxyF4IrRaqDfwleQjrdKZ/nE/SU0VfxGff0TZl3ZAulkwL/YxsqIusZVLvc/ImINnr+2c1tvwlLW0Mkl/HR/Fngo67ZZHoEIEArtJhfd9hpiws2wh9ngRG1naVjkx6ScuC1mtFS8UrpusMYkez2ltN4A7nGw6x/swZ0QhQ3d2ahQ0Mm/MpTNK1gJO39U93tSzg2mCOq9gVRXjptxk0PTmjRSQbYVezvsZGneba+Q0tExcXByJY65moDYjGkS5JMyjHyl7NYShDIDNKate86XKiQO503TLu7aqbftGu6nLP0x/HWKTVOf0QFoxMSnuRiHbHknJ7tmkKpR1NlEGwfMo1DAfocPp6U051T11qoU+3ohanQr1swZDxZMo7wSl5NHmzju0uWSZuIgzmpOO+9xV3pBbMy0okD39SdaeM=; 4:wPdfq+cN3kYjSdhOBa8mts8BYz5Dr1RgcA50bUijVVKf6ndzQoMBDXjKL7bfhM/AaLqwgi7ZAHVF+eCvHPLB0/9hVKDDud3xrRvaoGc+zX9bea1Hgq488FkLOy96bahAA6JDcg8DBiIHn8gwJLsgODvIyelM6YkW3f/WrYog63Em77COzAHivWNh5MTnkxxkcX2+NyTth7nsFizRZ/ua51zbZOpFyd8OCG3lqM7ZM+clQQNNdW/Hqs1FSk3Q0phe/TH95ht+mY5odDUnBnW6u2ZoPJxT0ltIO81nParDm4ciLmqSHQaaUIABwNxcmp27 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3231101)(2400082)(944501161)(3002001)(6041288)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN3PR07MB2515; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2515; X-Forefront-PRVS: 057906460E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(39380400002)(39860400002)(346002)(189003)(199004)(13464003)(25786009)(1076002)(229853002)(4326008)(186003)(16526019)(83506002)(53546011)(76176011)(59450400001)(26005)(23726003)(68736007)(106356001)(7736002)(386003)(33656002)(3846002)(53376002)(33896004)(8656006)(6116002)(66066001)(97736004)(478600001)(305945005)(47776003)(16586007)(50466002)(52116002)(58126008)(72206003)(5660300001)(55016002)(9686003)(6306002)(81156014)(81166006)(6246003)(53936002)(33716001)(2906002)(105586002)(8936002)(42882006)(6916009)(6496006)(6666003)(2950100002)(966005)(8676002)(316002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2515; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2515; 23:zeTVIBAFyK71SpIJ/TYAh7+DCseFvNAH6ScBbt4xR?= =?us-ascii?Q?G33hhm54Vl1zAiNDlkPZb9QwY34kPEp/HsPNmvpWlgsY+1EeI449Ea5027aI?= =?us-ascii?Q?DAqFwnbcn5Zz0J3wi3rLc/es0NCWVPm4JRZJfSZzQxgMPCy8DH2beCrFVm+Q?= =?us-ascii?Q?6EfSbRqdq0G4Eb3FZ2xV4KQmh0vbf6k9yZ3UpZJzvLNSYVSYSjygFlbHS7ZA?= =?us-ascii?Q?wTQwbAv6ln+dNz2hKw8qzL1Q8Hq+Of01XrDET5c8jZukuPl5ZnwAk5lEmko/?= =?us-ascii?Q?8GW3rSpVjvJ1aeQHCA7Sv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iJvfPNYlJM5Cij3kW1m/I4XJu72Q22vqEm0ojAIkbM8P4aNmzToVtSpkCRjMCZlBuRuP85mSDxOTL9w2osLBsOQuNajMpIC2M1loNX6JewDXB4GpyPZWzLp+4ZOPN63MVvwmzK2JAT4DLvEnAa8m0l4vGHOy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2018 12:44:42.3358 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c0ab621a-ec2e-4893-2b4c-08d570840f09 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2515 Subject: Re: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable 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, 10 Feb 2018 12:44:45 -0000 -----Original Message----- > Date: Sat, 10 Feb 2018 12:02:24 +0000 > From: Hemant Agrawal > To: Jerin Jacob , "dev@dpdk.org" > > Subject: RE: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob > > Sent: Saturday, February 10, 2018 5:28 PM > > To: dev@dpdk.org > > Cc: Jerin Jacob ; Hemant Agrawal > > > > Subject: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable > > Importance: High > > > > Due to the missing __packed definition, compiler treating it as as global variable. > > > > > #grep "Allocating common symbols" -A 100 build/app/testacl.map > > __packed 0x8 /build/lib/librte_pmd_dpaa2.a(dpaa2_rxtx.o) > > [Hemant] Which compiler, you mean you faced issue with testacl app? arm64 gcc. Not specific to testacl. We were getting minor performance regression (<1%) with l3fwd after the following change set. http://dpdk.org/dev/patchwork/patch/34709/ I don't think, the above change set directly has anything due to issue. I was chasing that issue and found that global variables has something due to with change.Most probably because it has indirect effect of changing the complete address generated in the binary and thus showing up some cached alignment related artifacts. > > > > > Fixes: a5fc38d422a7 ("net/dpaa2: support Rx packet parsing") > > > > Cc: hemant.agrawal@nxp.com > > Signed-off-by: Jerin Jacob > > --- > > drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Acked-by: Hemant Agrawal > > ....