lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH net-next 4/5] net: dsa: realtek: rtl8365mb: remove learn_limit_max private data member
> The variable is just assigned the value of a macro, so it can be
> removed.

The 10-ports devices do use a different value.

<10 ports
/* MAX LUT Address Number */
2112,

10-ports
/* MAX LUT Address Number 4096 + 64*/
4160,

I guess learn_limit_max could be migrated to the new
rtl8365mb_chip_info structure.

Regards,

Luiz

\
 
 \ /
  Last update: 2022-06-07 16:29    [W:0.136 / U:2.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site