Home
last modified time | relevance | path

Searched refs:tisn (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c51 static int mlx5e_ktls_create_tis(struct mlx5_core_dev *mdev, u32 *tisn) in mlx5e_ktls_create_tis() argument
57 return mlx5_core_create_tis(mdev, in, tisn); in mlx5e_ktls_create_tis()
75 static int mlx5e_ktls_destroy_tis_cb(struct mlx5_core_dev *mdev, u32 tisn, in mlx5e_ktls_destroy_tis_cb() argument
84 MLX5_SET(destroy_tis_in, in, tisn, tisn); in mlx5e_ktls_destroy_tis_cb()
93 u32 tisn; member
180 priv_tx->tisn = MLX5_GET(create_tis_out, async->out_create, tisn); in create_tis_callback()
207 err = mlx5e_ktls_create_tis(mdev, &priv_tx->tisn); in mlx5e_tls_priv_tx_init()
234 mlx5e_ktls_destroy_tis_cb(priv_tx->mdev, priv_tx->tisn, in mlx5e_tls_priv_tx_cleanup()
560 priv_tx->tisn, in post_static_params()
578 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, priv_tx->tisn, fence, 0, in post_progress_params()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c206 int mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, u32 *tisn) in mlx5_core_create_tis() argument
214 *tisn = MLX5_GET(create_tis_out, out, tisn); in mlx5_core_create_tis()
220 int mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in) in mlx5_core_modify_tis() argument
222 MLX5_SET(modify_tis_in, in, tisn, tisn); in mlx5_core_modify_tis()
229 void mlx5_core_destroy_tis(struct mlx5_core_dev *dev, u32 tisn) in mlx5_core_destroy_tis() argument
234 MLX5_SET(destroy_tis_in, in, tisn, tisn); in mlx5_core_destroy_tis()
Den.h880 u32 tisn[MLX5_MAX_PORTS][MLX5E_MAX_NUM_TC]; member
1081 int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix,
1122 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn);
1123 void mlx5e_destroy_tis(struct mlx5_core_dev *mdev, u32 tisn);
Den_main.c1592 MLX5_SET(sqc, sqc, tis_num_0, csp->tisn); in mlx5e_create_sq()
1689 int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix, in mlx5e_open_txqsq() argument
1704 csp.tisn = tisn; in mlx5e_open_txqsq()
1859 csp.tisn = c->priv->tisn[c->lag_port][0]; /* tc = 0 */ in mlx5e_open_xdpsq()
2148 err = mlx5e_open_txqsq(c, c->priv->tisn[c->lag_port][tc], txq_ix, in mlx5e_open_sqs()
3299 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn) in mlx5e_create_tis() argument
3311 return mlx5_core_create_tis(mdev, in, tisn); in mlx5e_create_tis()
3314 void mlx5e_destroy_tis(struct mlx5_core_dev *mdev, u32 tisn) in mlx5e_destroy_tis() argument
3316 mlx5_core_destroy_tis(mdev, tisn); in mlx5e_destroy_tis()
3325 mlx5e_destroy_tis(priv->mdev, priv->tisn[i][tc]); in mlx5e_destroy_tises()
[all …]
/drivers/vdpa/mlx5/core/
Dresources.c95 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn) in mlx5_vdpa_create_tis() argument
104 *tisn = MLX5_GET(create_tis_out, out, tisn); in mlx5_vdpa_create_tis()
109 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn) in mlx5_vdpa_destroy_tis() argument
115 MLX5_SET(destroy_tis_in, in, tisn, tisn); in mlx5_vdpa_destroy_tis()
Dmlx5_vdpa.h103 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn);
104 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn);
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c221 err = mlx5i_create_tis(mdev, ipriv->qpn, &epriv->tisn[0][0]); in mlx5i_pkey_open()
243 mlx5e_destroy_tis(mdev, epriv->tisn[0][0]); in mlx5i_pkey_open()
272 mlx5e_destroy_tis(mdev, priv->tisn[0][0]); in mlx5i_pkey_close()
Dipoib.c319 int mlx5i_create_tis(struct mlx5_core_dev *mdev, u32 underlay_qpn, u32 *tisn) in mlx5i_create_tis() argument
328 return mlx5e_create_tis(mdev, in, tisn); in mlx5i_create_tis()
342 err = mlx5i_create_tis(priv->mdev, ipriv->qpn, &priv->tisn[0][0]); in mlx5i_init_tx()
359 mlx5e_destroy_tis(priv->mdev, priv->tisn[0][0]); in mlx5i_cleanup_tx()
Dipoib.h65 int mlx5i_create_tis(struct mlx5_core_dev *mdev, u32 underlay_qpn, u32 *tisn);
/drivers/infiniband/hw/mlx5/
Dcmd.c67 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid) in mlx5_cmd_destroy_tis() argument
72 MLX5_SET(destroy_tis_in, in, tisn, tisn); in mlx5_cmd_destroy_tis()
Dcmd.h45 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid);
Ddevx.c318 return MLX5_GET(create_tis_out, out, tisn); in devx_get_created_obj_id()
434 MLX5_GET(query_tis_in, in, tisn)); in devx_get_obj_id()
438 MLX5_GET(modify_tis_in, in, tisn)); in devx_get_obj_id()
648 sq->tisn) == obj_id); in devx_is_valid_obj_id()
1172 MLX5_SET(destroy_tis_in, din, tisn, *obj_id); in devx_obj_build_destroy_cmd()
Dqp.c1246 return mlx5_core_create_tis(dev->mdev, in, &sq->tisn); in create_raw_packet_qp_tis()
1252 mlx5_cmd_destroy_tis(dev->mdev, sq->tisn, to_mpd(pd)->uid); in destroy_raw_packet_qp_tis()
1389 MLX5_SET(sqc, sqc, tis_num_0, sq->tisn); in create_raw_packet_qp_sq()
1598 resp->tisn = sq->tisn; in create_raw_packet_qp()
3470 err = mlx5_core_modify_tis(dev, sq->tisn, in); in modify_raw_packet_eth_prio()
3497 err = mlx5_core_modify_tis(dev, sq->tisn, in); in modify_raw_packet_tx_affinity()
Dmlx5_ib.h471 u32 tisn; member
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.h14 u32 tisn; member
Dmlx5_vnet.c270 err = mlx5_vdpa_create_tis(mvdev, in, &ndev->res.tisn); in create_tis()
279 mlx5_vdpa_destroy_tis(&ndev->mvdev, ndev->res.tisn); in destroy_tis()
897 MLX5_SET(virtio_net_q_object, obj_context, tisn_or_qpn, ndev->res.tisn); in create_virtqueue()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c455 static int mlx5e_ptp_open_txqsq(struct mlx5e_ptp *c, u32 tisn, in mlx5e_ptp_open_txqsq() argument
469 csp.tisn = tisn; in mlx5e_ptp_open_txqsq()
522 err = mlx5e_ptp_open_txqsq(c, c->priv->tisn[c->lag_port][tc], txq_ix, in mlx5e_ptp_open_txqsqs()
Dparams.h52 u32 tisn; member
Dqos.c130 err = mlx5e_open_txqsq(c, priv->tisn[c->lag_port][0], txq_ix, params, in mlx5e_open_qos_sq()