Home
last modified time | relevance | path

Searched refs:max_sharindx (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/dsa/sja1105/
Dsja1105_vl.c322 int max_sharindx = 0; in sja1105_init_virtual_links() local
334 if (max_sharindx < rule->vl.sharindx) in sja1105_init_virtual_links()
335 max_sharindx = rule->vl.sharindx; in sja1105_init_virtual_links()
343 if (max_sharindx + 1 > SJA1105_MAX_VL_LOOKUP_COUNT) { in sja1105_init_virtual_links()
348 max_sharindx = max_t(int, num_virtual_links, max_sharindx) + 1; in sja1105_init_virtual_links()
455 table->entries = kcalloc(max_sharindx, table->ops->unpacked_entry_size, in sja1105_init_virtual_links()
459 table->entry_count = max_sharindx; in sja1105_init_virtual_links()
464 table->entries = kcalloc(max_sharindx, table->ops->unpacked_entry_size, in sja1105_init_virtual_links()
468 table->entry_count = max_sharindx; in sja1105_init_virtual_links()