Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1466 priv->soft_mac_tbl = vzalloc(array_size(DSAF_TCAM_SUM, in hns_dsaf_init()
1467 sizeof(*priv->soft_mac_tbl))); in hns_dsaf_init()
1468 if (!priv->soft_mac_tbl) { in hns_dsaf_init()
1475 (priv->soft_mac_tbl + i)->index = DSAF_INVALID_ENTRY_IDX; in hns_dsaf_init()
1496 vfree(priv->soft_mac_tbl); in hns_dsaf_free()
1497 priv->soft_mac_tbl = NULL; in hns_dsaf_free()
1514 soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_find_soft_mac_entry()
1539 soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_find_empty_mac_entry()
1562 soft_mac_entry = priv->soft_mac_tbl + (DSAF_TCAM_SUM - 1); in hns_dsaf_find_empty_mac_entry_reverse()
1621 struct dsaf_drv_soft_mac_tbl *soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_set_mac_uc_entry()
[all …]
Dhns_dsaf_main.h392 struct dsaf_drv_soft_mac_tbl *soft_mac_tbl; member