Home
last modified time | relevance | path

Searched refs:mlx4_en_cq (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h334 struct mlx4_en_cq { struct
556 struct mlx4_en_cq **tx_cq;
557 struct mlx4_en_cq *rx_cq[MAX_RX_RINGS];
623 static inline void mlx4_en_cq_init_lock(struct mlx4_en_cq *cq) in mlx4_en_cq_init_lock()
630 static inline bool mlx4_en_cq_lock_napi(struct mlx4_en_cq *cq) in mlx4_en_cq_lock_napi()
646 static inline bool mlx4_en_cq_unlock_napi(struct mlx4_en_cq *cq) in mlx4_en_cq_unlock_napi()
661 static inline bool mlx4_en_cq_lock_poll(struct mlx4_en_cq *cq) in mlx4_en_cq_lock_poll()
681 static inline bool mlx4_en_cq_unlock_poll(struct mlx4_en_cq *cq) in mlx4_en_cq_unlock_poll()
695 static inline bool mlx4_en_cq_busy_polling(struct mlx4_en_cq *cq) in mlx4_en_cq_busy_polling()
701 static inline void mlx4_en_cq_init_lock(struct mlx4_en_cq *cq) in mlx4_en_cq_init_lock()
[all …]
Den_cq.c47 struct mlx4_en_cq **pcq, in mlx4_en_create_cq()
52 struct mlx4_en_cq *cq; in mlx4_en_create_cq()
97 int mlx4_en_activate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, in mlx4_en_activate_cq()
144 struct mlx4_en_cq *rx_cq; in mlx4_en_activate_cq()
187 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq) in mlx4_en_destroy_cq()
190 struct mlx4_en_cq *cq = *pcq; in mlx4_en_destroy_cq()
204 void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_deactivate_cq()
218 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder()
224 int mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_arm_cq()
Den_tx.c386 struct mlx4_en_cq *cq) in mlx4_en_process_tx_cq()
495 struct mlx4_en_cq *cq = container_of(mcq, struct mlx4_en_cq, mcq); in mlx4_en_tx_irq()
507 struct mlx4_en_cq *cq = container_of(napi, struct mlx4_en_cq, napi); in mlx4_en_poll_tx_cq()
Den_rx.c750 int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int budget) in mlx4_en_process_rx_cq()
1015 struct mlx4_en_cq *cq = container_of(mcq, struct mlx4_en_cq, mcq); in mlx4_en_rx_irq()
1027 struct mlx4_en_cq *cq = container_of(napi, struct mlx4_en_cq, napi); in mlx4_en_poll_rx_cq()
Den_netdev.c76 struct mlx4_en_cq *cq = container_of(napi, struct mlx4_en_cq, napi); in mlx4_en_low_latency_recv()
1276 struct mlx4_en_cq *cq; in mlx4_en_netpoll()
1322 struct mlx4_en_cq *cq; in mlx4_en_set_default_moderation()
1368 struct mlx4_en_cq *cq; in mlx4_en_auto_moderation()
1522 struct mlx4_en_cq *cq; in mlx4_en_start_port()
1840 struct mlx4_en_cq *cq = priv->rx_cq[i]; in mlx4_en_stop_port()
2814 priv->tx_cq = kzalloc(sizeof(struct mlx4_en_cq *) * MAX_TX_RINGS, in mlx4_en_init_netdev()