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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 78101ECE58D for ; Wed, 9 Oct 2019 09:15:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A05B21835 for ; Wed, 9 Oct 2019 09:15:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729817AbfJIJPP (ORCPT ); Wed, 9 Oct 2019 05:15:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfJIJPP (ORCPT ); Wed, 9 Oct 2019 05:15:15 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 15E6B308C1E6; Wed, 9 Oct 2019 09:15:15 +0000 (UTC) Received: from localhost (ovpn-204-237.brq.redhat.com [10.40.204.237]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4CFC81017E3C; Wed, 9 Oct 2019 09:15:13 +0000 (UTC) Date: Wed, 9 Oct 2019 11:15:11 +0200 From: Jiri Benc To: Simon Horman Cc: Xin Long , network dev , davem@davemloft.net, Thomas Graf , u9012063@gmail.com Subject: Re: [PATCHv2 net-next 2/6] lwtunnel: add LWTUNNEL_IP_OPTS support for lwtunnel_ip Message-ID: <20191009111511.0e173396@redhat.com> In-Reply-To: <20191009075526.fcx5wqmotzq5j5bj@netronome.com> References: <20191009075526.fcx5wqmotzq5j5bj@netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Wed, 09 Oct 2019 09:15:15 +0000 (UTC) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 9 Oct 2019 09:55:27 +0200, Simon Horman wrote: > This is the same concerned that was raised by others when I posed a patch > to allow setting of Geneve options in a similar manner. I think what is > called for here, as was the case in the Geneve work, is to expose netlink > attributes for each option that may be set and have the kernel form > these into the internal format (which appears to also be the wire format). I agree with Simon. Thanks, Jiri