From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 405E4C04AB5 for ; Thu, 6 Jun 2019 11:56:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 10A5C207E0 for ; Thu, 6 Jun 2019 11:56:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728665AbfFFL45 (ORCPT ); Thu, 6 Jun 2019 07:56:57 -0400 Received: from mx2.suse.de ([195.135.220.15]:44742 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727290AbfFFL44 (ORCPT ); Thu, 6 Jun 2019 07:56:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AA61BAF3E; Thu, 6 Jun 2019 11:56:55 +0000 (UTC) Date: Thu, 6 Jun 2019 13:56:55 +0200 From: Petr Vorel To: Leon Romanovsky Cc: Doug Ledford , Jason Gunthorpe , Leon Romanovsky , RDMA mailing list , Maor Gottlieb , Mark Bloch , Saeed Mahameed , linux-netdev Subject: Re: [PATCH rdma-next 2/3] RDMA/mlx5: Consider eswitch encap mode Message-ID: <20190606115655.GB30976@dell5510> Reply-To: Petr Vorel References: <20190606110609.11588-1-leon@kernel.org> <20190606110609.11588-3-leon@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606110609.11588-3-leon@kernel.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, > From: Maor Gottlieb > When flow steering is created, then the encap support should > consider the eswitch encap mode. If the eswitch flow table (FDB) > supports encap then it shouldn't be supported on NIC RX flow tables. > Fixes: 4adda1122c490 ('RDMA/mlx5: Enable decap and packet reformat on flow tables') > Signed-off-by: Maor Gottlieb > Signed-off-by: Leon Romanovsky Reviewed-by: Petr Vorel Kind regards, Petr