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 3020AA04DD; Fri, 23 Oct 2020 21:49:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 99D305AA2; Fri, 23 Oct 2020 21:49:38 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2122.outbound.protection.outlook.com [40.107.94.122]) by dpdk.org (Postfix) with ESMTP id 5AACD5A92 for ; Fri, 23 Oct 2020 21:49:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T98Y3NatEgK66+7sXu5km0CiJ+li/jEk4Cf+fcm7gtr4cZnAEwWBO03p6uS8rOgjK3tfzgtD9MXrSZwyfuoBPXhoCcS8XeMnIRlY4TwglHADENqosOYgXWUhk8qfRqnG3OVmtkDuVHxczPQCZe3grLSDupUCwiW7B4bdleq4NkWP6WhKVHcDpMeqvTDamiU9Gds1W/ov2MUXgRogLUg5njdzTlKk4P37tkbZz9k0SxIxV2jiqOUnlzj2NRhTgnPqE853a3A9WgCVxrYQ9vlBhuZUBxLXnnpvfnxO3zvT23Phxe8LCh/JQ2jXE4H+EbrqF1WVwS064lYOP5p20Clkgw== 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=1XzUH9bnNiR6Chp2nUxDlmVFyZaoiXTuVWcL+aFjFrI=; b=EexSoZcolXqQ1Mdl0JJ8wuyn17utXI5Mx7yCOtxBunryMsyY28YA0UcZ0+OUsCYVyCE8kGsZjZKAnY5WMKzMRE7Eel7CV5NaLwcPYMbeUDzGqRsQNMwdc+7r03+8CoFYyLSILRjXpCTExDJJQ52q5govN91PeE/wtZ0xxzEwEDwymRIxSp7zspo1nBYN4XM0h5XqyZv5P1im7NhH4beUS3i+XNmwaX25PTlJKH5HWsLb4HGC05GR0VKLoYCJ40DmalRHZFHSAP66IAJNgIpBi1bqc1hyzrH2z4Wl8URLTtVwK5UBhkL71kaIjlutBGcZ52JIETDKdi8BuXBu5zNbng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1XzUH9bnNiR6Chp2nUxDlmVFyZaoiXTuVWcL+aFjFrI=; b=cjOGZONLCVPNw00G2tGIaDXdYkUfVARjQw5POj1+Kz+2Xb9tCtJ+s9Kt7UBEeJgB0Byrd1qbsoxLgtn7pz/chOPEyFL6C1PK2Z8Rbq+W5GaAiBZYaL4VXgLUW+F99m5R/RV3ZRUf6UavttQOVE9qKgFoLtVBVpOY6k3w0TJYQ/M= Received: from BN8PR21MB1155.namprd21.prod.outlook.com (2603:10b6:408:73::10) by BN6PR21MB0691.namprd21.prod.outlook.com (2603:10b6:404:11b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.3; Fri, 23 Oct 2020 19:49:33 +0000 Received: from BN8PR21MB1155.namprd21.prod.outlook.com ([fe80::ccf4:7bc9:ac7a:1a19]) by BN8PR21MB1155.namprd21.prod.outlook.com ([fe80::ccf4:7bc9:ac7a:1a19%3]) with mapi id 15.20.3499.003; Fri, 23 Oct 2020 19:49:33 +0000 From: Long Li To: Ferruh Yigit , Long Li , Stephen Hemminger CC: "dev@dpdk.org" , Stephen Hemminger Thread-Topic: [dpdk-dev] [PATCH 1/2] net/netvsc: allow setting rx and tx copy break Thread-Index: AQHWqKwHyx0mgDZMn06fyWEeElLKfamlX7KAgAA5/RA= Date: Fri, 23 Oct 2020 19:49:33 +0000 Message-ID: References: <1603395970-26797-1-git-send-email-longli@linuxonhyperv.com> <53ea0071-6a22-6efd-f209-f599e1dc1a4d@intel.com> In-Reply-To: <53ea0071-6a22-6efd-f209-f599e1dc1a4d@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=62c26eba-9b17-464f-8f33-6c95e81879b3; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-10-23T19:48:45Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [67.168.111.68] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5be524c9-62b4-4b55-17c3-08d8778cc39b x-ms-traffictypediagnostic: BN6PR21MB0691: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YjE4hv4fFAkPxh/xdZNcZ77p/TmtPSlm5AesrQ4slabXxpFdtXgJk4tfjVpk1b5okzln51Wo9OQvEychmC966sDXbV9RnlpwB5e4wLu76Urtg9my0kveOeVkbuNNCaa1hXXD5CEn5mzDfxhIAnirJdflSFcnroterJGGdyp0B/jj8A4Lpvvnoaq6KBPu7sCA3GZPqFb+3rtjbVIHqjielV0I9QG1l+ZNE/3Eg1lm60Gux7O5fNCrSK52gnpg7eM+iw+xiymDv1gi+v7z1/m6htRUYHZ5xnbDdYTyDlMPSkEGSvILRzltDtCD4tM1cHekVCZ6beEYswXWB1efKZ+6xw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR21MB1155.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(366004)(39860400002)(346002)(8936002)(82960400001)(6506007)(82950400001)(7696005)(5660300002)(26005)(66556008)(66476007)(64756008)(316002)(83380400001)(8990500004)(66446008)(54906003)(76116006)(110136005)(55016002)(66946007)(53546011)(52536014)(186003)(2906002)(86362001)(33656002)(4326008)(9686003)(71200400001)(8676002)(6636002)(10290500003)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 0mDSl8zdW0RCUQMiDP0UGTWYLmEg97ed7W9se0wAmuwYmQUsbk5QcLeZ7Cyt81ESRXYYlJE2hFVakmvI7VC/AFRoeQTGAYB/7OCzBefBLA1yX0lf+6Jqmqw4w+DkrWGiZRCGe2N/zeGhs1w7UG1wJRpHEEUlZdVx8F4IqSYfqTKIN03QRM08Egc0rpFO1VwUbtwUDQXzyo5yXx8tObsG+0LDPKoUM+dGokJOTbK7e1QJG/B0bsGFXvufilz4u6wYLSpGni5RKCZLmfQsdnv4ojVIfJWG6mqwLC5MAgRfJ1Lyh9wcAIh5WWq59n2dUxf6mnSP80EM2qXMA6VGL2Sh6ifv/AifMzy7CNXI+piPSjFoLPS4WIki94GvyZ1qO1nJZXIYPsANjU3fsBGxa2b/1n2yw8qj2PmuWYa4zZHE7Nk+QAzDU2FZqUOo1apNUpG8+Uq8hvu5sIutFj/33o9nB/BMPRBjbWwgkgkd4QLzRt7W5pNadSJFNRZakML/QKXRUwkjDhnHxhpP+Rqqqd1Eu3rCLn3XKdPHzZrR/52+JUmEN75N4FclfXGVdyTRbsN3nr2pOFsSKyGhB9NWKV2IboREDPeJJG7tKIJrbTuRYdEpmLHSLltT06WVKqRZ9Hyn9wvsnbCo9DKlaWAm2P2LzQ== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR21MB1155.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5be524c9-62b4-4b55-17c3-08d8778cc39b X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2020 19:49:33.1704 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MUOcaNM2S9o1euplykQ009j0yqmxri9aLSlu46OlRGFtKK6dMo8VxABlFZ1pBEqlD+UlUMWtUB1bfYE0rWuIuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR21MB0691 Subject: Re: [dpdk-dev] [PATCH 1/2] net/netvsc: allow setting rx and tx copy break 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" PiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggMS8yXSBuZXQvbmV0dnNjOiBhbGxvdyBz ZXR0aW5nIHJ4IGFuZCB0eCBjb3B5DQo+IGJyZWFrDQo+IA0KPiBPbiAxMC8yMi8yMDIwIDg6NDYg UE0sIExvbmcgTGkgd3JvdGU6DQo+ID4gRnJvbTogU3RlcGhlbiBIZW1taW5nZXIgPHN0ZXBoZW5A bmV0d29ya3BsdW1iZXIub3JnPg0KPiA+DQo+ID4gVGhlIHZhbHVlcyBmb3IgUnggYW5kIF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