Lines Matching refs:portid

115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid)  in csio_ln_lookup_by_portid()  argument
123 if (ln->portid == portid) in csio_ln_lookup_by_portid()
352 if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G) in csio_ln_fdmi_rhba_cbfn()
354 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G) in csio_ln_fdmi_rhba_cbfn()
356 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_25G) in csio_ln_fdmi_rhba_cbfn()
358 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_40G) in csio_ln_fdmi_rhba_cbfn()
360 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_50G) in csio_ln_fdmi_rhba_cbfn()
362 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_100G) in csio_ln_fdmi_rhba_cbfn()
723 uint8_t portid; in csio_fcoe_enable_link() local
734 portid = ln->portid; in csio_fcoe_enable_link()
738 sub_op ? "UP" : "DOWN", portid); in csio_fcoe_enable_link()
741 portid, sub_op, 0, 0, 0, NULL); in csio_fcoe_enable_link()
745 portid); in csio_fcoe_enable_link()
754 "ret:x%x\n", sub_op ? "UP" : "DOWN", portid, retval); in csio_fcoe_enable_link()
768 if (hw->pport[i].portid == portid) in csio_fcoe_enable_link()
811 fcf_info->portid = FW_FCOE_FCF_CMD_PORTID_GET(rsp->fpma_to_portid); in csio_ln_read_fcf_cbfn()
845 ln->portid, ln->fcf_flowid, cbfn); in csio_ln_read_fcf_entry()
873 csio_handle_link_up(struct csio_hw *hw, uint8_t portid, uint32_t fcfi, in csio_handle_link_up() argument
882 ln = csio_ln_lookup_by_portid(hw, portid); in csio_handle_link_up()
885 portid); in csio_handle_link_up()
900 portid, vnpi); in csio_handle_link_up()
904 ln->portid = portid; in csio_handle_link_up()
914 csio_info(hw, "Port:%d - FCOE LINK UP\n", portid); in csio_handle_link_up()
1035 csio_handle_link_down(struct csio_hw *hw, uint8_t portid, uint32_t fcfi, in csio_handle_link_down() argument
1052 portid); in csio_handle_link_down()
1058 if (fp->portid != portid) { in csio_handle_link_down()
1061 "invalid port %d\n", portid); in csio_handle_link_down()
1075 csio_info(hw, "Port:%d - FCOE LINK DOWN\n", portid); in csio_handle_link_down()
1176 "Ignoring linkup on port:%d\n", ln->portid); in csio_lns_online()
1386 csio_get_phy_port_stats(struct csio_hw *hw, uint8_t portid, in csio_get_phy_port_stats() argument
1399 portparams.portid = portid; in csio_get_phy_port_stats()
1487 uint8_t portid, opcode = *(uint8_t *)cmd; in csio_fcoe_fwevt_handler() local
1499 portid = FW_FCOE_LINK_CMD_PORTID_GET( in csio_fcoe_fwevt_handler()
1508 csio_handle_link_up(hw, portid, fcfi, vnpi); in csio_fcoe_fwevt_handler()
1516 csio_handle_link_down(hw, portid, fcfi, vnpi); in csio_fcoe_fwevt_handler()
1965 csio_disable_lnodes(struct csio_hw *hw, uint8_t portid, bool disable) in csio_disable_lnodes() argument
1970 csio_dbg(hw, "Notifying event to all nodes of port:%d\n", portid); in csio_disable_lnodes()
1975 if (ln->portid != portid) in csio_disable_lnodes()