From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 52A9E1B854 for ; Tue, 15 May 2018 15:49:12 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id f8-v6so1246853wmc.4 for ; Tue, 15 May 2018 06:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Nvd+W1cZn9fjRX2RHP5eGTh8ONfiL+j8GJGIv7rbyNU=; b=mJvuO8AzhMFGQW9M8zfHJHDdq4xSMOUNZJE9Avgq1B0ub8JniDjeFVn2TvN/uodZXH 9Favsy4N3Ih07QSsNcan7qLzLjM+2c4+dPPnbxCOx0nP593mIJ7+pC/odeXstSH+2Pom tC9Fr7UiJsTewnIlZlp1ZyCcJYC9VJvFfWWqjG93sRjFirHIr+0q0Wv+VSZ13CdO3y0+ E5lsue5H5VL5B+AOXeR6g9aHylF+NkIRyYqusSQOsWUyvfdd2MgGKrmTmCEuCWvONjVv MLHVAgqqd3M6lm1L6HeD1YrYryjNLKp/yjwLALcR1ddrhhkh+GOfJmpjm6p/a3w5dH/9 kfjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Nvd+W1cZn9fjRX2RHP5eGTh8ONfiL+j8GJGIv7rbyNU=; b=EkQs4sDU7DFCSAInVk+tdqi76gf32YvNbEea9MO6d2f+co3lx6CLk14Y5pk8sYrN+q Uk43uzkRSonfTjNmglbEIJ2moMnqtPFQ2HBnIvPJDOU2m70JMleIJRlF+FTfeOCaS/Ni 7WjzSmr0X1IQ+Zb2vVDvzNoMIDjchR3fWL2L5X7rh8Ca8eWSXamyfxeoz5oHztWrMQbC 4/AWof1ERkLR2eT7giWUtIxjrSw5gdwaIum27LAhWXnwnJzKdyJll3GJqX3684CSICU1 WcF5DHXW/xwGLlhmBEzqdH7/fXW7eFvu/od0JP+fvJbjz0Zfij0bxELXMHUQpAlbzPTU aF/A== X-Gm-Message-State: ALKqPwdFDNEnGu8PLg3SYEC1U75TANEmjyJH+hia/NPjNsUjByMap++c EDfv1sJdbMYJwnaE0vc2w/A= X-Google-Smtp-Source: AB8JxZop1JNenBmmCDA+dHKVORilW5wr0WmHSgTOZa17mMxip5O/mvzpSPm4fSJ/HJxeBwsbXP6/LQ== X-Received: by 2002:a1c:8cc8:: with SMTP id o191-v6mr7717252wmd.83.1526392152057; Tue, 15 May 2018 06:49:12 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id y45-v6sm74114wrd.97.2018.05.15.06.49.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:49:11 -0700 (PDT) From: luca.boccassi@gmail.com To: Yongseok Koh Cc: Shahaf Shuler , dpdk stable Date: Tue, 15 May 2018 14:47:05 +0100 Message-Id: <20180515134731.9337-54-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mlx5: fix calculation of Tx TSO inline room size' has been queued to stable release 18.02.2 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: Tue, 15 May 2018 13:49:12 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 58c1ca6154da75d6a23f7c03bd236d866d6e7bdb Mon Sep 17 00:00:00 2001 From: Yongseok Koh Date: Tue, 8 May 2018 11:48:19 -0700 Subject: [PATCH] net/mlx5: fix calculation of Tx TSO inline room size [ upstream commit 95d7e115be89f071d672d9cfd5c0eb1b23fce5fc ] rdma-core doesn't add up max_tso_header size to max_inline_data size. The library takes bigger value between the two. Fixes: 43e9d9794cde ("net/mlx5: support upstream rdma-core") Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler --- drivers/net/mlx5/mlx5_txq.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index 9b96abef0..18892ff90 100644 --- a/drivers/net/mlx5/mlx5_txq.c +++ b/drivers/net/mlx5/mlx5_txq.c @@ -693,18 +693,6 @@ txq_set_params(struct mlx5_txq_ctrl *txq_ctrl) inline_max_packet_sz) + (RTE_CACHE_LINE_SIZE - 1)) / RTE_CACHE_LINE_SIZE) * RTE_CACHE_LINE_SIZE; - } else if (tso) { - int inline_diff = txq_ctrl->txq.max_inline - - max_tso_inline; - - /* - * Adjust inline value as Verbs aggregates - * tso_inline and txq_inline fields. - */ - txq_ctrl->max_inline_data = inline_diff > 0 ? - inline_diff * - RTE_CACHE_LINE_SIZE : - 0; } else { txq_ctrl->max_inline_data = txq_ctrl->txq.max_inline * RTE_CACHE_LINE_SIZE; -- 2.14.2