From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Subject: Re: [PATCH] iplink_can: add support to set one-shot mode Date: Tue, 12 Jan 2010 22:17:04 +0100 Message-ID: <4B4CE6D0.1030803@grandegger.com> References: <1261569778-23669-1-git-send-email-mkl@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, shemminger-ZtmgI6mnKB3QT0dZR+AlfA@public.gmane.org To: Marc Kleine-Budde Return-path: In-Reply-To: <1261569778-23669-1-git-send-email-mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org Marc Kleine-Budde wrote: > This patch adds the flag CAN_CTRLMODE_ONE_SHOT. It is used as mask > or flag in the "struct can_ctrlmode". > > It also adds to "ip" the option to set a CAN controller into the special > "one-shot" mode. In this mode, if supported by the CAN controller, > tries only once to deliver a CAN frame and aborts it if an error > (e.g.: arbitration lost) happens. > > Signed-off-by: Marc Kleine-Budde > Acked-by: Wolfgang Grandegger Could this patch be considered for iproute2 inclusion? The corresponding kernel patch has been accepted in the meantime. Thanks, Wolfgang.