Home
last modified time | relevance | path

Searched +refs:vport +refs:get +refs:op (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_virtchnl.h19 int idpf_get_reg_intr_vecs(struct idpf_vport *vport,
21 int idpf_queue_reg_init(struct idpf_vport *vport);
22 int idpf_vport_queue_ids_init(struct idpf_vport *vport);
25 int idpf_send_mb_msg(struct idpf_adapter *adapter, u32 op,
28 void idpf_vport_init(struct idpf_vport *vport, struct idpf_vport_max_q *max_q);
29 u32 idpf_get_vport_id(struct idpf_vport *vport);
32 int idpf_send_destroy_vport_msg(struct idpf_vport *vport);
33 int idpf_send_enable_vport_msg(struct idpf_vport *vport);
34 int idpf_send_disable_vport_msg(struct idpf_vport *vport);
36 int idpf_vport_adjust_qs(struct idpf_vport *vport);
[all …]
Didpf_virtchnl.c134 struct idpf_vport *vport; in idpf_handle_event_link() local
136 vport = idpf_vid_to_vport(adapter, le32_to_cpu(v2e->vport_id)); in idpf_handle_event_link()
137 if (!vport) { in idpf_handle_event_link()
142 np = netdev_priv(vport->netdev); in idpf_handle_event_link()
146 if (vport->link_up == v2e->link_status) in idpf_handle_event_link()
149 vport->link_up = v2e->link_status; in idpf_handle_event_link()
154 if (vport->link_up) { in idpf_handle_event_link()
155 netif_tx_start_all_queues(vport->netdev); in idpf_handle_event_link()
156 netif_carrier_on(vport->netdev); in idpf_handle_event_link()
158 netif_tx_stop_all_queues(vport->netdev); in idpf_handle_event_link()
[all …]
/linux-6.12.1/drivers/scsi/qedf/
Dqedf_main.c307 struct fc_frame *fp, unsigned int op, in qedf_elsct_send() argument
333 return fc_elsct_send(lport, did, fp, op, qedf_flogi_resp, in qedf_elsct_send()
337 return fc_elsct_send(lport, did, fp, op, resp, arg, timeout); in qedf_elsct_send()
642 static void qedf_dcbx_handler(void *dev, struct qed_dcbx_get *get, u32 mib_type) in qedf_dcbx_handler() argument
648 "prio=%d.\n", get->operational.valid, get->operational.enabled, in qedf_dcbx_handler()
649 get->operational.app_prio.fcoe); in qedf_dcbx_handler()
651 if (get->operational.enabled && get->operational.valid) { in qedf_dcbx_handler()
668 tmp_prio = get->operational.app_prio.fcoe; in qedf_dcbx_handler()
924 if (lport->vport) { in qedf_ctx_soft_reset()
1094 if (lport->vport) in qedf_xmit()
[all …]
/linux-6.12.1/Documentation/userspace-api/netlink/
Dgenetlink-legacy.rst146 For notifications the ``value`` is provided at the op level but it
246 name: get
267 struct: vport-stats
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c761 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in update_vport_qp_param()
971 static int counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd,
1786 static int qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in qp_alloc_res() argument
1796 switch (op) { in qp_alloc_res()
1853 static int mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mtt_alloc_res() argument
1860 if (op != RES_OP_RESERVE_AND_MAP) in mtt_alloc_res()
1886 static int mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mpt_alloc_res() argument
1894 switch (op) { in mpt_alloc_res()
1935 static int cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in cq_alloc_res() argument
1941 switch (op) { in cq_alloc_res()
[all …]