linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] can: isotp TX-path cleanups
@ 2021-02-18 21:54 Marc Kleine-Budde
  2021-02-18 21:54 ` [net-rfc 1/2] can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD Marc Kleine-Budde
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marc Kleine-Budde @ 2021-02-18 21:54 UTC (permalink / raw)
  To: linux-can; +Cc: kernel

Hello

we've noticed that "candump -x" on normal CAN ISO-TP traffic shows:

| (2021-02-18 14:52:51.643904)  ca0  TX B E  713   [8]  20 0D 0E 0F AA AA AA AA

Note here the "B" and "E" flags are set. Another possibility is to use
skb_put_zero() instead of skb_put(), but with a bigger overhead. A 3.
option is to only memset() the non-data part of the struct canfd_frame.

regards,
Marc




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-04 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 21:54 [RFC] can: isotp TX-path cleanups Marc Kleine-Budde
2021-02-18 21:54 ` [net-rfc 1/2] can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD Marc Kleine-Budde
2021-02-18 21:54 ` [net-rfc 2/2] can: isotp: TX-path: ensure that CAN frame flags are initialized Marc Kleine-Budde
2021-03-04 16:17 ` [RFC] can: isotp TX-path cleanups Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).