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 6F5ABA0096 for ; Tue, 9 Apr 2019 05:31:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AAAE44D27; Tue, 9 Apr 2019 05:31:05 +0200 (CEST) Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) by dpdk.org (Postfix) with ESMTP id BC0944CC3 for ; Tue, 9 Apr 2019 05:31:03 +0200 (CEST) Received: by mail-qk1-f196.google.com with SMTP id z76so9369835qkb.12 for ; Mon, 08 Apr 2019 20:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=77wNuJ+MH3Znt6UQ0C2oahokoB7cYtJnU1UPGNYtT+U=; b=AK5tg8jY6SOqZ4TUS3qNGsEDNk/2K+K9N+rmn3Rvpj3xnLayUliBZpgQ3SdNJBDwSX 32/WJl/+6h1bu3GgT5HZ3eAQlxMtGFCfcVp8cSDiqQxTI2vsET++oJio1THKOf0KAY+f skHqNORCsC9NhOSFGwb09l+yhRS9QiOJ/s/YjNKZT9HknpPJqCsiu8h/jcMJjjY8sYSR 9G86AXMxXKlI6JOFsFleTkF3WbsILBk86wREVq/SdwmdfR+DKJX28Oi+tWgJNp72l+u9 10tvW6kIicsGWYydOyaycheEe+spIhEsIVjW5/Wsb/1dTe81P1hv9+I8wuqYz2M5kyEn rsWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=77wNuJ+MH3Znt6UQ0C2oahokoB7cYtJnU1UPGNYtT+U=; b=PCzCf+ui7oaWLLdhcuAB84EKgzTuVsSDAUEG4BlqyxjcwwfPWZ9VD5d3iSdadQL2f9 +UJmVh4yfSzAPQh6EO8yl8fre1kcTqRXVwJ9wkWcRg+7OxfGvS1ETfKsWqtgeQkXTO31 tPUBK4639cQiGmzw00c0po6VWoTB+8bXaOcnn14Ayi8QGkSJkYAeCbnEgOaTELrKPXME VOpruvOt57lAGntIh8nsJRPbz5BFDBQ8OqtA8I7XkdFFooKk1bMVmkEsoskaK86QnVog YrPjaL/8bJW6cj2uIRlZM6qBcS9HVjz7evd8ZZyJ2+iLYxivj7SZLR1gMZst7eIDd8g8 x3yA== X-Gm-Message-State: APjAAAUElOB/HEHCW4hX0VERMHbFUL6J+JiUrxZ74BG8qclmcmhzUz3O rPQ/23zeACNUAS3cih3j0soDxDzzLBjb3xdM0aU= X-Google-Smtp-Source: APXvYqycitoUQag0JtqGqrkTzPEOMzAcOiDhkTjp07D6sy/odvZSiMbs09WMtXHHGE11nBH0bjxYJ+8U4ICScMpwQbE= X-Received: by 2002:a37:b345:: with SMTP id c66mr24157236qkf.219.1554780662624; Mon, 08 Apr 2019 20:31:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Anupama Laxmi Date: Tue, 9 Apr 2019 09:00:51 +0530 Message-ID: To: Shyam Shrivastav Cc: users X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: Re: [dpdk-users] To enable offloading DEV_TX_OFFLOAD_MULTI_SEGS per port and per queue X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" SGkgU2hyaXZhc3RhdiwKClRoYW5rcy5JIHN1cHBvc2Ugc2V0dGluZyBvbmx5CgpERVZfVFhfT0ZG TE9BRF9NVUxUSV9TRUdTIG9mZmxvYWQgaXMgcmVxdWlyZWQgZm9yCgpJUCBmcmFnbWVudGF0aW9u IHRvIHRha2VuI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tb2RlID0gewo+PiAgICAgICAgICAgICAgICAgLm1xX21vZGUg PSBFVEhfTVFfUlhfUlNTLAo+PiAgICAgICAgICAgICAgICAgLm1heF9yeF9wa3RfbGVuID0gSlVN Qk9fRlJBTUVfTUFYX1NJWkUsCj4+ICAgICAgICAgICAgICAgICAuc3BsaXRfaGRyX3NpemUgPSAw LAo+PiAgICAgICAgICAgICAgICAgLm9mZmxvYWRzID0gKERFVl9SWF9PRkZMT0FEX0NIRUNLU1VN IHwKPj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBERVZfUlhfT0ZGTE9BRF9DUkNfU1RS SVApLAo+PiAgICAgICAgIH0sCj4+ICAgICAgICAgLnJ4X2Fkdl9jb25mID0gewo+PiAgICAgICAg ICAgICAgICAgLnJzc19jb25mID0gewo+PiAgICAgICAgICAgICAgICAgICAgICAgICAucnNzX2tl eSA9IE5VTEwsCj4+ICAgICAgICAgICAgICAgICAgICAgICAgIC5yc3NfaGYgPSBFVEhfUlNTX1RD UHwgRVRIX1JTU19VRFAgfAo+PiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVUSF9SU1Nf VENQIHwgRVRIX1JTU19TQ1RQLAo+PiAgICAgICAgICAgICAgICAgfSwKPj4gICAgICAgICB9LAo+ PiAgICAgICAgIC50eG1vZGUgPSB7Cj4+ICAgICAgICAgICAgICAgICAubXFfbW9kZSA9IEVUSF9N UV9UWF9OT05FLAo+PiAgICAgICAgIH0sCj4+IH07Cj4+Cj4+Cj4+IHN0cnVjdCBydGVfZXRoX3R4 Y29uZiAqdHhfY29uZjsKPj4gc3RydWN0IHJ0ZV9ldGhfY29uZiBsb2NhbF9wb3J0X2NvbmYgPSBw b3J0X2NvbmY7Cj4+IGlmKGRldl9pbmZvLnR4X29mZmxvYWRfY2FwYSAmIERFVl9UWF9PRkZMT0FE X01VTFRJX1NFR1MpCj4+ICAgICAgICAgewo+Pgo+PiAgICAgICAgICAgIGxvY2FsX3BvcnRfY29u Zi50eG1vZGUub2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