Re: [PATCH 4/6] net: can: flexcan: Add provision for variable payload size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/30/2018 05:03 PM, Pankaj Bansal wrote:
>>> Till now the flexcan module supported 8 byte payload size as per CAN
>>> 2.0 specifications.
>>> But now upcoming flexcan module in NXP LX2160A SOC supports CAN FD
>>> protocol too.The Message buffers need to be configured to have payload
>>> size greater than 8 bytes (if flexcan module supports it)
>>>
>>> Therefore, added provision in the driver for payload size to be variable.
>>> BUT, limit the only possible payload value to be 8, because the CAN FD
>>> changes are not in place yet.
>>
>> What's the size of a CAN-FD mailbox? Is it fixed or configurable at runtime?
> 
> Flexible mailboxes configurable to store 0 to 8, 16, 32 or 64 bytes data length

Does it make any sense to store less than 64 bytes of data? What's the
total size of the mailbox then?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux