From: Zhang Changzhong <zhangchangzhong@huawei.com>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: <robin@protonic.nl>, <linux@rempel-privat.de>,
<kernel@pengutronix.de>, <socketcan@hartkopp.net>,
<mkl@pengutronix.de>, <davem@davemloft.net>, <kuba@kernel.org>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-can@vger.kernel.org>
Subject: Re: [PATCH net 0/4] support multipacket broadcast message
Date: Fri, 7 Aug 2020 17:36:38 +0800 [thread overview]
Message-ID: <24c3daa5-8243-0b80-9f4c-aa5883cb75da@huawei.com> (raw)
In-Reply-To: <20200806161027.py5ged3a23xpmxgi@pengutronix.de>
Hi Oleksij,
We have tested this j1939 stack according to SAE J1939-21. It works fine for
most cases, but when we test multipacket broadcast message function we found
the receiver can't receive those packets.
You can reproduce on CAN bus or vcan, for vcan case use cangw to connect vcan0
and vcan1:
sudo cangw -A -s vcan0 -d vcan1 -e
sudo cangw -A -s vcan1 -d vcan0 -e
To reproduce it use following commands:
testj1939 -B -r vcan1:0x90 &
testj1939 -B -s20 vcan0:0x80 :,0x12300
Besides, candump receives correct packets while testj1939 receives nothing.
Regards,
Zhang Changzhong
On 2020/8/7 0:10, Oleksij Rempel wrote:
> Hello,
>
> Thank you for your patches! Currently I'm busy, but I'll take a look at it as
> soon possible.
>
> btw. can you tell me about more of your use case/work. I would like to
> have some feedback about this stack. You can write a personal message,
> if it is not for public.
>
> On Wed, Aug 05, 2020 at 11:50:21AM +0800, Zhang Changzhong wrote:
>> Zhang Changzhong (4):
>> can: j1939: fix support for multipacket broadcast message
>> can: j1939: cancel rxtimer on multipacket broadcast session complete
>> can: j1939: abort multipacket broadcast session when timeout occurs
>> can: j1939: add rxtimer for multipacket broadcast session
>>
>> net/can/j1939/transport.c | 48 +++++++++++++++++++++++++++++++++++------------
>> 1 file changed, 36 insertions(+), 12 deletions(-)
>
> Regards,
> Oleksij
>
next prev parent reply other threads:[~2020-08-07 9:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-05 3:50 Zhang Changzhong
2020-08-05 3:50 ` [PATCH net 1/4] can: j1939: fix support for " Zhang Changzhong
2020-08-05 3:50 ` [PATCH net 2/4] can: j1939: cancel rxtimer on multipacket broadcast session complete Zhang Changzhong
2020-08-05 3:50 ` [PATCH net 3/4] can: j1939: abort multipacket broadcast session when timeout occurs Zhang Changzhong
2020-08-05 3:50 ` [PATCH net 4/4] can: j1939: add rxtimer for multipacket broadcast session Zhang Changzhong
2020-08-06 16:10 ` [PATCH net 0/4] support multipacket broadcast message Oleksij Rempel
2020-08-07 9:36 ` Zhang Changzhong [this message]
2020-08-07 13:15 ` Oleksij Rempel
2020-08-14 11:01 ` Oleksij Rempel
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=24c3daa5-8243-0b80-9f4c-aa5883cb75da@huawei.com \
--to=zhangchangzhong@huawei.com \
--cc=davem@davemloft.net \
--cc=kernel@pengutronix.de \
--cc=kuba@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rempel-privat.de \
--cc=mkl@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=robin@protonic.nl \
--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
all inboxes | Powered by JetHome®