Lines Matching refs:mskid
1763 int mskid; in hns_dsaf_add_mac_mc_port() local
1818 mskid = mac_entry->port_num; in hns_dsaf_add_mac_mc_port()
1820 mskid = mac_entry->port_num - in hns_dsaf_add_mac_mc_port()
1829 dsaf_set_bit(mac_data.tbl_mcast_port_msk[mskid / 32], mskid % 32, 1); in hns_dsaf_add_mac_mc_port()
1921 int mskid; in hns_dsaf_del_mac_mc_port() local
1985 mskid = mac_entry->port_num; in hns_dsaf_del_mac_mc_port()
1987 mskid = mac_entry->port_num - in hns_dsaf_del_mac_mc_port()
1996 dsaf_set_bit(mac_data.tbl_mcast_port_msk[mskid / 32], mskid % 32, 0); in hns_dsaf_del_mac_mc_port()
2776 int mskid; in set_promisc_tcam_enable() local
2830 mskid = hns_dsaf_get_port_id(port); in set_promisc_tcam_enable()
2831 if (mskid == -EINVAL) { in set_promisc_tcam_enable()
2837 dsaf_set_bit(tbl_tcam_mcast.tbl_mcast_port_msk[mskid / 32], in set_promisc_tcam_enable()
2838 mskid % 32, 1); in set_promisc_tcam_enable()
2841 mskid = hns_dsaf_get_port_id(port_num); in set_promisc_tcam_enable()
2842 if (mskid == -EINVAL) { in set_promisc_tcam_enable()
2849 dsaf_set_bit(tbl_tcam_mcast.tbl_mcast_port_msk[mskid / 32], in set_promisc_tcam_enable()
2850 mskid % 32, 1); in set_promisc_tcam_enable()