From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 22561A0096 for ; Thu, 6 Jun 2019 00:45:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 286191B9D2; Thu, 6 Jun 2019 00:45:36 +0200 (CEST) Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720077.outbound.protection.outlook.com [40.107.72.77]) by dpdk.org (Postfix) with ESMTP id B692E1B9CF; Thu, 6 Jun 2019 00:45:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1hUR3zXNVaLr1Kn7vd9l64WM4kb33GQ7FSLLbQleiFU=; b=YyOJEimxmpowU2NbRZvaxhUJC47fRST4zIXa/J41RR/eWVPUltIR2O2Rql3fB+G+9Xa1W+f6H7/nY4tgA3bXboNBIiCmI11vQJCi6+RsEtywk5PUg7/NJD5MMZIk1dWkrCudDDlvtXNWXRgVk2uMaHFdb7n/KnUr2/0tQWxG2ao= Received: from CO2PR0501MB1048.namprd05.prod.outlook.com (10.160.7.147) by CO2PR0501MB840.namprd05.prod.outlook.com (10.141.244.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Wed, 5 Jun 2019 22:45:31 +0000 Received: from CO2PR0501MB1048.namprd05.prod.outlook.com ([fe80::70cb:183f:8209:d591]) by CO2PR0501MB1048.namprd05.prod.outlook.com ([fe80::70cb:183f:8209:d591%10]) with mapi id 15.20.1965.007; Wed, 5 Jun 2019 22:45:31 +0000 From: Yong Wang To: Andrew Rybchenko CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH 11/11] net/vmxnet3: fix Tx prepare to set positive rte_errno Thread-Index: AQHVG3cMdsbjpsOz7UOmy6Tbakofl6aNNHaA Date: Wed, 5 Jun 2019 22:45:30 +0000 Message-ID: <5367CB44-70FA-49D8-BC5F-E4A69D4C76C6@vmware.com> References: <1559722565-25992-1-git-send-email-arybchenko@solarflare.com> <1559722565-25992-12-git-send-email-arybchenko@solarflare.com> In-Reply-To: <1559722565-25992-12-git-send-email-arybchenko@solarflare.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.1a.0.190530 authentication-results: spf=none (sender IP is ) smtp.mailfrom=yongwang@vmware.com; x-originating-ip: [66.170.99.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6e855019-81c7-4ad9-5681-08d6ea0783bf x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:CO2PR0501MB840; x-ms-traffictypediagnostic: CO2PR0501MB840: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:208; x-forefront-prvs: 00594E8DBA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(396003)(136003)(39860400002)(346002)(189003)(199004)(13464003)(54906003)(316002)(2906002)(76176011)(82746002)(71200400001)(25786009)(73956011)(81166006)(8936002)(8676002)(99286004)(66476007)(64756008)(4326008)(58126008)(71190400001)(83716004)(81156014)(186003)(26005)(6246003)(6916009)(6116002)(3846002)(102836004)(53546011)(229853002)(6436002)(6506007)(11346002)(66066001)(91956017)(66446008)(5660300002)(6486002)(486006)(6512007)(66946007)(446003)(476003)(2616005)(76116006)(66556008)(33656002)(478600001)(14454004)(68736007)(14444005)(7736002)(86362001)(305945005)(256004)(36756003)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0501MB840; H:CO2PR0501MB1048.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 0D/nuoyqiQH9raKPVcLUnTiAZvyDJ2DAxAGbcvWH6IrucxXuConmCE3bZuPDuJkIKPjJ5HIY5+jr99LExqdVwZH+U4B6asPmpG1MkkkwEsF6j8EC0t2XA93IOa3r1G6r6y3CfWnhCao9QLWlZcbSnaJlRL+CbFrIeSU8S6wk6n6VjuQmnh23F1GF/kNj12XkoAEtbZlPSFvXdjPe5Xdvjc4u/+vhyNqDOigi3EUSQcifPMa1CcQnIcudvPbS+u94yJI0KmFOGdSJ+ONQkx+aWO5Z5xxiuZotoEsAfs7NbMFMOUMcmYAORG0Cbc7cKvp0+JKunCVndXDU3IHvJ2LuGrkituf80tkRlz8u8xrVCf6RPblkuFoNDs3EGUp6kdOtbrkPag/k4usD98zHpSaeUqPd2yeqB0zsUSH/FeHAoDw= Content-Type: text/plain; charset="utf-8" Content-ID: <27D9A00B252AFB44A8F16B037404F8BA@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e855019-81c7-4ad9-5681-08d6ea0783bf X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2019 22:45:30.9084 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yongwang@vmware.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0501MB840 Subject: Re: [dpdk-dev] [PATCH 11/11] net/vmxnet3: fix Tx prepare to set positive rte_errno 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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