Changeset View
Changeset View
Standalone View
Standalone View
head/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 714 Lines • ▼ Show 20 Lines | int mlx4_en_activate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, | ||||
int cq_idx); | int cq_idx); | ||||
void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq); | void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq); | ||||
int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq); | int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq); | ||||
int mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq); | int mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq); | ||||
void mlx4_en_tx_irq(struct mlx4_cq *mcq); | void mlx4_en_tx_irq(struct mlx4_cq *mcq); | ||||
u16 mlx4_en_select_queue(struct net_device *dev, struct mbuf *mb); | u16 mlx4_en_select_queue(struct net_device *dev, struct mbuf *mb); | ||||
int mlx4_en_xmit(struct mlx4_en_priv *priv, int tx_ind, struct mbuf **mbp); | |||||
int mlx4_en_transmit(struct ifnet *dev, struct mbuf *m); | int mlx4_en_transmit(struct ifnet *dev, struct mbuf *m); | ||||
int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, | int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, | ||||
struct mlx4_en_tx_ring **pring, | struct mlx4_en_tx_ring **pring, | ||||
u32 size, u16 stride, int node, int queue_idx); | u32 size, u16 stride, int node, int queue_idx); | ||||
void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, | void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, | ||||
struct mlx4_en_tx_ring **pring); | struct mlx4_en_tx_ring **pring); | ||||
int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, | int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, | ||||
struct mlx4_en_tx_ring *ring, | struct mlx4_en_tx_ring *ring, | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |