public inbox for linux-can@vger.kernel.org
 help / color / mirror / Atom feed
* ip link valid options checking
@ 2021-07-07 17:45 Joshua Quesenberry
  2021-07-09 12:00 ` Vincent MAILHOL
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Quesenberry @ 2021-07-07 17:45 UTC (permalink / raw)
  To: linux-can; +Cc: engnfrc

Good Afternoon,

Do any of you know a way to check what options are valid when setting up a
CAN device with the ip link commands, either from bash or through C++? I'm
working on a piece of code that will get used on systems with varying CAN
drivers and for instance one of them doesn't support CAN-FD, so how would I
be able to know that setting the fd flag or dbitrate value would fail before
calling the setup command and seeing it fail?

Thanks,

Josh Q



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

end of thread, other threads:[~2021-07-13 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07 17:45 ip link valid options checking Joshua Quesenberry
2021-07-09 12:00 ` Vincent MAILHOL
2021-07-09 15:07   ` Stefan Mätje
2021-07-10 10:19     ` Oliver Hartkopp
2021-07-13 19:54       ` Stefan Mätje

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox