From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0F52FA04BC; Thu, 8 Oct 2020 23:43:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 505BA1BB43; Thu, 8 Oct 2020 23:43:37 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 42CFE1BA9A for ; Thu, 8 Oct 2020 23:43:34 +0200 (CEST) IronPort-SDR: /fRzthK/p2qmaTBjtVuNTRj/lcZwwAqN7qF8+2Kx6ki+W5iqMNR12LTnvZnuvYaj+X8zmQpIXt S+ZNsSlGVj1A== X-IronPort-AV: E=McAfee;i="6000,8403,9768"; a="162772352" X-IronPort-AV: E=Sophos;i="5.77,352,1596524400"; d="scan'208";a="162772352" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2020 14:43:34 -0700 IronPort-SDR: qL9n4ZSHzy/l/SfG4fTXGIce0vXRoeGWWW1zFvXX9ZqS2OHqLdqfz8MugI80sOjSlT0Zr1LK8i 10XQICjksDdw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,352,1596524400"; d="scan'208";a="316831075" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 08 Oct 2020 14:43:33 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 8 Oct 2020 14:43:33 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 8 Oct 2020 14:43:33 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 8 Oct 2020 14:43:33 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.51) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 8 Oct 2020 14:43:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NFm+kR6E79q7PMBtjiQttnkQ4wZi+si03+n/jtZnW1GMT+yfHQQmYejAAbpeqSOFVyg8vtA0bEqeIjijz4/BYVxA5Ubt7k3b5unuYUeI9FdPCi1YmL3emvjg/TfklUpuxT5EyXKqinh6kpMF4cxEt4xxU4xlnQ8xH9dKNP8iKaDyozuyyGV1bYMeOq/ClDYYPyr+CBqvLPvRsWIsaZY2oIEq0iKzG3PrGgY1xqdzpxSgfjkuCtEY8X3kOsDpLV9punPNcVDW7qJmSeNMhu3gcsJMQg9mSTpvfX2vrm0CYwlMwsHopKUKu7jOGGawF+GMpOAtK6C9IC/5MHUuFtjRXw== 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-SenderADCheck; bh=ydrhyZCoWJOdlBPHJZy2C4iQ1Ig2zDmSxdginWSgg/k=; b=KpFo5LtEYAd4kUimt/UZTPg+q5mijljACwKnsd4D99sWBxNAzpVe1mAUo/B6Rp63eiSbfUFWNGytlD6CH1bWRvMsxqDbUhNWSu+3a7hbdWas6YswTyiNq3N6UoFt/06Ub2qKEj0EV4jElkIXfRlF0j7URdaKUd/Mr4jBbxJRmLTDaFazZAtdfcOywJBHiKCxqrDxOjV2Fy7wfwoO01wMCjQXsSSJnreMduS3nxd3ocMs4O387nXCL6KG1AftL52Gw2PehTBj6GmvNy/6YiABxDWNsUf0jW03Ekck/PGjGQBzvGGkKaQtlNRCd14m3ueHvwEvl42UOweY4sD3SpqM+g== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ydrhyZCoWJOdlBPHJZy2C4iQ1Ig2zDmSxdginWSgg/k=; b=F9MM6jlAQm5lIvW4rhRDjB1BAamqD2za6J358fMXRufZr/3sjFaWEy9PYJtc1BVT7NSAB83tCqzfwbaFTE1kNn2zZ/nOUlH6YQzpBXMGx9Jv0bh/VsvCekCBjDpi/BXkXc2Z0kKXK97yORw3Rodhqyph108BeQ/ozoL8JsODPq0= Received: from SN6PR11MB2574.namprd11.prod.outlook.com (2603:10b6:805:59::14) by SN6PR11MB3293.namprd11.prod.outlook.com (2603:10b6:805:be::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21; Thu, 8 Oct 2020 21:43:31 +0000 Received: from SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::902d:8f85:ea05:a7a]) by SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::902d:8f85:ea05:a7a%4]) with mapi id 15.20.3455.024; Thu, 8 Oct 2020 21:43:31 +0000 From: "Eads, Gage" To: "McDaniel, Timothy" CC: "dev@dpdk.org" , "Carrillo, Erik G" , "Van Haaren, Harry" , "jerinj@marvell.com" Thread-Topic: [PATCH v4 15/22] event/dlb: add enqueue and its burst variants Thread-Index: AQHWiHDd1EBfUvT0FEmNPoeKwkDWwamOZrCA Date: Thu, 8 Oct 2020 21:43:31 +0000 Message-ID: References: <1599851920-16802-1-git-send-email-timothy.mcdaniel@intel.com> <1599851920-16802-16-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1599851920-16802-16-git-send-email-timothy.mcdaniel@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [68.203.30.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d0bf86a6-2939-4f1e-5ab5-08d86bd3336b x-ms-traffictypediagnostic: SN6PR11MB3293: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WvxRTWEiODc84JgyEPfOeXoi2QlcqvaK2fTLDh1hAo4tYU0HqhHI3JaCj08OBpwSGDcgp+k/908xcXvZF/6B4e1jZkQzrElhNnfq0z7qQ4tBaA3U4pf3asiHoO4oU7Hi/a/ayYJ0KJkN6aes/Cs7c9Py/T2LXM22TJqIfkEhKdxBObTJQ7M+5U3CkeRHS0bx5eCr0ueC27yOMfWOKAdQeIhhVyQ/lnK9ohifgwemuA04V/JYmp/2hmpD54iE1GhogeOes6pqS31GkNdmFu+BiA5SgFWmpYy0hYsgWasFXyKAsM54j+Nl2BDWRldk432h5xK7ZfBPLSqViFUXB8/AiA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2574.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(136003)(346002)(366004)(376002)(6862004)(26005)(478600001)(7696005)(54906003)(55016002)(2906002)(186003)(6506007)(8676002)(4326008)(6636002)(316002)(52536014)(66946007)(83380400001)(5660300002)(66446008)(64756008)(9686003)(76116006)(66556008)(66476007)(71200400001)(86362001)(4744005)(8936002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: zd0xy5TQyZmZRyHnoJZubApA5muFViPAzYw7BUAoWCXLYqzBTizhFxCX4V6Vc7xSsqSVQKlekFnNtMR23dufRSz5mLsdeL7qDT3r03F2n8dbgtzZElEyOjSByLnfVTYZmp3qMLm92O/6yoeiPW/8bkbLFm5LocSB8nSUlBAUDqEpOgsx4jKWHCgPeEulI5eeM6qmvIEDnYa9yd36dvrwPaUxtsiwaV+nHwXBvDUz4Taw1uI4V7ImL/XNyJjIom2AO+eV7RnyaDlQaeEU0sFQw+HcqTGeNqjiCEnK7BbEj3mSrGRHLiRl3DAMdZYqlZ/mddP6mO4KpnJuQqbXnO1U/zPsnoACmPk8i1zEPLqPurW5Ukrmp6c1eRn67uKePOir24TB9l6IF3YqHhQl2v8bUuAKGM2Q27nZZ2B2/FaFIpiWgagjxGUnajDytyiyToQzFngmTrhobZ1Qi8YJIzqlBTZO1S2ohRse9PByjBmd55kXmtTEGlpEa0hFX5RiZ9cYSZMoTFwMB7YjM6FwusmH8fOOFcEQcRrH0Bsho5L7T79YS1L82Lju/pEwsOCqHuh+EmZJUiWDyl2bCtdf2Esl7XAEpHJ4e1F8oOPuP497/NYEAa5TYDH+zb8/9wBT+Rvc4DgpCgkzOxuLMavc2X3+VQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2574.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0bf86a6-2939-4f1e-5ab5-08d86bd3336b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2020 21:43:31.5051 (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: BYkr8YTBk8lA6Z7GeIzTcuNLzAKnlZT9jR6aIJdtZfQr6H1+hIao3scuapEKAUitvLYyLkDH40B69VQrcM0SkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3293 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 15/22] event/dlb: add enqueue and its burst variants 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > +static inline void > +dlb_hw_do_enqueue(struct dlb_port *qm_port, > + bool do_sfence, > + struct process_local_port_data *port_data) > +{ > + DLB_LOG_DBG("dlb: Flushing QE(s) to DLB\n"); > + > + /* Since MOVDIR64B is weakly-ordered, use an SFENCE to ensure that > + * application writes complete before enqueueing the release HCW. > + */ > + if (do_sfence) > + rte_wmb(); > + > + Nit: extra newline. With that fixed: Reviewed-by: Gage Eads Thanks, Gage