Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1462 priv->soft_mac_tbl = vzalloc(array_size(DSAF_TCAM_SUM, in hns_dsaf_init()
1463 sizeof(*priv->soft_mac_tbl))); in hns_dsaf_init()
1464 if (!priv->soft_mac_tbl) { in hns_dsaf_init()
1471 (priv->soft_mac_tbl + i)->index = DSAF_INVALID_ENTRY_IDX; in hns_dsaf_init()
1492 vfree(priv->soft_mac_tbl); in hns_dsaf_free()
1493 priv->soft_mac_tbl = NULL; in hns_dsaf_free()
1510 soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_find_soft_mac_entry()
1535 soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_find_empty_mac_entry()
1558 soft_mac_entry = priv->soft_mac_tbl + (DSAF_TCAM_SUM - 1); in hns_dsaf_find_empty_mac_entry_reverse()
1617 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