Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp139657iob; Tue, 17 May 2022 21:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLlTTQaY9WYLcVA2YjeJLPu7aAfw8cZ0VJojAbBNuNNpV1nuS++bSWsmAA91Am++rN+uP8 X-Received: by 2002:a17:902:bf4c:b0:15c:3d1b:8a47 with SMTP id u12-20020a170902bf4c00b0015c3d1b8a47mr26090863pls.118.1652848495219; Tue, 17 May 2022 21:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652848495; cv=none; d=google.com; s=arc-20160816; b=MP05BUTFa49pggh2PS+BrHLlYB9QWudDGVKijdpMCtPANC0JHs6ZMTcWKA3ezQIxHY eooZGAlOlkNMYocl8utoRLZ8W7mKnt8ZeEvknQ6sdmPl0FJSgaQPzmRLRnessgV+Xplo vAdF2IdgkEjV9ZEMd88Vilz/4oNNvqFcyL2KpJeo24TNgqovmEgNBWKILEM/jMkI9Hp5 C6aYRhMZL6M+Ab3gOiLIWKQIV7RzvcXmTd3lFeZ8OqM8L24FWVpCSsmcjInMGLpWs367 UF96+p9aQQEMxOkRcBE7Z6OZ+b4XT8su1Mn4SiSU1o3jSj/uVS/O/cYdL9+UaYM31DGA cUvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=5gz+Y+7j/+mQNl55QVuTZF8ubyR1QYSdq15WrJtqRWI=; b=0WKw9/3L2b2fSrW8MYnsTHgViX65DHdYAaLZzoZCT/VgddNjuDB+a4N0PcMOpf8Eth 16ZwlxlJNpxaQVTPDdeGKI8WJKDgYpG/k1QvE8u8FIWB5UIAdcnRWNZLIJtW+gKHNz6+ siogWSXL3YHsoHXtOQYQRH7tIozKzq69O7QSKVueUytZcPqNYQuKoqbhSMCDPzN9uEmE ERZeJ2gsPWIucEV2EdKYOf/s1BNq2HCS9HVM0hjVogMOkZoJGvKMKcbaoJYjjcNarGgc fas926GhdpRMsvN9f16baKbFJvx7FXTICjnLDZ6Mt/3om+omghfJ1NUjD7SxHq8OkbzK XxkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j15-20020a170903024f00b0015d50baea7dsi1398340plh.212.2022.05.17.21.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:34:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 09C32B227F; Tue, 17 May 2022 20:53:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347965AbiEQNnI (ORCPT + 99 others); Tue, 17 May 2022 09:43:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240623AbiEQNnG (ORCPT ); Tue, 17 May 2022 09:43:06 -0400 Received: from mail.enpas.org (zhong.enpas.org [IPv6:2a03:4000:2:537::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE37A4B1F3; Tue, 17 May 2022 06:43:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id B6671FF88D; Tue, 17 May 2022 13:43:03 +0000 (UTC) Date: Tue, 17 May 2022 15:43:01 +0200 From: Max Staudt To: Oliver Hartkopp Cc: Marc Kleine-Budde , Vincent MAILHOL , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v3 3/4] can: skb:: move can_dropped_invalid_skb and can_skb_headroom_valid to skb.c Message-ID: <20220517154301.5bf99ba9.max@enpas.org> In-Reply-To: <0b505b1f-1ee4-5a2c-3bbf-6e9822f78817@hartkopp.net> References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220514141650.1109542-1-mailhol.vincent@wanadoo.fr> <20220514141650.1109542-4-mailhol.vincent@wanadoo.fr> <7b1644ad-c117-881e-a64f-35b8d8b40ef7@hartkopp.net> <20220517060821.akuqbqxro34tj7x6@pengutronix.de> <20220517104545.eslountqjppvcnz2@pengutronix.de> <20220517141404.578d188a.max@enpas.org> <20220517122153.4r6n6kkbdslsa2hv@pengutronix.de> <20220517143921.08458f2c.max@enpas.org> <0b505b1f-1ee4-5a2c-3bbf-6e9822f78817@hartkopp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 May 2022 15:35:03 +0200 Oliver Hartkopp wrote: > Oh, I didn't want to introduce two new kernel modules but to have > can_dev in different 'feature levels'. Which I agree is a nice idea, as long as heisenbugs can be avoided :) (as for the separate modules vs. feature levels of can-dev - sorry, my two paragraphs were each referring to a different idea. I mixed them into one single email...) Maybe the can-skb and rx-offload parts could be a *visible* sub-option of can-dev in Kconfig, which is normally optional, but immediately force-selected once a CAN HW driver is selected? > But e.g. the people that are running Linux instances in a cloud only > using vcan and vxcan would not need to carry the entire > infrastructure of CAN hardware support and rx-offload. Out of curiosity, do you have an example use case for this vcan cloud setup? I can't dream one up... Max