| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | ingress_ofld.c | 10 acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport); 14 const struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_enabled() argument 17 mlx5_eswitch_is_vf_vport(esw, vport->vport)); in esw_acl_ingress_prio_tag_enabled() 21 struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_create() argument 46 if (vport->ingress.offloads.modify_metadata_rule) { in esw_acl_ingress_prio_tag_create() 48 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata; in esw_acl_ingress_prio_tag_create() 51 vport->ingress.allow_rule = mlx5_add_flow_rules(vport->ingress.acl, spec, in esw_acl_ingress_prio_tag_create() 53 if (IS_ERR(vport->ingress.allow_rule)) { in esw_acl_ingress_prio_tag_create() 54 err = PTR_ERR(vport->ingress.allow_rule); in esw_acl_ingress_prio_tag_create() 56 "vport[%d] configure ingress untagged allow rule, err(%d)\n", in esw_acl_ingress_prio_tag_create() [all …]
|
| H A D | egress_ofld.c | 9 static void esw_acl_egress_ofld_fwd2vport_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_fwd2vport_destroy() argument 11 if (!vport->egress.offloads.fwd_rule) in esw_acl_egress_ofld_fwd2vport_destroy() 14 mlx5_del_flow_rules(vport->egress.offloads.fwd_rule); in esw_acl_egress_ofld_fwd2vport_destroy() 15 vport->egress.offloads.fwd_rule = NULL; in esw_acl_egress_ofld_fwd2vport_destroy() 18 void esw_acl_egress_ofld_bounce_rule_destroy(struct mlx5_vport *vport, int rule_index) in esw_acl_egress_ofld_bounce_rule_destroy() argument 21 xa_load(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy() 27 xa_erase(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy() 30 static void esw_acl_egress_ofld_bounce_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_bounce_rules_destroy() argument 35 xa_for_each(&vport->egress.offloads.bounce_rules, i, bounce_rule) { in esw_acl_egress_ofld_bounce_rules_destroy() 37 xa_erase(&vport->egress.offloads.bounce_rules, i); in esw_acl_egress_ofld_bounce_rules_destroy() [all …]
|
| H A D | ingress_lgcy.c | 9 static void esw_acl_ingress_lgcy_rules_destroy(struct mlx5_vport *vport) in esw_acl_ingress_lgcy_rules_destroy() argument 11 if (vport->ingress.legacy.drop_rule) { in esw_acl_ingress_lgcy_rules_destroy() 12 mlx5_del_flow_rules(vport->ingress.legacy.drop_rule); in esw_acl_ingress_lgcy_rules_destroy() 13 vport->ingress.legacy.drop_rule = NULL; in esw_acl_ingress_lgcy_rules_destroy() 15 esw_acl_ingress_allow_rule_destroy(vport); in esw_acl_ingress_lgcy_rules_destroy() 19 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_groups_create() argument 42 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create() 45 esw_warn(dev, "vport[%d] ingress create untagged spoofchk flow group, err(%d)\n", in esw_acl_ingress_lgcy_groups_create() 46 vport->vport, err); in esw_acl_ingress_lgcy_groups_create() 49 vport->ingress.legacy.allow_untagged_spoofchk_grp = g; in esw_acl_ingress_lgcy_groups_create() [all …]
|
| H A D | helper.c | 9 esw_acl_table_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport, int ns, int size) in esw_acl_table_create() argument 26 vport_num = vport->vport; in esw_acl_table_create() 27 esw_debug(dev, "Create vport[%d] %s ACL table\n", vport_num, in esw_acl_table_create() 30 root_ns = mlx5_get_flow_vport_namespace(dev, ns, vport->index); in esw_acl_table_create() 32 esw_warn(dev, "Failed to get E-Switch root namespace for vport (%d)\n", in esw_acl_table_create() 43 esw_warn(dev, "vport[%d] create %s ACL table, err(%d)\n", vport_num, in esw_acl_table_create() 50 struct mlx5_vport *vport, in esw_egress_acl_vlan_create() argument 58 if (vport->egress.allowed_vlan) in esw_egress_acl_vlan_create() 72 vport->egress.allowed_vlan = in esw_egress_acl_vlan_create() 73 mlx5_add_flow_rules(vport->egress.acl, spec, in esw_egress_acl_vlan_create() [all …]
|
| /linux/net/openvswitch/ |
| H A D | vport-netdev.c | 22 #include "vport.h" 23 #include "vport-internal_dev.h" 24 #include "vport-netdev.h" 31 struct vport *vport; in netdev_port_receive() local 33 vport = ovs_netdev_get_vport(skb->dev); in netdev_port_receive() 34 if (unlikely(!vport)) in netdev_port_receive() 50 ovs_vport_receive(vport, skb, skb_tunnel_info(skb)); in netdev_port_receive() 70 struct vport *local; in get_dpdev() 76 static struct vport *ovs_netdev_link(struct vport *vport) in ovs_netdev_link() argument 80 if (WARN_ON_ONCE(!vport->dev)) { in ovs_netdev_link() [all …]
|
| H A D | vport.c | 21 #include "vport.h" 22 #include "vport-internal_dev.h" 31 * ovs_vport_init - initialize vport subsystem 33 * Called at module load time to initialize the vport subsystem. 45 * ovs_vport_exit - shutdown vport subsystem 47 * Called at module exit time to shutdown the vport subsystem. 92 struct vport *ovs_vport_locate(const struct net *net, const char *name) in ovs_vport_locate() 95 struct vport *vport; in ovs_vport_locate() local 97 hlist_for_each_entry_rcu(vport, bucket, hash_node, in ovs_vport_locate() 99 if (!strcmp(name, ovs_vport_name(vport)) && in ovs_vport_locate() [all …]
|
| H A D | vport.h | 20 struct vport; 23 /* The following definitions are for users of the vport subsystem: */ 28 struct vport *ovs_vport_add(const struct vport_parms *); 29 void ovs_vport_del(struct vport *); 31 struct vport *ovs_vport_locate(const struct net *net, const char *name); 33 void ovs_vport_get_stats(struct vport *, struct ovs_vport_stats *); 35 int ovs_vport_get_upcall_stats(struct vport *vport, struct sk_buff *skb); 37 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids); 38 int ovs_vport_get_upcall_portids(const struct vport *, struct sk_buff *); 39 u32 ovs_vport_find_upcall_portid(const struct vport *, struct sk_buff *); [all …]
|
| H A D | vport-internal_dev.c | 18 #include "vport-internal_dev.h" 19 #include "vport-netdev.h" 22 struct vport *vport; member 42 err = ovs_vport_receive(internal_dev_priv(netdev)->vport, skb, NULL); in internal_dev_xmit() 78 struct vport *vport = ovs_internal_dev_get_vport(dev); in internal_dev_destructor() local 80 ovs_vport_free(vport); in internal_dev_destructor() 123 static struct vport *internal_dev_create(const struct vport_parms *parms) in internal_dev_create() 125 struct vport *vport; in internal_dev_create() local 130 vport = ovs_vport_alloc(0, &ovs_internal_vport_ops, parms); in internal_dev_create() 131 if (IS_ERR(vport)) { in internal_dev_create() [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_vport.c | 53 inline void lpfc_vport_set_state(struct lpfc_vport *vport, in lpfc_vport_set_state() argument 56 struct fc_vport *fc_vport = vport->fc_vport; in lpfc_vport_set_state() 76 vport->port_state = LPFC_VPORT_FAILED; in lpfc_vport_set_state() 79 vport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_vport_set_state() 118 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm() argument 131 rc = lpfc_read_sparam(phba, pmb, vport->vpi); in lpfc_vport_sparm() 139 * this per vport to start the FDISC. If the mailbox fails, in lpfc_vport_sparm() 146 pmb->vport = vport; in lpfc_vport_sparm() 150 lpfc_printf_vlog(vport, KERN_ERR, LOG_TRACE_EVENT, in lpfc_vport_sparm() 158 lpfc_printf_vlog(vport, KERN_ERR, LOG_TRACE_EVENT, in lpfc_vport_sparm() [all …]
|
| H A D | lpfc_ct.c | 157 struct lpfc_vport *vport = ndlp->vport; in lpfc_ct_reject_event() local 158 struct lpfc_hba *phba = vport->phba; in lpfc_ct_reject_event() 241 cmdiocbq->vport = vport; in lpfc_ct_reject_event() 267 lpfc_vlog_msg(vport, KERN_WARNING, LOG_ELS, in lpfc_ct_reject_event() 269 rc, vport->fc_flag); in lpfc_ct_reject_event() 286 struct lpfc_vport *vport = ctiocbq->vport; in lpfc_ct_handle_mibreq() local 294 lpfc_vlog_msg(vport, KERN_WARNING, LOG_ELS, in lpfc_ct_handle_mibreq() 300 /* Ignore traffic received during vport shutdown */ in lpfc_ct_handle_mibreq() 301 if (test_bit(FC_UNLOADING, &vport->load_flag)) in lpfc_ct_handle_mibreq() 304 ndlp = lpfc_findnode_did(vport, did); in lpfc_ct_handle_mibreq() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 37 #include <linux/mlx5/vport.h> 59 /* Vport UC/MC hash node */ 63 u16 vport; member 66 /* A flag indicating that mac was added due to mc promiscuous vport */ 109 struct mlx5_vport *vport; in mlx5_eswitch_get_vport() local 114 vport = xa_load(&esw->vports, vport_num); in mlx5_eswitch_get_vport() 115 if (!vport) { in mlx5_eswitch_get_vport() 116 esw_debug(esw->dev, "vport out of range: num(0x%x)\n", vport_num); in mlx5_eswitch_get_vport() 119 return vport; in mlx5_eswitch_get_vport() 122 static int arm_vport_context_events_cmd(struct mlx5_core_dev *dev, u16 vport, in arm_vport_context_events_cmd() argument [all …]
|
| H A D | eswitch_offloads.c | 37 #include <linux/mlx5/vport.h> 99 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source() 129 u16 vport) in mlx5_eswitch_set_rule_source_port() argument 136 /* Use metadata matching because vport is not represented by single in mlx5_eswitch_set_rule_source_port() 137 * VHCA in dual-port RoCE mode, and matching on source vport may fail. in mlx5_eswitch_set_rule_source_port() 141 vport = mlx5_esw_indir_table_decap_vport(attr); in mlx5_eswitch_set_rule_source_port() 148 mlx5_eswitch_get_vport_metadata_for_match(src_esw, vport); in mlx5_eswitch_set_rule_source_port() 160 MLX5_SET(fte_match_set_misc, misc, source_port, vport); in mlx5_eswitch_set_rule_source_port() 294 else if (mlx5_esw_indir_table_needed(esw, attr, esw_attr->dests[i].vport, in esw_put_dest_tables_loop() 296 mlx5_esw_indir_table_put(esw, esw_attr->dests[i].vport, false); in esw_put_dest_tables_loop() [all …]
|
| H A D | eswitch.h | 44 #include <linux/mlx5/vport.h> 180 /* Vport context events */ 191 struct mlx5_vport *vport; member 195 struct mlx5_vport *vport) in mlx5_devlink_port_init() argument 197 dl_port->vport = vport; in mlx5_devlink_port_init() 207 return mlx5_devlink_port_get(dl_port)->vport; in mlx5_devlink_port_vport_get() 212 #define MLX5_VPORT_INVAL_VHCA_ID(vport) \ argument 213 ((vport)->vhca_id == MLX5_VHCA_ID_INVALID) 232 u16 function_id; /* Function ID of the delegated VPort */ 239 * The Vport QoS can either be disabled (sched_node is NULL) or in one [all …]
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_lib.c | 275 /* As IDPF_MIN_Q_VEC per default vport is put aside in the in idpf_req_rel_vector_indexes() 407 * vport in idpf_intr_req() 447 * @vport: main vport struct 451 static void idpf_del_all_flow_steer_filters(struct idpf_vport *vport) in idpf_del_all_flow_steer_filters() argument 456 vport_config = vport->adapter->vport_config[vport->idx]; in idpf_del_all_flow_steer_filters() 470 * @vconfig: Vport config structure 494 * @vport_config: Vport config structure 517 * @vport: Main vport structure 525 static int idpf_del_mac_filter(struct idpf_vport *vport, in idpf_del_mac_filter() argument 549 vport->default_mac_addr, in idpf_del_mac_filter() [all …]
|
| H A D | xdp.c | 48 const struct idpf_vport *vport = rxq->q_vector->vport; in __idpf_xdp_rxq_info_init() local 57 err = __xdp_rxq_info_reg(&rxq->xdp_rxq, vport->netdev, rxq->idx, in __idpf_xdp_rxq_info_init() 63 rsrc = &vport->dflt_qv_rsrc; in __idpf_xdp_rxq_info_init() 82 rxq->xdpsqs = &vport->txqs[rsrc->xdp_txq_offset]; in __idpf_xdp_rxq_info_init() 83 rxq->num_xdp_txq = vport->num_xdp_txq; in __idpf_xdp_rxq_info_init() 152 int idpf_xdpsqs_get(const struct idpf_vport *vport) in idpf_xdpsqs_get() argument 158 if (!idpf_xdp_enabled(vport)) in idpf_xdpsqs_get() 161 timers = kvzalloc_objs(*timers, vport->num_xdp_txq); in idpf_xdpsqs_get() 165 for (u32 i = 0; i < vport->num_xdp_txq; i++) { in idpf_xdpsqs_get() 176 dev = vport->netdev; in idpf_xdpsqs_get() [all …]
|
| H A D | idpf_ethtool.c | 16 struct idpf_vport *vport; in idpf_get_rx_ring_count() local 20 vport = idpf_netdev_to_vport(netdev); in idpf_get_rx_ring_count() 21 num_rxq = vport->dflt_qv_rsrc.num_rxq; in idpf_get_rx_ring_count() 42 struct idpf_vport *vport; in idpf_get_rxnfc() local 47 vport = idpf_netdev_to_vport(netdev); in idpf_get_rxnfc() 54 cmd->data = idpf_fsteer_max_rules(vport); in idpf_get_rxnfc() 72 cmd->data = idpf_fsteer_max_rules(vport); in idpf_get_rxnfc() 178 struct idpf_vport *vport; in idpf_add_flow_steer() local 183 vport = idpf_netdev_to_vport(netdev); in idpf_add_flow_steer() 184 vport_config = vport->adapter->vport_config[np->vport_idx]; in idpf_add_flow_steer() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_mbx.c | 26 * @vport: pointer to struct hclge_vport 31 static int hclge_gen_resp_to_vf(struct hclge_vport *vport, in hclge_gen_resp_to_vf() argument 36 struct hclge_dev *hdev = vport->back; in hclge_gen_resp_to_vf() 91 static int hclge_send_mbx_msg(struct hclge_vport *vport, u8 *msg, u16 msg_len, in hclge_send_mbx_msg() argument 95 struct hclge_dev *hdev = vport->back; in hclge_send_mbx_msg() 127 int hclge_inform_vf_reset(struct hclge_vport *vport, u16 reset_type) in hclge_inform_vf_reset() argument 132 dest_vfid = (u8)vport->vport_id; in hclge_inform_vf_reset() 136 return hclge_send_mbx_msg(vport, (u8 *)&msg_data, sizeof(msg_data), in hclge_inform_vf_reset() 140 int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport) in hclge_inform_reset_assert_to_vf() argument 142 struct hclge_dev *hdev = vport->back; in hclge_inform_reset_assert_to_vf() [all …]
|
| H A D | hclge_main.c | 547 handle = &hdev->vport[0].nic; in hclge_update_stats_for_all() 567 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_update_stats() local 568 struct hclge_dev *hdev = vport->back; in hclge_update_stats() 597 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_sset_count() local 598 struct hclge_dev *hdev = vport->back; in hclge_get_sset_count() 646 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_strings() local 647 struct hclge_dev *hdev = vport->back; in hclge_get_strings() 682 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_stats() local 683 struct hclge_dev *hdev = vport->back; in hclge_get_stats() 694 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_mac_stat() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | qos.c | 26 [SCHED_NODE_TYPE_VPORT] = "vport", 29 [SCHED_NODE_TYPE_VPORT_TC] = "vport TC", 52 /* Valid only if this node is associated with a vport. */ 53 struct mlx5_vport *vport; member 58 /* Valid only for a TC arbiter node or vport TC arbiter. */ 150 struct mlx5_vport *vport = child->vport; in esw_qos_nodes_set_parent() local 152 if (vport) in esw_qos_nodes_set_parent() 153 vport->qos.sched_node->parent = parent; in esw_qos_nodes_set_parent() 159 void mlx5_esw_qos_vport_qos_free(struct mlx5_vport *vport) in mlx5_esw_qos_vport_qos_free() argument 161 if (vport->qos.sched_nodes) { in mlx5_esw_qos_vport_qos_free() [all …]
|
| H A D | devlink_port.c | 29 struct mlx5_vport *vport; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() local 49 vport = mlx5_eswitch_get_vport(esw, vport_num); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 52 if (vport->adjacent) { in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 53 func_id = vport->adj_info.function_id; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 54 pfnum = vport->adj_info.parent_pci_devfn; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 82 struct mlx5_vport *vport) in mlx5_esw_offloads_pf_vf_devlink_port_init() argument 85 u16 vport_num = vport->vport; in mlx5_esw_offloads_pf_vf_devlink_port_init() 97 vport->dl_port = dl_port; in mlx5_esw_offloads_pf_vf_devlink_port_init() 98 mlx5_devlink_port_init(dl_port, vport); in mlx5_esw_offloads_pf_vf_devlink_port_init() 103 struct mlx5_vport *vport) in mlx5_esw_offloads_pf_vf_devlink_port_cleanup() argument [all …]
|
| H A D | legacy.c | 7 #include <linux/mlx5/vport.h> 209 struct mlx5_vport *vport; in esw_legacy_enable() local 217 mlx5_esw_for_each_vf_vport(esw, i, vport, esw->esw_funcs.num_vfs) in esw_legacy_enable() 218 vport->info.link_state = MLX5_VPORT_ADMIN_STATE_AUTO; in esw_legacy_enable() 287 /* Star rule to forward all traffic to uplink vport */ in _mlx5_eswitch_set_vepa_locked() 290 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked() 347 int esw_legacy_vport_acl_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_setup() argument 352 if (mlx5_esw_is_manager_vport(esw, vport->vport)) in esw_legacy_vport_acl_setup() 355 ret = esw_acl_ingress_lgcy_setup(esw, vport); in esw_legacy_vport_acl_setup() 359 ret = esw_acl_egress_lgcy_setup(esw, vport); in esw_legacy_vport_acl_setup() [all …]
|
| /linux/drivers/scsi/elx/libefc/ |
| H A D | efc_nport.c | 18 * - a vport populates associated nport 24 * - the vport is removed 226 * If this is a vport, logout of the fabric in efc_nport_shutdown() 227 * controller so that it deletes the vport in efc_nport_shutdown() 236 efc_log_debug(efc, "[%s] nport shutdown vport, send logo\n", in efc_nport_shutdown() 258 struct efc_vport *vport; in efc_vport_link_down() local 260 /* Clear the nport reference in the vport specification */ in efc_vport_link_down() 261 list_for_each_entry(vport, &efc->vport_list, list_entry) { in efc_vport_link_down() 262 if (vport->nport == nport) { in efc_vport_link_down() 264 vport->nport = NULL; in efc_vport_link_down() [all …]
|
| /linux/sound/isa/ |
| H A D | sc6000.c | 104 char __iomem *vport; 193 static int sc6000_wait_data(char __iomem *vport) in sc6000_wait_data() 199 val = ioread8(vport + DSP_DATAVAIL); in sc6000_read() 208 static int sc6000_read(char __iomem *vport) in sc6000_write() 210 if (sc6000_wait_data(vport)) in sc6000_write() 213 return ioread8(vport + DSP_READ); in sc6000_write() 217 static int sc6000_write(struct device *devptr, char __iomem *vport, int cmd) in sc6000_write() 223 val = ioread8(vport + DSP_STATUS); in sc6000_write() 228 iowrite8(cmd, vport + DSP_COMMAND); 240 char __iomem *vport, in in sc6000_dsp_get_answer() 183 sc6000_wait_data(char __iomem * vport) sc6000_wait_data() argument 198 sc6000_read(char __iomem * vport) sc6000_read() argument 207 sc6000_write(struct device * devptr,char __iomem * vport,int cmd) sc6000_write() argument 230 sc6000_dsp_get_answer(struct device * devptr,char __iomem * vport,int command,char * data,int data_len) sc6000_dsp_get_answer() argument 257 sc6000_dsp_reset(char __iomem * vport) sc6000_dsp_reset() argument 270 sc6000_hw_cfg_write(struct device * devptr,char __iomem * vport,const int * cfg) sc6000_hw_cfg_write() argument 297 sc6000_cfg_write(struct device * devptr,char __iomem * vport,unsigned char softcfg) sc6000_cfg_write() argument 312 sc6000_setup_board(struct device * devptr,char __iomem * vport,int config) sc6000_setup_board() argument 337 sc6000_init_mss(struct device * devptr,char __iomem * vport,int config,char __iomem * vmss_port,int mss_config) sc6000_init_mss() argument 357 sc6000_hw_cfg_encode(struct device * devptr,char __iomem * vport,int * cfg,long xport,long xmpu,long xmss_port,int joystick) sc6000_hw_cfg_encode() argument 380 sc6000_init_board(struct device * devptr,char __iomem * vport,char __iomem * vmss_port,int dev) sc6000_init_board() argument 541 char __iomem *vport = (char __force __iomem *)card->private_data; snd_sc6000_free() local 557 char __iomem *vport; __snd_sc6000_probe() local [all...] |
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_fcs_lport.c | 156 /* If vport - send completion call back */ in bfa_fcs_lport_sm_init() 157 if (port->vport) in bfa_fcs_lport_sm_init() 158 bfa_fcs_vport_stop_comp(port->vport); in bfa_fcs_lport_sm_init() 193 /* If vport - send completion call back */ in bfa_fcs_lport_sm_online() 194 if (port->vport) in bfa_fcs_lport_sm_online() 195 bfa_fcs_vport_stop_comp(port->vport); in bfa_fcs_lport_sm_online() 251 /* If vport - send completion call back */ in bfa_fcs_lport_sm_offline() 252 if (port->vport) in bfa_fcs_lport_sm_offline() 253 bfa_fcs_vport_stop_comp(port->vport); in bfa_fcs_lport_sm_offline() 298 /* If vport - send completion call back */ in bfa_fcs_lport_sm_stopping() [all …]
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_xport.c | 379 struct efct_vport *vport = NULL; in efct_scsi_new_device() local 381 shost = scsi_host_alloc(&efct_template, sizeof(*vport)); in efct_scsi_new_device() 391 vport = (struct efct_vport *)shost->hostdata; in efct_scsi_new_device() 392 vport->efct = efct; in efct_scsi_new_device() 680 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_id() local 681 struct efct *efct = vport->efct; in efct_get_host_port_id() 694 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_type() local 695 struct efct *efct = vport->efct; in efct_get_host_port_type() 727 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_state() local 728 struct efct *efct = vport->efct; in efct_get_host_port_state() [all …]
|