From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Subject: Re: [PATCH mlx5-next v1 1/4] net/mlx5: Declare more strictly devlink encap mode Date: Wed, 12 Jun 2019 14:36:24 +0200 Message-ID: <20190612123624.GA25535@x230> References: <20190612122014.22359-1-leon@kernel.org> <20190612122014.22359-2-leon@kernel.org> Reply-To: Petr Vorel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190612122014.22359-2-leon@kernel.org> Sender: netdev-owner@vger.kernel.org To: Leon Romanovsky Cc: Doug Ledford , Jason Gunthorpe , Leon Romanovsky , RDMA mailing list , Maor Gottlieb , Mark Bloch , Parav Pandit , Saeed Mahameed , linux-netdev , Jiri Pirko List-Id: linux-rdma@vger.kernel.org Hi Leon, > From: Leon Romanovsky > Devlink has UAPI declaration for encap mode, so there is no > need to be loose on the data get/set by drivers. > Update call sites to use enum devlink_eswitch_encap_mode > instead of plain u8. > Suggested-by: Parav Pandit > Signed-off-by: Leon Romanovsky > --- Reviewed-by: Petr Vorel Kind regards, Petr