Lines Matching refs:hwif
44 …dev_err(&hwdev->func_to_io.hwif->pdev->dev, "Failed to set MAC, err: %d, status: 0x%x, out size: 0… in hinic_set_mac()
62 link.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_notify_vf_link_status()
68 dev_err(&hwdev->hwif->pdev->dev, in hinic_notify_vf_link_status()
114 vf_vlan.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_vlan()
126 …dev_err(&hwdev->hwif->pdev->dev, "Failed to set VF %d vlan, err: %d, status: 0x%x, out size: 0x%x\… in hinic_set_vf_vlan()
142 rate_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_tx_rate_max_min()
150 …dev_err(&hwdev->hwif->pdev->dev, "Failed to set VF(%d) max rate(%d), min rate(%d), err: %d, status… in hinic_set_vf_tx_rate_max_min()
172 rate_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_rate_limit()
178 …dev_err(&hwdev->hwif->pdev->dev, "Failed to set VF(%d) rate(%d), err: %d, status: 0x%x, out size: … in hinic_set_vf_rate_limit()
203 dev_err(&hwdev->hwif->pdev->dev, "Current firmware doesn't support to set min tx rate\n"); in hinic_set_vf_tx_rate()
207 …dev_info(&hwdev->hwif->pdev->dev, "Current firmware doesn't support to set min tx rate, force min_… in hinic_set_vf_tx_rate()
220 func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_init_vf_config()
227 dev_err(&hwdev->func_to_io.hwif->pdev->dev, "Failed to set VF %d MAC\n", in hinic_init_vf_config()
237 dev_err(&hwdev->hwif->pdev->dev, "Failed to add VF %d VLAN_QOS\n", in hinic_init_vf_config()
247 dev_err(&hwdev->hwif->pdev->dev, "Failed to set VF %d max rate: %d, min rate: %d\n", in hinic_init_vf_config()
268 dev_err(&hw_dev->hwif->pdev->dev, "Register VF id %d exceed limit[0-%d]\n", in hinic_register_vf_msg_handler()
313 dev_err(&hw_dev->hwif->pdev->dev, "Failed to set VF %u mtu\n", in hinic_change_vf_mtu_msg_handler()
355 dev_warn(&hw_dev->hwif->pdev->dev, "PF has already set VF %d MAC address\n", in hinic_set_vf_mac_msg_handler()
365 dev_err(&hw_dev->hwif->pdev->dev, in hinic_set_vf_mac_msg_handler()
389 dev_warn(&hw_dev->hwif->pdev->dev, "PF has already set VF mac.\n"); in hinic_del_vf_mac_msg_handler()
398 …dev_err(&hw_dev->hwif->pdev->dev, "Failed to delete VF %d MAC, err: %d, status: 0x%x, out size: 0x… in hinic_del_vf_mac_msg_handler()
528 dev_err(&hwdev->hwif->pdev->dev, "Invalid VLAN number: %d\n", in hinic_update_mac()
543 dev_err(&hwdev->hwif->pdev->dev, in hinic_update_mac()
550 dev_warn(&hwdev->hwif->pdev->dev, "MAC is repeated. Ignore update operation\n"); in hinic_update_mac()
611 func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf; in hinic_set_vf_mac()
657 dev_info(&hwdev->hwif->pdev->dev, "Setting VLAN %d, QOS 0x%x on VF %d\n", in hinic_add_vf_vlan()
674 dev_info(&hwdev->hwif->pdev->dev, "Remove VLAN %d on VF %d\n", in hinic_kill_vf_vlan()
704 dev_err(&nic_dev->hwdev->hwif->pdev->dev, "Failed to delete VF %d MAC %pM vlan %d\n", in hinic_update_mac_vlan()
715 dev_err(&nic_dev->hwdev->hwif->pdev->dev, "Failed to add VF %d MAC %pM vlan %d\n", in hinic_update_mac_vlan()
911 spoofchk_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_spoofchk()
919 …dev_err(&hwdev->hwif->pdev->dev, "Failed to set VF(%d) spoofchk, err: %d, status: 0x%x, out size: … in hinic_set_vf_spoofchk()
1029 dev_err(&dev->hwif->pdev->dev, in nic_pf_mbox_handler()
1054 dev_err(&nic_io->hwif->pdev->dev, "PF receive VF L2NIC cmd: %d process error, err:%d\n", in nic_pf_mbox_handler()
1084 …dev_warn(&nic_io->hwif->pdev->dev, "Module Parameter set_vf_link_state value %d is out of range, r… in hinic_init_vf_infos()
1102 dev_err(&nic_io->hwif->pdev->dev, "Invalid input parameter set_vf_link_state: %d\n", in hinic_init_vf_infos()
1144 func_idx = hinic_glb_pf_vf_offset(nic_dev->hwdev->hwif) + idx; in hinic_deinit_vf_hw()
1161 dev_err(&hwdev->hwif->pdev->dev, "Failed to init vf mbox random id, err: %d\n", in hinic_vf_func_init()
1168 if (HINIC_IS_VF(hwdev->hwif)) { in hinic_vf_func_init()
1174 dev_err(&hwdev->hwif->pdev->dev, in hinic_vf_func_init()
1183 dev_err(&hwdev->hwif->pdev->dev, in hinic_vf_func_init()
1224 if (HINIC_IS_VF(hwdev->hwif)) { in hinic_vf_func_free()
1230 …dev_err(&hwdev->hwif->pdev->dev, "Failed to unregister VF, err: %d, status: 0x%x, out_size: 0x%x\n… in hinic_vf_func_free()
1248 func_idx = hinic_glb_pf_vf_offset(hwdev->hwif) + i; in hinic_init_vf_hw()