Message ID | cover.1605493464.git.jackmin@nvidia.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 51444A04DB; Mon, 16 Nov 2020 08:55:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3E742C8B0; Mon, 16 Nov 2020 08:55:27 +0100 (CET) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 70EAD2BF1 for <dev@dpdk.org>; Mon, 16 Nov 2020 08:55:24 +0100 (CET) From: Xiaoyu Min <jackmin@mellanox.com> To: Cc: dev@dpdk.org, Xiaoyu Min <jackmin@nvidia.com> Date: Mon, 16 Nov 2020 15:55:13 +0800 Message-Id: <cover.1605493464.git.jackmin@nvidia.com> X-Mailer: git-send-email 2.24.0.rc0.3.g12a4aeaad8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/5] fix protocol size calculation 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> |
Series |
fix protocol size calculation
|
|
Message
Xiaoyu Min
Nov. 16, 2020, 7:55 a.m. UTC
From: Xiaoyu Min <jackmin@nvidia.com>
The rte_flow_item_eth, rte_flow_item_vlan, and rte_flow_item_ipv6
are refined. The structs do not exactly represent the real protocol
headers any more.
This serial patchs try to fix all related parts due to the changes.
Dekel Peled (1):
net/softnic: update headers size calculation
Xiaoyu Min (4):
net/mlx5: fix protocol size for raw encap judgement
app/flow-perf: fix protocol size for raw encap
net/bnxt: fix protocol size for VXLAN encap copy
net/iavf: fix protocol size for virtchnl copy
app/test-flow-perf/actions_gen.c | 136 ++++++++++-----------
drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 11 +-
drivers/net/iavf/iavf_fdir.c | 2 +-
drivers/net/mlx5/mlx5_flow.c | 12 +-
drivers/net/mlx5/mlx5_flow.h | 4 +-
drivers/net/softnic/rte_eth_softnic_flow.c | 8 +-
6 files changed, 86 insertions(+), 87 deletions(-)
Comments
16/11/2020 08:55, Xiaoyu Min: > From: Xiaoyu Min <jackmin@nvidia.com> > > The rte_flow_item_eth, rte_flow_item_vlan, and rte_flow_item_ipv6 > are refined. The structs do not exactly represent the real protocol > headers any more. > > This serial patchs try to fix all related parts due to the changes. > > Dekel Peled (1): > net/softnic: update headers size calculation > > Xiaoyu Min (4): > net/mlx5: fix protocol size for raw encap judgement > app/flow-perf: fix protocol size for raw encap > net/bnxt: fix protocol size for VXLAN encap copy Applied except the iavf patch (as discussed in the thread): > net/iavf: fix protocol size for virtchnl copy A follow-up is required for iavf PMD, and in general to make things clearer. A proposal is to have rte_net structs as first field of rte_flow items.