# Re: \[net-next 10/13\] can: length: can\_skb\_get\_frame\_len(): introduce function to get data length of frame in data link layer

- From: Marc Kleine-Budde \<mkl@pengutronix.de\>
- Date: 2021-01-11 08:13:17 
- List: linux-can
- Page: https://ratatoskr.run/linux-can/2021/01/9355016
- Thread: https://ratatoskr.run/linux-can/2021/01/9354995/t.md

```text
On 1/10/21 4:32 AM, Vincent MAILHOL wrote:
[...]

>> +/*
>> + * Maximum size of a CAN-FD frame (rough estimation because
>> + * ES58X_SFF_BYTES() and ES58X_EFF_BYTES() macros are using the
>> + * constant values for Classical CAN, not CAN-FD).
>> + */
> /*
>  * Maximum size of a CAN-FD frame
>  * (rounded up and ignoring bitstuffing)
>  */
> It is a leftover from my original comment. Does not apply anymore
> thanks to your newly introduced CANFD_FRAME_OVERHEAD_EFF macro.

Fixed.

Marc

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

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-can/2021/01/9355016/attachment/0) (application/pgp-signature, 488 bytes)
