Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1511 struct dsaf_drv_soft_mac_tbl *soft_mac_entry; in hns_dsaf_find_soft_mac_entry() local
1514 soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_find_soft_mac_entry()
1517 if ((soft_mac_entry->index != DSAF_INVALID_ENTRY_IDX) && in hns_dsaf_find_soft_mac_entry()
1518 (soft_mac_entry->tcam_key.high.val == mac_key->high.val) && in hns_dsaf_find_soft_mac_entry()
1519 (soft_mac_entry->tcam_key.low.val == mac_key->low.val)) in hns_dsaf_find_soft_mac_entry()
1521 return soft_mac_entry->index; in hns_dsaf_find_soft_mac_entry()
1523 soft_mac_entry++; in hns_dsaf_find_soft_mac_entry()
1536 struct dsaf_drv_soft_mac_tbl *soft_mac_entry; in hns_dsaf_find_empty_mac_entry() local
1539 soft_mac_entry = priv->soft_mac_tbl; in hns_dsaf_find_empty_mac_entry()
1542 if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) in hns_dsaf_find_empty_mac_entry()
[all …]