Searched refs:pf_dev (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c19 static u8_t lm_vf_get_free_sbs(struct _lm_device_t * pf_dev, u8_t num_rss) argument
22 u8_t max_num = pf_dev->params.base_fw_ndsb + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port;
23 free_sb = lm_vf_get_free_resource(pf_dev->pf_resources.free_sbs, pf_dev->params.base_fw_ndsb, max_num, num_rss);
25 DbgMessage3(pf_dev,FATAL,"lm_vf_get_free_sbs(%d-%d): %d\n",pf_dev->params.base_fw_ndsb, max_num, free_sb);
27 DbgMessage2(pf_dev,FATAL,"lm_vf_get_free_sbs(%d-%d): No more free SBs\n",pf_dev->params.base_fw_ndsb, max_num);
32 static u8_t lm_vf_get_free_clients(struct _lm_device_t * pf_dev, u8_ argument
45 lm_vf_get_free_stats(struct _lm_device_t * pf_dev) argument
60 lm_vf_get_free_cam_offset(struct _lm_device_t * pf_dev) argument
74 lm_vf_prep(struct _lm_device_t * pf_dev, struct _lm_device_t * vf_dev) argument
125 lm_vf_en(struct _lm_device_t * pf_dev, u16_t vf_num) argument
151 lm_vf_dis(struct _lm_device_t * pf_dev) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c352 lm_status_t lm_pf_clear_vfs(struct _lm_device_t * pf_dev)
360 DbgMessage(pf_dev, FATAL, "vf disable\n");
363 DbgMessage(pf_dev, FATAL, "vf disable: clear VFs connections from %d till %d\n",start_cid, end_cid);
365 pf_dev->vars.connections[ind_cids].con_state = LM_CON_STATE_CLOSE;
368 if (lm_is_function_after_flr(pf_dev)) {
369 pf_dev->vfs_set.number_of_enabled_vfs = 0;
370 DbgMessage(pf_dev, FATAL, "vf disable called on a flred function - not much we can do here... \n");
374 if (GET_FLAGS( pf_dev->params.test_mode, TEST_MODE_NO_MCP)){
375 DbgMessage(pf_dev, FATAL, "bootcode is down fix sriov disable.\n");
376 base_vfid = pf_dev
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h40 lm_vf_en(struct _lm_device_t * pf_dev, u16_t vf_num);
43 lm_vf_dis(struct _lm_device_t * pf_dev);
46 lm_vf_prep(struct _lm_device_t * pf_dev, struct _lm_device_t * vf_dev);
319 lm_status_t lm_pf_init_vf_client_init_data(struct _lm_device_t *pf_dev, lm_vf_info_t *vf_info, u8_t q_id,
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h131 #define IS_PFDEV(pdev) (((pdev)->pf_dev == NULL) && ((pdev)->params.device_type == DEVICE_TYPE_PF))
132 #define IS_VFDEV(pdev) (((pdev)->pf_dev != NULL) || ((pdev)->params.device_type == DEVICE_TYPE_VF))
3135 struct _lm_device_t* pf_dev; member in struct:_lm_device_t
4292 lm_device_t *pf_dev = pdev->pf_dev; local
4293 if (!pf_dev) {
4294 pf_dev = pdev;
4305 db_fill=REG_RD(pf_dev,DORQ_REG_DQ_FILL_LVLF);
4319 db_fill=REG_RD(pf_dev,DORQ_REG_DQ_FILL_LVLF);

Completed in 68 milliseconds