From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by dpdk.org (Postfix) with ESMTP id 3A76B1B468 for ; Thu, 12 Jul 2018 11:31:25 +0200 (CEST) Received: by mail-wr1-f46.google.com with SMTP id a3-v6so11741719wrt.2 for ; Thu, 12 Jul 2018 02:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BJtm1d853bsqwIm3WmWAFS6al1012SqMyjKrsv9NEqo=; b=TMRenD5aLBNcevFaCPJw/fouvcAehHJiIluYPvxA0MCTqftgaq4lMrna+S002ftZ63 pFsT1NLpdXzE5RGIKBICp3F8frtxvrWbz0aQPnfv50yayXpQLsTJfo89gjEmlRUQ+Gzn hQcuHxLZwzAvRNXGFA/3/gXh9XmHltD8sZuYo1lsU1RqHbcgjgw+XJdv+rYhI4mK3F1b +1drccQFfhdQCi147B3Y8R90YmkUxdbUPH3h09hRLHq/PNjFGSoppNW+p9g/BIMPoUep 9ypx1An8b3HfDCASFa1Ftfi8AvLwUa6wcp3DkUzoSyj9z03YoZTgC+lUC3c9qMl9L56U 4rbQ== 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=BJtm1d853bsqwIm3WmWAFS6al1012SqMyjKrsv9NEqo=; b=M1ZAI4aa/VF5xv1v5FNSiL7OJ8cWyA7OuJgkWpc8GnoXZHRZdlmwhEfNM2yknLjDAN 3aGJuxaRhjbUqsBW7A7k6OQURAPo7Wb6ATGx42cO3rOhVmG6yIqKAfDtZKVc2pQHXCma w1qeWiw18IQzSXmQy3hGirrcHpdjmvoW/8MC1NQz8nRg5Jxmn80XeFY8qptnLWOcePIV CRRHFS6yOR5NDQKtpAV5iiFyojEgvAdrPk/DTSHmf8iuc0MHEWGsb6iBjh4q3ljN0TX2 wVIFI+8K9382wDZCgJHg6jkic/a+lhIgBLF5OrpKZa664kdvHAtmtM560zaCSxmodsd0 AAIA== X-Gm-Message-State: AOUpUlH8/DNfLusGRjmYudOUjXoatSyBHh7NQbjEX8qWR012qTJ7sjxp bhMZcs5OJ+wuafiPFKcLF0XTlv3/3Q== X-Google-Smtp-Source: AAOMgpdlpGSBgwjprwfUJW23lxSOJ2Uiw5XVI4NFy5cgmkkgepGPHU9d+WG0myX0KwcZ4Sc+iFdHOA== X-Received: by 2002:adf:9183:: with SMTP id 3-v6mr1132447wri.122.1531387884674; Thu, 12 Jul 2018 02:31:24 -0700 (PDT) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id s2-v6sm18717603wrn.75.2018.07.12.02.31.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 02:31:23 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org, Yongseok Koh Cc: Adrien Mazarguil Date: Thu, 12 Jul 2018 11:30:46 +0200 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v4 00/21] net/mlx5: flow rework 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: , X-List-Received-Date: Thu, 12 Jul 2018 09:31:25 -0000 Re-work flow engine to support port redirection actions through TC. This first series depends on [1] which is implemented in commit "net/mlx5: support inner RSS computation" and on [2]. Next series will bring the port redirection as announced[3]. [1] https://mails.dpdk.org/archives/dev/2018-July/107378.html [2] https://mails.dpdk.org/archives/dev/2018-June/104192.html [3] https://mails.dpdk.org/archives/dev/2018-May/103043.html Changes in v4: - fix compilation on redhat 7.5 without Mellanox OFED. - avoid multiple pattern parsing for the expansion. Changes in v3: - remove redundant parameters in drop queues internal API. - simplify the RSS expansion by only adding missing items in the pattern. - document all functions. Nelio Laranjeiro (21): net/mlx5: remove flow support net/mlx5: handle drop queues as regular queues net/mlx5: replace verbs priorities by flow net/mlx5: support flow Ethernet item along with drop action net/mlx5: add flow queue action net/mlx5: add flow stop/start net/mlx5: add flow VLAN item net/mlx5: add flow IPv4 item net/mlx5: add flow IPv6 item net/mlx5: add flow UDP item net/mlx5: add flow TCP item net/mlx5: add mark/flag flow action net/mlx5: use a macro for the RSS key size net/mlx5: add RSS flow action net/mlx5: remove useless arguments in hrxq API net/mlx5: support inner RSS computation net/mlx5: add flow VXLAN item net/mlx5: add flow VXLAN-GPE item net/mlx5: add flow GRE item net/mlx5: add flow MPLS item net/mlx5: add count flow action drivers/net/mlx5/mlx5.c | 22 +- drivers/net/mlx5/mlx5.h | 18 +- drivers/net/mlx5/mlx5_ethdev.c | 14 +- drivers/net/mlx5/mlx5_flow.c | 4821 ++++++++++++++++---------------- drivers/net/mlx5/mlx5_prm.h | 3 + drivers/net/mlx5/mlx5_rss.c | 7 +- drivers/net/mlx5/mlx5_rxq.c | 281 +- drivers/net/mlx5/mlx5_rxtx.h | 21 +- 8 files changed, 2640 insertions(+), 2547 deletions(-) -- 2.18.0