linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rakuram Eswaran <rakuram.e96@gmail.com>
To: socketcan@hartkopp.net
Cc: linux-can@vger.kernel.org, mailhol@kernel.org, rakuram.e96@gmail.com
Subject: Re: [canxl v6 05/17] can: netlink: add initial CAN XL support
Date: Tue, 25 Nov 2025 11:03:26 +0530	[thread overview]
Message-ID: <20251125053326.6443-1-rakuram.e96@gmail.com> (raw)
In-Reply-To: feca32b7-9067-4877-ad64-5d4771ca0149@hartkopp.net

On Mon, 24 Nov 2025 at 00:28, Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>
> Hello Rakuram,
>
> some hints how to create a test setup for the CAN XL patches:
>
> You need to build your own CAN XL enabled "ip" tool from the iproute2
> package. This new code can be found in Vincents iproute2-next tree:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/mailhol/iproute2-next.git/
>
> You need to check out the canxl-netlink branch there:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/mailhol/iproute2-next.git/log/?h=canxl-netlink
>
> Once you've built that branch
>
> ./ip link set can0 type can help
>
> shows the new XL specific options.
>
> Of course you need the "can0" interface first:
>
> Load the dummy CAN driver:
>
> # modprobe dummy_can
>
> Enable the debugging to see the output in dmesg :
>
> # echo 'file drivers/net/can/dummy_can.c +p' >
> /sys/kernel/debug/dynamic_debug/control
>
> Then you can e.g. enable the CC/FD/XL mixed-mode without transceiver
> mode switching (TMS):
>
> # ./ip link set can0 type can bitrate 1000000 dbitrate 2000000 fd on
> xbitrate 4000000 xl on
>
> Or e.g. use the CANXL-only mode with TMS enabled:
>
> # ./ip link set can0 type can bitrate 1000000 xbitrate 12308000 xl on
> tms on fd off
>
> After setting the interface to 'up' with
>
> ./ip link set can0 up
>

Thank you for sharing the test steps. I'm going to look into this today.
Going to test using QEMU VM (I hope that works without any issues). 

Best Regards,
Rakuram

  reply	other threads:[~2025-11-25  5:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-22  9:35 [canxl v6 00/17] CAN XL support for review (full series) Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 01/17] can: dev: can_get_ctrlmode_str: use capitalized ctrlmode strings Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 02/17] can: bittiming: apply NL_SET_ERR_MSG() to can_calc_bittiming() Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 03/17] can: dev: can_dev_dropped_skb: drop CAN FD skbs if FD is off Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 04/17] can: netlink: add CAN_CTRLMODE_RESTRICTED Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 05/17] can: netlink: add initial CAN XL support Oliver Hartkopp
2025-11-23  6:52   ` Rakuram Eswaran
2025-11-23 13:13     ` Oliver Hartkopp
2025-11-23 18:58       ` Oliver Hartkopp
2025-11-25  5:33         ` Rakuram Eswaran [this message]
2025-11-22  9:35 ` [canxl v6 06/17] can: netlink: add CAN_CTRLMODE_XL_TMS flag Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 07/17] can: dev: can_dev_dropped_skb: drop CC/FD frames in CANXL-only mode Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 08/17] can: bittiming: add PWM parameters Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 09/17] can: bittiming: add PWM validation Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 10/17] can: calc_bittiming: add PWM calculation Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 11/17] can: netlink: add PWM netlink interface Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 12/17] can: calc_bittiming: get rid of the incorrect "nominal" word Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 13/17] can: calc_bittiming: add can_calc_sample_point_nrz() Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 14/17] can: calc_bittiming: add can_calc_sample_point_pwm() Oliver Hartkopp
2025-11-22  9:35 ` [canxl v6 15/17] can: add dummy_can driver Oliver Hartkopp
2025-11-22  9:36 ` [canxl v6 16/17] can: raw: instantly reject unsupported CAN frames Oliver Hartkopp
2025-11-22  9:36 ` [canxl v6 17/17] can: dev: print bitrate error with two decimal digits Oliver Hartkopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251125053326.6443-1-rakuram.e96@gmail.com \
    --to=rakuram.e96@gmail.com \
    --cc=linux-can@vger.kernel.org \
    --cc=mailhol@kernel.org \
    --cc=socketcan@hartkopp.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).