From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0069.outbound.protection.outlook.com [104.47.2.69]) by dpdk.org (Postfix) with ESMTP id 5ED207CAC; Thu, 26 Apr 2018 13:09:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hlkD0zfXQ/qSUYU0+IftsXYtyqBb0SUtCfv8qsUWHJs=; b=TJcavcyNSx/mC6SuEZBxoHPySDMyhbLzjECd/iplV3QgiRzj/h9DCu+Clf6z9qBg5XF8mHiY+hHImi53IOhMqhOmIRqSZkIrK29VXzE4o36aPZYLmACaDnXcKmqgd12v0Dwwt1R3gXnuuuS0hzw337a+UFi6Ozbhpm+/xK8KWt4= Received: from HE1PR0501MB2314.eurprd05.prod.outlook.com (10.168.34.19) by HE1PR0501MB2281.eurprd05.prod.outlook.com (10.168.34.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.14; Thu, 26 Apr 2018 11:09:08 +0000 Received: from HE1PR0501MB2314.eurprd05.prod.outlook.com ([fe80::d405:aec8:cd2f:85cc]) by HE1PR0501MB2314.eurprd05.prod.outlook.com ([fe80::d405:aec8:cd2f:85cc%18]) with mapi id 15.20.0715.018; Thu, 26 Apr 2018 11:09:07 +0000 From: Ophir Munk To: Ferruh Yigit , "dev@dpdk.org" , Pascal Mazon CC: Thomas Monjalon , Olga Shern , "stable@dpdk.org" Thread-Topic: [PATCH v1] net/tap: return empty port offload capabilities Thread-Index: AQHT3LC6ZlyUes9QRkyKt8W6sA4TmqQRrGwAgAE3DSA= Date: Thu, 26 Apr 2018 11:09:07 +0000 Message-ID: References: <1524672957-4018-1-git-send-email-ophirmu@mellanox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0501MB2281; 7:ScVHiffVJUW/cKZ2TtsoD4nr0SZHhFneZWpzhJgVF+NUGAZ6YoyscO/3SbQfhDO+orYPMaa47VCXZXKbJ3qfMHvmjUemiMq6re3HhhZ2yAuM+YZJHSTcQJ8abTkUBovytTzZmtOx6ux8Bq985sOSIMHXX7Y3WfNAHPWHotaDYNWvDac+lJtkqIPh3DZLigEY8y27V2dEiIb/lYSO1JxX2ezOF3PCu1AIbHgsmL9LHYad7kb0uYjZLwp03z1xKZAF x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0501MB2281; x-ms-traffictypediagnostic: HE1PR0501MB2281: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231232)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR0501MB2281; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2281; x-forefront-prvs: 0654257CF5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(39380400002)(396003)(39860400002)(13464003)(189003)(199004)(106356001)(8676002)(9686003)(26005)(229853002)(105586002)(305945005)(74316002)(5250100002)(14454004)(55016002)(2501003)(6246003)(25786009)(7736002)(5660300001)(53936002)(33656002)(6436002)(7696005)(2900100001)(66066001)(2906002)(486006)(478600001)(3660700001)(86362001)(99286004)(97736004)(68736007)(3280700002)(8936002)(81156014)(6116002)(446003)(59450400001)(81166006)(186003)(6506007)(4326008)(110136005)(54906003)(102836004)(316002)(3846002)(11346002)(476003)(53546011)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2281; H:HE1PR0501MB2314.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: pA/986XvpfRn5li1Xgc2xV+z2ZSet7FBdDLGE1+gzDQ01/jjeMXUQ41wWfXRStaZzmz6X6AB4apyI0gsUvRDsOSlPnDeBM2J12hXEFjyDFvsoJOnxVijfLmUcuXrmvQFfHwg62tiZC8owhdnV/M3C7yyhe3fLoTu2vXvyzYb7rJTUm+PMnhJBdYfmxSzB9h5 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2b702d79-66b7-4db7-730f-08d5ab662180 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b702d79-66b7-4db7-730f-08d5ab662180 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2018 11:09:07.8467 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2281 Subject: Re: [dpdk-stable] [PATCH v1] net/tap: return empty port offload capabilities X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26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