Lines Matching refs:mskid
1759 int mskid; in hns_dsaf_add_mac_mc_port() local
1814 mskid = mac_entry->port_num; in hns_dsaf_add_mac_mc_port()
1816 mskid = mac_entry->port_num - in hns_dsaf_add_mac_mc_port()
1825 dsaf_set_bit(mac_data.tbl_mcast_port_msk[mskid / 32], mskid % 32, 1); in hns_dsaf_add_mac_mc_port()
1917 int mskid; in hns_dsaf_del_mac_mc_port() local
1981 mskid = mac_entry->port_num; in hns_dsaf_del_mac_mc_port()
1983 mskid = mac_entry->port_num - in hns_dsaf_del_mac_mc_port()
1992 dsaf_set_bit(mac_data.tbl_mcast_port_msk[mskid / 32], mskid % 32, 0); in hns_dsaf_del_mac_mc_port()
2768 int mskid; in set_promisc_tcam_enable() local
2822 mskid = hns_dsaf_get_port_id(port); in set_promisc_tcam_enable()
2823 if (mskid == -EINVAL) { in set_promisc_tcam_enable()
2829 dsaf_set_bit(tbl_tcam_mcast.tbl_mcast_port_msk[mskid / 32], in set_promisc_tcam_enable()
2830 mskid % 32, 1); in set_promisc_tcam_enable()
2833 mskid = hns_dsaf_get_port_id(port_num); in set_promisc_tcam_enable()
2834 if (mskid == -EINVAL) { in set_promisc_tcam_enable()
2841 dsaf_set_bit(tbl_tcam_mcast.tbl_mcast_port_msk[mskid / 32], in set_promisc_tcam_enable()
2842 mskid % 32, 1); in set_promisc_tcam_enable()