| /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-6.6/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 void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() argument 82 nfp_app_vnic_free(pf->app, nn); in nfp_net_pf_free_vnic() 85 pf->num_vnics--; in nfp_net_pf_free_vnic() 89 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() argument 93 list_for_each_entry_safe(nn, next, &pf->vnics, vnic_list) in nfp_net_pf_free_vnics() 95 nfp_net_pf_free_vnic(pf, nn); in nfp_net_pf_free_vnics() [all …]
|
| D | nfp_main.c | 72 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() argument 79 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_rtsym_read_optional() 81 val = nfp_rtsym_read_le(pf->rtbl, name, &err); in nfp_pf_rtsym_read_optional() 85 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); in nfp_pf_rtsym_read_optional() 93 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() argument 99 nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_map_rtsym() 101 return nfp_rtsym_map(pf->rtbl, pf_symbol, name, min_size, area); in nfp_pf_map_rtsym() 105 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() argument 113 if (!pf->mbox) in nfp_mbox_cmd() 116 max_data_sz = nfp_rtsym_size(pf->mbox) - NFP_MBOX_SYM_MIN_SIZE; in nfp_mbox_cmd() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_pf.c | 56 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local 60 if (pf->xdp_prog && new_mtu > MAX_XDP_MTU) { in otx2_change_mtu() 78 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() argument 80 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr() 83 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr() 84 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); in otx2_disable_flr_me_intr() 85 free_irq(irq, pf); in otx2_disable_flr_me_intr() 88 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr() 89 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); in otx2_disable_flr_me_intr() 90 free_irq(irq, pf); in otx2_disable_flr_me_intr() [all …]
|
| D | otx2_dmac_flt.c | 10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add() argument 17 mutex_lock(&pf->mbox.lock); in otx2_dmacflt_do_add() 19 req = otx2_mbox_alloc_msg_cgx_mac_addr_add(&pf->mbox); in otx2_dmacflt_do_add() 21 mutex_unlock(&pf->mbox.lock); in otx2_dmacflt_do_add() 26 err = otx2_sync_mbox_msg(&pf->mbox); in otx2_dmacflt_do_add() 30 otx2_mbox_get_rsp(&pf->mbox.mbox, 0, &req->hdr); in otx2_dmacflt_do_add() 32 mutex_unlock(&pf->mbox.lock); in otx2_dmacflt_do_add() 39 mutex_unlock(&pf->mbox.lock); in otx2_dmacflt_do_add() 43 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) in otx2_dmacflt_add_pfmac() argument 49 mutex_lock(&pf->mbox.lock); in otx2_dmacflt_add_pfmac() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_idc.c | 13 * @pf: pointer to PF struct 16 * pf->adev.dev to avoid race conditions. 18 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() argument 22 adev = pf->adev; in ice_get_auxiliary_drv() 32 * @pf: pointer to PF struct 35 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() argument 42 mutex_lock(&pf->adev_mutex); in ice_send_event_to_aux() 43 if (!pf->adev) in ice_send_event_to_aux() 46 device_lock(&pf->adev->dev); in ice_send_event_to_aux() 47 iadrv = ice_get_auxiliary_drv(pf); in ice_send_event_to_aux() [all …]
|
| D | ice_eswitch.c | 15 * @pf: pointer to PF struct 22 ice_eswitch_add_vf_sp_rule(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_add_vf_sp_rule() argument 24 struct ice_vsi *ctrl_vsi = pf->eswitch.control_vsi; in ice_eswitch_add_vf_sp_rule() 27 struct ice_hw *hw = &pf->hw; in ice_eswitch_add_vf_sp_rule() 50 dev_err(ice_pf_to_dev(pf), "Unable to add VF slow-path rule in switchdev mode for VF %d", in ice_eswitch_add_vf_sp_rule() 69 ice_rem_adv_rule_by_id(&vf->pf->hw, &vf->repr->sp_rule); in ice_eswitch_del_vf_sp_rule() 74 * @pf: pointer to PF struct 79 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() argument 81 struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi; in ice_eswitch_setup_env() 82 struct ice_vsi *ctrl_vsi = pf->eswitch.control_vsi; in ice_eswitch_setup_env() [all …]
|
| D | ice_irq.c | 10 * @pf: board private structure 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() argument 18 pf->irq_tracker.num_entries = max_vectors; in ice_init_irq_tracker() 19 pf->irq_tracker.num_static = num_static; in ice_init_irq_tracker() 20 xa_init_flags(&pf->irq_tracker.entries, XA_FLAGS_ALLOC); in ice_init_irq_tracker() 25 * @pf: board private structure 27 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() argument 29 xa_destroy(&pf->irq_tracker.entries); in ice_deinit_irq_tracker() 34 * @pf: board private structure 37 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() argument [all …]
|
| D | ice_main.c | 62 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 64 return &pf->pdev->dev; in ice_hw_to_dev() 72 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 74 static void ice_vsi_release_all(struct ice_pf *pf); 76 static int ice_rebuild_channels(struct ice_pf *pf); 110 * @pf: pointer to PF struct 112 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument 120 ice_for_each_vsi(pf, v) in ice_check_for_hang_subtask() 121 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask() 122 vsi = pf->vsi[v]; in ice_check_for_hang_subtask() [all …]
|
| D | ice_sriov.c | 19 * @pf: pointer to the PF structure 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() argument 26 struct ice_vfs *vfs = &pf->vfs; in ice_free_vf_entries() 50 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 68 last_vector_idx = vf->first_vector_idx + pf->vfs.num_msix_per - 1; in ice_free_vf_res() 76 wr32(&pf->hw, GLINT_DYN_CTL(i), GLINT_DYN_CTL_CLEARPBA_M); in ice_free_vf_res() 77 ice_flush(&pf->hw); in ice_free_vf_res() 90 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 96 hw = &pf->hw; in ice_dis_vf_mappings() 101 dev = ice_pf_to_dev(pf); in ice_dis_vf_mappings() [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 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_setets() 78 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets() [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-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_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_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_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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
| D | i40e_dcb_nl.c | 38 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local 41 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets() 44 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets() 76 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local 78 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc() 81 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getpfc() 92 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; in i40e_dcbnl_ieee_getpfc() 93 pfc->indications[i] = pf->stats.priority_xoff_rx[i]; in i40e_dcbnl_ieee_getpfc() 109 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets() local 113 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setets() [all …]
|
| D | i40e_ptp.c | 141 static int i40e_ptp_set_pins(struct i40e_pf *pf, 152 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work() local 154 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work() 172 ptp_clock_event(pf->ptp_clock, &event); in i40e_ptp_extts0_work() 189 * @pf: board private structure 192 * Return CAN_SET_PINS if pins can be set on a specific PF or 196 static enum i40e_can_set_pins i40e_can_set_pins(struct i40e_pf *pf) in i40e_can_set_pins() argument 198 if (!i40e_is_ptp_pin_dev(&pf->hw)) { in i40e_can_set_pins() 199 dev_warn(&pf->pdev->dev, in i40e_can_set_pins() 204 if (!pf->ptp_pins) { in i40e_can_set_pins() [all …]
|
| D | i40e_client.c | 84 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 85 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_vf_msg() 90 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_vf_msg() 95 dev_dbg(&pf->pdev->dev, "Client is not open, abort virtchnl_receive\n"); in i40e_notify_client_of_vf_msg() 110 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local 111 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_l2_param_changes() 146 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 154 wr32(&pf->hw, reg_idx, I40E_PFINT_LNKLSTN_FIRSTQ_INDX_MASK); in i40e_client_release_qvlist() 169 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local 170 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_netdev_close() [all …]
|
| D | i40e_debugfs.c | 22 * @pf: the PF structure to search for the vsi 25 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() argument 30 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi() 32 for (i = 0; i < pf->num_alloc_vsi; i++) in i40e_dbg_find_vsi() 33 if (pf->vsi[i] && (pf->vsi[i]->seid == seid)) in i40e_dbg_find_vsi() 34 return pf->vsi[i]; in i40e_dbg_find_vsi() 41 * @pf: the PF structure to search for the veb 44 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb() argument 49 if (pf->veb[i] && pf->veb[i]->seid == seid) in i40e_dbg_find_veb() 50 return pf->veb[i]; in i40e_dbg_find_veb() [all …]
|
| D | i40e_main.c | 35 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired); 38 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired); 39 static int i40e_setup_misc_vector(struct i40e_pf *pf); 40 static void i40e_determine_queue_usage(struct i40e_pf *pf); 41 static int i40e_setup_pf_filter_control(struct i40e_pf *pf); 42 static void i40e_prep_for_reset(struct i40e_pf *pf); 43 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit, 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 int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf); [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_main.c | 44 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 46 static void ice_vsi_release_all(struct ice_pf *pf); 67 * @pf: pointer to PF struct 69 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument 77 ice_for_each_vsi(pf, v) in ice_check_for_hang_subtask() 78 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask() 79 vsi = pf->vsi[v]; in ice_check_for_hang_subtask() 121 * @pf: board private structure 123 * Set initial set of MAC filters for PF VSI; configure filters for permanent 127 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() argument [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 …]
|