[v1,0/1] fix TSO problem
Message ID | cover.1589975173.git.cloud.wangxiaoyun@huawei.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3D299A0093; Wed, 20 May 2020 13:29:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB9451C23E; Wed, 20 May 2020 13:29:30 +0200 (CEST) Received: from huawei.com (szxga06-in.huawei.com [45.249.212.32]) by dpdk.org (Postfix) with ESMTP id B68531C234 for <dev@dpdk.org>; Wed, 20 May 2020 13:29:29 +0200 (CEST) Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DB6ED4404DFE740E0881; Wed, 20 May 2020 19:29:26 +0800 (CST) Received: from tester.localdomain (10.175.119.39) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Wed, 20 May 2020 19:29:20 +0800 From: Xiaoyun wang <cloud.wangxiaoyun@huawei.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <bluca@debian.org>, <luoxianjun@huawei.com>, <luoxingyu@huawei.com>, <zhouguoyang@huawei.com>, <yin.yinshi@huawei.com>, <david.yangxiaoliang@huawei.com>, <zhaohui8@huawei.com>, <zhengjingzhou@huawei.com>, Xiaoyun wang <cloud.wangxiaoyun@huawei.com> Date: Wed, 20 May 2020 19:52:58 +0800 Message-ID: <cover.1589975173.git.cloud.wangxiaoyun@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.119.39] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH v1 0/1] fix TSO problem X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Wangxiaoyun (Cloud)
May 20, 2020, 11:52 a.m. UTC
This patch fixes TSO problem, when TSO mss is smaller than 80, and the sum length of continus sge num is larger than a mss, which may cause hardware failed, so in this scenarios pmd driver should adjust the tso_segsz with the same with the value of hardware supported. -- v1: - fix TSO problem Xiaoyun wang (1): net/hinic: fix TSO problem drivers/net/hinic/hinic_pmd_tx.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)