Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c2376 struct mlxsw_rx_listener_item *rxl_item; in __find_rx_listener_item() local
2378 list_for_each_entry(rxl_item, &mlxsw_core->rx_listener_list, list) { in __find_rx_listener_item()
2379 if (__is_rx_listener_equal(&rxl_item->rxl, rxl)) in __find_rx_listener_item()
2380 return rxl_item; in __find_rx_listener_item()
2389 struct mlxsw_rx_listener_item *rxl_item; in mlxsw_core_rx_listener_register() local
2391 rxl_item = __find_rx_listener_item(mlxsw_core, rxl); in mlxsw_core_rx_listener_register()
2392 if (rxl_item) in mlxsw_core_rx_listener_register()
2394 rxl_item = kmalloc(sizeof(*rxl_item), GFP_KERNEL); in mlxsw_core_rx_listener_register()
2395 if (!rxl_item) in mlxsw_core_rx_listener_register()
2397 rxl_item->rxl = *rxl; in mlxsw_core_rx_listener_register()
[all …]