| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_main.c | 39 * @pf: NFP PF handle 47 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() argument 74 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() argument 76 return nfp_pf_rtsym_read_optional(pf, "nfd_cfg_pf%u_num_ports", 1); in nfp_net_pf_get_num_ports() 79 static int nfp_net_pf_get_app_id(struct nfp_pf *pf) in nfp_net_pf_get_app_id() argument 81 return nfp_pf_rtsym_read_optional(pf, "_pf%u_net_app_id", in nfp_net_pf_get_app_id() 85 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() argument 88 nfp_app_vnic_free(pf->app, nn); in nfp_net_pf_free_vnic() 91 pf->num_vnics--; in nfp_net_pf_free_vnic() 95 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() argument [all …]
|
| D | nfp_main.c | 51 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() argument 58 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_rtsym_read_optional() 60 val = nfp_rtsym_read_le(pf->rtbl, name, &err); in nfp_pf_rtsym_read_optional() 64 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); in nfp_pf_rtsym_read_optional() 72 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() argument 78 nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_map_rtsym() 80 return nfp_rtsym_map(pf->rtbl, pf_symbol, name, min_size, area); in nfp_pf_map_rtsym() 84 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() argument 92 if (!pf->mbox) in nfp_mbox_cmd() 95 max_data_sz = nfp_rtsym_size(pf->mbox) - NFP_MBOX_SYM_MIN_SIZE; in nfp_mbox_cmd() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_main.c | 69 * @pf: NFP PF handle 77 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() argument 104 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() argument 106 return nfp_pf_rtsym_read_optional(pf, "nfd_cfg_pf%u_num_ports", 1); in nfp_net_pf_get_num_ports() 109 static int nfp_net_pf_get_app_id(struct nfp_pf *pf) in nfp_net_pf_get_app_id() argument 111 return nfp_pf_rtsym_read_optional(pf, "_pf%u_net_app_id", in nfp_net_pf_get_app_id() 115 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() argument 118 nfp_app_vnic_free(pf->app, nn); in nfp_net_pf_free_vnic() 121 pf->num_vnics--; in nfp_net_pf_free_vnic() 125 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() argument [all …]
|
| D | nfp_main.c | 79 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() argument 86 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_rtsym_read_optional() 88 val = nfp_rtsym_read_le(pf->rtbl, name, &err); in nfp_pf_rtsym_read_optional() 92 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); in nfp_pf_rtsym_read_optional() 100 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() argument 106 nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_map_rtsym() 108 return nfp_rtsym_map(pf->rtbl, pf_symbol, name, min_size, area); in nfp_pf_map_rtsym() 112 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() argument 122 if (!pf->mbox) in nfp_mbox_cmd() 125 cpp_id = NFP_CPP_ISLAND_ID(pf->mbox->target, NFP_CPP_ACTION_RW, 0, in nfp_mbox_cmd() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_pf.c | 67 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() argument 69 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr() 72 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr() 73 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); in otx2_disable_flr_me_intr() 74 free_irq(irq, pf); in otx2_disable_flr_me_intr() 77 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr() 78 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); in otx2_disable_flr_me_intr() 79 free_irq(irq, pf); in otx2_disable_flr_me_intr() 84 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in otx2_disable_flr_me_intr() 85 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME1); in otx2_disable_flr_me_intr() [all …]
|
| /kernel/linux/linux-5.10/drivers/block/paride/ |
| D | pf.c | 2 pf.c (c) 1997-8 Grant R. Guenther <grant@torque.net> 12 The behaviour of the pf driver can be altered by setting 70 (default "pf"). 91 pf.drive0 92 pf.drive1 93 pf.drive2 94 pf.drive3 95 pf.cluster 96 pf.nice 98 In addition, you can use the parameter pf.disable to disable [all …]
|
| /kernel/linux/linux-4.19/drivers/block/paride/ |
| D | pf.c | 2 pf.c (c) 1997-8 Grant R. Guenther <grant@torque.net> 12 The behaviour of the pf driver can be altered by setting 70 (default "pf"). 91 pf.drive0 92 pf.drive1 93 pf.drive2 94 pf.drive3 95 pf.cluster 96 pf.nice 98 In addition, you can use the parameter pf.disable to disable [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 30 * @pf: Board private structure 38 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, in i40e_ptp_read() argument 41 struct i40e_hw *hw = &pf->hw; in i40e_ptp_read() 58 * @pf: Board private structure 65 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() argument 67 struct i40e_hw *hw = &pf->hw; in i40e_ptp_write() 104 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq() local 105 struct i40e_hw *hw = &pf->hw; in i40e_ptp_adjfreq() 131 adj *= READ_ONCE(pf->ptp_adj_mult); in i40e_ptp_adjfreq() 148 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime() local [all …]
|
| D | i40e_main.c | 31 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired); 34 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired); 35 static int i40e_setup_misc_vector(struct i40e_pf *pf); 36 static void i40e_determine_queue_usage(struct i40e_pf *pf); 37 static int i40e_setup_pf_filter_control(struct i40e_pf *pf); 38 static void i40e_prep_for_reset(struct i40e_pf *pf, bool lock_acquired); 39 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit, 41 static int i40e_reset(struct i40e_pf *pf); 42 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired); 43 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf); [all …]
|
| D | i40e_debugfs.c | 21 * @pf: the PF structure to search for the vsi 24 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() argument 29 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi() 31 for (i = 0; i < pf->num_alloc_vsi; i++) in i40e_dbg_find_vsi() 32 if (pf->vsi[i] && (pf->vsi[i]->seid == seid)) in i40e_dbg_find_vsi() 33 return pf->vsi[i]; in i40e_dbg_find_vsi() 40 * @pf: the PF structure to search for the veb 43 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb() argument 48 if (pf->veb[i] && pf->veb[i]->seid == seid) in i40e_dbg_find_veb() 49 return pf->veb[i]; in i40e_dbg_find_veb() [all …]
|
| D | i40e_client.c | 86 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 87 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_vf_msg() 92 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_vf_msg() 97 dev_dbg(&pf->pdev->dev, "Client is not open, abort virtchnl_receive\n"); in i40e_notify_client_of_vf_msg() 112 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local 113 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_l2_param_changes() 148 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 156 wr32(&pf->hw, reg_idx, I40E_PFINT_LNKLSTN_FIRSTQ_INDX_MASK); in i40e_client_release_qvlist() 171 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local 172 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_netdev_close() [all …]
|
| D | i40e_virtchnl_pf.c | 10 * @pf: pointer to the PF structure 16 * send a message to all VFs on a given PF 18 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() argument 23 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast() 24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() 27 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast() 51 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 52 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state() 53 struct i40e_link_status *ls = &pf->hw.phy.link_info; in i40e_vc_notify_vf_link_state() 74 * @pf: pointer to the PF structure [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 29 * @pf: Board private structure 36 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read() argument 38 struct i40e_hw *hw = &pf->hw; in i40e_ptp_read() 53 * @pf: Board private structure 60 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() argument 62 struct i40e_hw *hw = &pf->hw; in i40e_ptp_write() 99 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq() local 100 struct i40e_hw *hw = &pf->hw; in i40e_ptp_adjfreq() 126 adj *= READ_ONCE(pf->ptp_adj_mult); in i40e_ptp_adjfreq() 144 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime() local [all …]
|
| D | i40e_main.c | 37 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired); 40 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit); 41 static int i40e_setup_misc_vector(struct i40e_pf *pf); 42 static void i40e_determine_queue_usage(struct i40e_pf *pf); 43 static int i40e_setup_pf_filter_control(struct i40e_pf *pf); 44 static void i40e_prep_for_reset(struct i40e_pf *pf, bool lock_acquired); 45 static int i40e_reset(struct i40e_pf *pf); 46 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired); 47 static void i40e_fdir_sb_setup(struct i40e_pf *pf); 49 static int i40e_get_capabilities(struct i40e_pf *pf, [all …]
|
| D | i40e_debugfs.c | 15 * @pf: the PF structure to search for the vsi 18 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() argument 23 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi() 25 for (i = 0; i < pf->num_alloc_vsi; i++) in i40e_dbg_find_vsi() 26 if (pf->vsi[i] && (pf->vsi[i]->seid == seid)) in i40e_dbg_find_vsi() 27 return pf->vsi[i]; in i40e_dbg_find_vsi() 34 * @pf: the PF structure to search for the veb 37 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb() argument 42 if (pf->veb[i] && pf->veb[i]->seid == seid) in i40e_dbg_find_veb() 43 return pf->veb[i]; in i40e_dbg_find_veb() [all …]
|
| D | i40e_client.c | 86 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 87 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_vf_msg() 92 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_vf_msg() 97 dev_dbg(&pf->pdev->dev, "Client is not open, abort virtchnl_receive\n"); in i40e_notify_client_of_vf_msg() 112 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local 113 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_l2_param_changes() 148 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 156 wr32(&pf->hw, reg_idx, I40E_PFINT_LNKLSTN_FIRSTQ_INDX_MASK); in i40e_client_release_qvlist() 171 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local 172 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_netdev_close() [all …]
|
| D | i40e_virtchnl_pf.c | 10 * @pf: pointer to the PF structure 16 * send a message to all VFs on a given PF 18 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() argument 23 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast() 24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() 27 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast() 51 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 52 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state() 53 struct i40e_link_status *ls = &pf->hw.phy.link_info; in i40e_vc_notify_vf_link_state() 74 * @pf: pointer to the PF structure [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_main.c | 43 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 45 static void ice_vsi_release_all(struct ice_pf *pf); 66 * @pf: pointer to PF struct 68 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument 76 ice_for_each_vsi(pf, v) in ice_check_for_hang_subtask() 77 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask() 78 vsi = pf->vsi[v]; in ice_check_for_hang_subtask() 120 * @pf: board private structure 122 * Set initial set of MAC filters for PF VSI; configure filters for permanent 126 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() argument [all …]
|
| D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() local 18 while (ice_is_reset_in_progress(pf->state)) in ice_dcbnl_devreset() 35 struct ice_pf *pf; in ice_dcbnl_getets() local 37 pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getets() 38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets() 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets() local 69 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_setets() 70 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ice_dcbnl_setets() 73 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets() 75 mutex_lock(&pf->tc_mutex); in ice_dcbnl_setets() [all …]
|
| D | ice_devlink.c | 9 static void ice_info_get_dsn(struct ice_pf *pf, char *buf, size_t len) in ice_info_get_dsn() argument 14 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn() 19 static int ice_info_pba(struct ice_pf *pf, char *buf, size_t len) in ice_info_pba() argument 21 struct ice_hw *hw = &pf->hw; in ice_info_pba() 27 dev_dbg(ice_pf_to_dev(pf), "Failed to read Product Board Assembly string, status %s\n", in ice_info_pba() 33 static int ice_info_fw_mgmt(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_mgmt() argument 35 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt() 43 static int ice_info_fw_api(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_api() argument 45 struct ice_hw *hw = &pf->hw; in ice_info_fw_api() 52 static int ice_info_fw_build(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_build() argument [all …]
|
| D | ice_virtchnl_pf.c | 11 * @pf: pointer to the PF structure 14 static int ice_validate_vf_id(struct ice_pf *pf, u16 vf_id) in ice_validate_vf_id() argument 17 if (vf_id >= pf->num_alloc_vfs) { in ice_validate_vf_id() 18 dev_err(ice_pf_to_dev(pf), "Invalid VF ID: %u\n", vf_id); in ice_validate_vf_id() 26 * @pf: pointer to the PF structure 29 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf) in ice_check_vf_init() argument 32 dev_err(ice_pf_to_dev(pf), "VF ID: %u in reset. Try again.\n", in ice_check_vf_init() 71 * ice_vc_vf_broadcast - Broadcast a message to all VFs on PF 72 * @pf: pointer to the PF structure 79 ice_vc_vf_broadcast(struct ice_pf *pf, enum virtchnl_ops v_opcode, in ice_vc_vf_broadcast() argument [all …]
|
| D | ice_dcb_lib.c | 15 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_netdev_tc() local 31 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_cfg_netdev_tc() 67 * @pf: pointer to PF structure 72 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() argument 79 vsi = ice_get_main_vsi(pf); in ice_is_pfc_causing_hung_q() 97 up2tc = rd32(&pf->hw, PRTDCB_TUP2TC); in ice_is_pfc_causing_hung_q() 111 ref_prio_xoff[i] = pf->stats.priority_xoff_rx[i]; in ice_is_pfc_causing_hung_q() 113 ice_update_dcb_stats(pf); in ice_is_pfc_causing_hung_q() 117 if (pf->stats.priority_xoff_rx[i] > ref_prio_xoff[i]) in ice_is_pfc_causing_hung_q() 231 * @pf: pointer to the PF struct [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
| D | hclge_mbx.h | 11 HCLGE_MBX_RESET = 0x01, /* (VF -> PF) assert reset */ 12 HCLGE_MBX_ASSERTING_RESET, /* (PF -> VF) PF is asserting reset*/ 13 HCLGE_MBX_SET_UNICAST, /* (VF -> PF) set UC addr */ 14 HCLGE_MBX_SET_MULTICAST, /* (VF -> PF) set MC addr */ 15 HCLGE_MBX_SET_VLAN, /* (VF -> PF) set VLAN */ 16 HCLGE_MBX_MAP_RING_TO_VECTOR, /* (VF -> PF) map ring-to-vector */ 17 HCLGE_MBX_UNMAP_RING_TO_VECTOR, /* (VF -> PF) unamp ring-to-vector */ 18 HCLGE_MBX_SET_PROMISC_MODE, /* (VF -> PF) set promiscuous mode */ 19 HCLGE_MBX_SET_MACVLAN, /* (VF -> PF) set unicast filter */ 20 HCLGE_MBX_API_NEGOTIATE, /* (VF -> PF) negotiate API version */ [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/ice/ |
| D | ice_main.c | 32 static void ice_pf_dis_all_vsi(struct ice_pf *pf); 33 static void ice_rebuild(struct ice_pf *pf); 36 static void ice_update_pf_stats(struct ice_pf *pf); 109 * @pf: board private structure 120 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id) in ice_get_res() argument 124 if (!res || !pf) in ice_get_res() 128 dev_err(&pf->pdev->dev, in ice_get_res() 184 struct ice_pf *pf = vsi->back; in ice_add_mac_to_list() local 186 tmp = devm_kzalloc(&pf->pdev->dev, sizeof(*tmp), GFP_ATOMIC); in ice_add_mac_to_list() 287 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_pf.c | 11 #define ENETC_DRV_NAME_STR "ENETC PF driver" 54 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() argument 56 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc() 57 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_enable_si_vlan_promisc() 60 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() argument 62 pf->vlan_promisc_simap &= ~BIT(si_idx); in enetc_disable_si_vlan_promisc() 63 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_disable_si_vlan_promisc() 145 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() argument 147 struct enetc_mac_filter *f = pf->mac_filter; in enetc_sync_mac_filters() 148 struct enetc_si *si = pf->si; in enetc_sync_mac_filters() [all …]
|