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()
342 if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G) in csio_ln_fdmi_rhba_cbfn()
344 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G) in csio_ln_fdmi_rhba_cbfn()
705 uint8_t portid; in csio_fcoe_enable_link() local
716 portid = ln->portid; in csio_fcoe_enable_link()
720 sub_op ? "UP" : "DOWN", portid); in csio_fcoe_enable_link()
723 portid, sub_op, 0, 0, 0, NULL); in csio_fcoe_enable_link()
727 portid); in csio_fcoe_enable_link()
736 "ret:x%x\n", sub_op ? "UP" : "DOWN", portid, retval); in csio_fcoe_enable_link()
750 if (hw->pport[i].portid == portid) in csio_fcoe_enable_link()
793 fcf_info->portid = FW_FCOE_FCF_CMD_PORTID_GET(rsp->fpma_to_portid); in csio_ln_read_fcf_cbfn()
827 ln->portid, ln->fcf_flowid, cbfn); in csio_ln_read_fcf_entry()
855 csio_handle_link_up(struct csio_hw *hw, uint8_t portid, uint32_t fcfi, in csio_handle_link_up() argument
864 ln = csio_ln_lookup_by_portid(hw, portid); in csio_handle_link_up()
867 portid); in csio_handle_link_up()
882 portid, vnpi); in csio_handle_link_up()
886 ln->portid = portid; in csio_handle_link_up()
896 csio_info(hw, "Port:%d - FCOE LINK UP\n", portid); in csio_handle_link_up()
1017 csio_handle_link_down(struct csio_hw *hw, uint8_t portid, uint32_t fcfi, in csio_handle_link_down() argument
1034 portid); in csio_handle_link_down()
1040 if (fp->portid != portid) { in csio_handle_link_down()
1043 "invalid port %d\n", portid); in csio_handle_link_down()
1057 csio_info(hw, "Port:%d - FCOE LINK DOWN\n", portid); in csio_handle_link_down()
1158 "Ignoring linkup on port:%d\n", ln->portid); in csio_lns_online()
1369 csio_get_phy_port_stats(struct csio_hw *hw, uint8_t portid, in csio_get_phy_port_stats() argument
1382 portparams.portid = portid; in csio_get_phy_port_stats()
1470 uint8_t portid, opcode = *(uint8_t *)cmd; in csio_fcoe_fwevt_handler() local
1482 portid = FW_FCOE_LINK_CMD_PORTID_GET( in csio_fcoe_fwevt_handler()
1491 csio_handle_link_up(hw, portid, fcfi, vnpi); in csio_fcoe_fwevt_handler()
1499 csio_handle_link_down(hw, portid, fcfi, vnpi); in csio_fcoe_fwevt_handler()
1946 csio_disable_lnodes(struct csio_hw *hw, uint8_t portid, bool disable) in csio_disable_lnodes() argument
1951 csio_dbg(hw, "Notifying event to all nodes of port:%d\n", portid); in csio_disable_lnodes()
1956 if (ln->portid != portid) in csio_disable_lnodes()