Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c42 static int mlx5e_ktls_create_tis(struct mlx5_core_dev *mdev, u32 *tisn) in mlx5e_ktls_create_tis() argument
51 return mlx5e_create_tis(mdev, in, tisn); in mlx5e_ktls_create_tis()
59 u32 tisn; member
114 err = mlx5e_ktls_create_tis(mdev, &priv_tx->tisn); in mlx5e_ktls_add_tx()
141 mlx5e_destroy_tis(mdev, priv_tx->tisn); in mlx5e_ktls_del_tx()
181 priv_tx->tisn, priv_tx->key_id, 0, fence, in post_static_params()
198 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, priv_tx->tisn, fence, 0, in post_progress_params()
307 tx_post_resync_dump(struct mlx5e_txqsq *sq, skb_frag_t *frag, u32 tisn, bool first) in tx_post_resync_dump() argument
328 cseg->tis_tir_num = cpu_to_be32(tisn << 8); in tx_post_resync_dump()
424 if (tx_post_resync_dump(sq, f, priv_tx->tisn, fence)) { in mlx5e_ktls_tx_handle_ooo()
[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.h840 u32 tisn[MLX5_MAX_PORTS][MLX5E_MAX_NUM_TC]; member
1013 int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix,
1054 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn);
1055 void mlx5e_destroy_tis(struct mlx5_core_dev *mdev, u32 tisn);
Den_main.c1209 MLX5_SET(sqc, sqc, tis_num_0, csp->tisn); in mlx5e_create_sq()
1306 int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix, in mlx5e_open_txqsq() argument
1323 csp.tisn = tisn; in mlx5e_open_txqsq()
1478 csp.tisn = c->priv->tisn[c->lag_port][0]; /* tc = 0 */ in mlx5e_open_xdpsq()
1725 err = mlx5e_open_txqsq(c, c->priv->tisn[c->lag_port][tc], txq_ix, in mlx5e_open_sqs()
2777 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn) in mlx5e_create_tis() argument
2789 return mlx5_core_create_tis(mdev, in, tisn); in mlx5e_create_tis()
2792 void mlx5e_destroy_tis(struct mlx5_core_dev *mdev, u32 tisn) in mlx5e_destroy_tis() argument
2794 mlx5_core_destroy_tis(mdev, tisn); in mlx5e_destroy_tis()
2803 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.h91 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn);
92 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn);
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c213 err = mlx5i_create_tis(mdev, ipriv->qpn, &epriv->tisn[0][0]); in mlx5i_pkey_open()
231 mlx5e_destroy_tis(mdev, epriv->tisn[0][0]); in mlx5i_pkey_open()
260 mlx5e_destroy_tis(mdev, priv->tisn[0][0]); in mlx5i_pkey_close()
Dipoib.c275 int mlx5i_create_tis(struct mlx5_core_dev *mdev, u32 underlay_qpn, u32 *tisn) in mlx5i_create_tis() argument
284 return mlx5e_create_tis(mdev, in, tisn); in mlx5i_create_tis()
298 err = mlx5i_create_tis(priv->mdev, ipriv->qpn, &priv->tisn[0][0]); in mlx5i_init_tx()
315 mlx5e_destroy_tis(priv->mdev, priv->tisn[0][0]); in mlx5i_cleanup_tx()
Dipoib.h63 int mlx5i_create_tis(struct mlx5_core_dev *mdev, u32 underlay_qpn, u32 *tisn);
/drivers/infiniband/hw/mlx5/
Dcmd.c60 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid) in mlx5_cmd_destroy_tis() argument
65 MLX5_SET(destroy_tis_in, in, tisn, tisn); in mlx5_cmd_destroy_tis()
Dcmd.h46 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()
1168 MLX5_SET(destroy_tis_in, din, tisn, *obj_id); in devx_obj_build_destroy_cmd()
Dqp.c1160 return mlx5_core_create_tis(dev->mdev, in, &sq->tisn); in create_raw_packet_qp_tis()
1166 mlx5_cmd_destroy_tis(dev->mdev, sq->tisn, to_mpd(pd)->uid); in destroy_raw_packet_qp_tis()
1303 MLX5_SET(sqc, sqc, tis_num_0, sq->tisn); in create_raw_packet_qp_sq()
1512 resp->tisn = sq->tisn; in create_raw_packet_qp()
3380 err = mlx5_core_modify_tis(dev, sq->tisn, in); in modify_raw_packet_eth_prio()
3407 err = mlx5_core_modify_tis(dev, sq->tisn, in); in modify_raw_packet_tx_affinity()
Dmlx5_ib.h435 u32 tisn; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c275 static int mlx5e_ptp_open_txqsq(struct mlx5e_ptp *c, u32 tisn, in mlx5e_ptp_open_txqsq() argument
289 csp.tisn = tisn; in mlx5e_ptp_open_txqsq()
339 err = mlx5e_ptp_open_txqsq(c, c->priv->tisn[c->lag_port][tc], txq_ix, in mlx5e_ptp_open_txqsqs()
Dparams.h49 u32 tisn; member
Dqos.c240 err = mlx5e_open_txqsq(c, priv->tisn[c->lag_port][0], txq_ix, params, in mlx5e_open_qos_sq()
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c51 u32 tisn; member
306 err = mlx5_vdpa_create_tis(mvdev, in, &ndev->res.tisn); in create_tis()
315 mlx5_vdpa_destroy_tis(&ndev->mvdev, ndev->res.tisn); in destroy_tis()
860 MLX5_SET(virtio_net_q_object, obj_context, tisn_or_qpn, ndev->res.tisn); in create_virtqueue()