Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mlx4/mlx4_en/en.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
#include <dev/mlx4/device.h> | #include <dev/mlx4/device.h> | ||||
#include <dev/mlx4/qp.h> | #include <dev/mlx4/qp.h> | ||||
#include <dev/mlx4/cq.h> | #include <dev/mlx4/cq.h> | ||||
#include <dev/mlx4/srq.h> | #include <dev/mlx4/srq.h> | ||||
#include <dev/mlx4/doorbell.h> | #include <dev/mlx4/doorbell.h> | ||||
#include <dev/mlx4/cmd.h> | #include <dev/mlx4/cmd.h> | ||||
#include <netinet/tcp_lro.h> | #include <netinet/tcp_lro.h> | ||||
#include <netinet/netdump/netdump.h> | |||||
#include "en_port.h" | #include "en_port.h" | ||||
#include <dev/mlx4/stats.h> | #include <dev/mlx4/stats.h> | ||||
#define DRV_NAME "mlx4_en" | #define DRV_NAME "mlx4_en" | ||||
#define MLX4_EN_MSG_LEVEL (NETIF_MSG_LINK | NETIF_MSG_IFDOWN) | #define MLX4_EN_MSG_LEVEL (NETIF_MSG_LINK | NETIF_MSG_IFDOWN) | ||||
▲ Show 20 Lines • Show All 744 Lines • ▼ Show 20 Lines | |||||
void mlx4_en_tx_que(void *context, int pending); | void mlx4_en_tx_que(void *context, int pending); | ||||
void mlx4_en_rx_que(void *context, int pending); | void mlx4_en_rx_que(void *context, int pending); | ||||
int mlx4_en_activate_rx_rings(struct mlx4_en_priv *priv); | int mlx4_en_activate_rx_rings(struct mlx4_en_priv *priv); | ||||
void mlx4_en_deactivate_rx_ring(struct mlx4_en_priv *priv, | void mlx4_en_deactivate_rx_ring(struct mlx4_en_priv *priv, | ||||
struct mlx4_en_rx_ring *ring); | struct mlx4_en_rx_ring *ring); | ||||
int mlx4_en_process_rx_cq(struct net_device *dev, | int mlx4_en_process_rx_cq(struct net_device *dev, | ||||
struct mlx4_en_cq *cq, | struct mlx4_en_cq *cq, | ||||
int budget); | int budget); | ||||
int mlx4_en_process_tx_cq(struct net_device *dev, struct mlx4_en_cq *cq); | |||||
int mlx4_en_xmit(struct mlx4_en_priv *priv, int tx_ind, struct mbuf **m); | |||||
void mlx4_en_poll_tx_cq(unsigned long data); | void mlx4_en_poll_tx_cq(unsigned long data); | ||||
void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, | void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, | ||||
int is_tx, int rss, int qpn, int cqn, int user_prio, | int is_tx, int rss, int qpn, int cqn, int user_prio, | ||||
struct mlx4_qp_context *context); | struct mlx4_qp_context *context); | ||||
void mlx4_en_sqp_event(struct mlx4_qp *qp, enum mlx4_event event); | void mlx4_en_sqp_event(struct mlx4_qp *qp, enum mlx4_event event); | ||||
int mlx4_en_map_buffer(struct mlx4_buf *buf); | int mlx4_en_map_buffer(struct mlx4_buf *buf); | ||||
void mlx4_en_unmap_buffer(struct mlx4_buf *buf); | void mlx4_en_unmap_buffer(struct mlx4_buf *buf); | ||||
void mlx4_en_calc_rx_buf(struct net_device *dev); | void mlx4_en_calc_rx_buf(struct net_device *dev); | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |