Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema_iface.c317 u16 start_idx, num_macs, idx = 0, count = 0; in opa_vnic_query_mcast_macs() local
321 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_mcast_macs()
327 else if (num_macs == count) in opa_vnic_query_mcast_macs()
349 u16 start_idx, tot_macs, num_macs, idx = 0, count = 0, em_macs = 0; in opa_vnic_query_ucast_macs() local
353 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_ucast_macs()
367 else if (num_macs == count) in opa_vnic_query_ucast_macs()
379 else if (num_macs == count) in opa_vnic_query_ucast_macs()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c73 u16 num_macs = sriov->num_allowed_vlans + 1; in qlcnic_sriov_pf_cal_res_limit() local
88 num_macs = QLCNIC_83XX_SRIOV_VF_MAX_MAC; in qlcnic_sriov_pf_cal_res_limit()
96 temp = res->num_rx_ucast_mac_filters - num_macs * num_vfs; in qlcnic_sriov_pf_cal_res_limit()
98 temp = res->num_tx_mac_filters - num_macs * num_vfs; in qlcnic_sriov_pf_cal_res_limit()
100 temp = num_macs * num_vfs * QLCNIC_SRIOV_VF_MAX_MAC; in qlcnic_sriov_pf_cal_res_limit()
113 info->max_rx_ucast_mac_filters = num_macs; in qlcnic_sriov_pf_cal_res_limit()
114 info->max_tx_mac_filters = num_macs; in qlcnic_sriov_pf_cal_res_limit()
115 temp = num_macs * QLCNIC_SRIOV_VF_MAX_MAC; in qlcnic_sriov_pf_cal_res_limit()
/Linux-v5.4/net/atm/
Dmpc.c469 int num_macs; in copy_macs() local
470 num_macs = (mps_macs > 1) ? mps_macs : 1; in copy_macs()
472 if (mpc->number_of_mps_macs != num_macs) { /* need to reallocate? */ in copy_macs()
476 mpc->mps_macs = kmalloc_array(ETH_ALEN, num_macs, GFP_KERNEL); in copy_macs()
487 mpc->number_of_mps_macs = num_macs; in copy_macs()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dqmi_wlfw_v01.h318 u8 num_macs; member
Dqmi_wlfw_v01.c947 num_macs),
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1131 unsigned char *mac, int num_macs) in qede_set_mcast_rx_mac() argument
1139 filter_cmd.filter.mcast.num = num_macs; in qede_set_mcast_rx_mac()
1141 for (i = 0; i < num_macs; i++, mac += ETH_ALEN) in qede_set_mcast_rx_mac()