Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/mlx5/mlx5_en/en.h
Show First 20 Lines • Show All 644 Lines • ▼ Show 20 Lines | |||||
struct mlx5e_flow_tables { | struct mlx5e_flow_tables { | ||||
struct mlx5_flow_namespace *ns; | struct mlx5_flow_namespace *ns; | ||||
struct mlx5e_flow_table vlan; | struct mlx5e_flow_table vlan; | ||||
struct mlx5e_flow_table main; | struct mlx5e_flow_table main; | ||||
struct mlx5e_flow_table inner_rss; | struct mlx5e_flow_table inner_rss; | ||||
}; | }; | ||||
#define MLX5E_TSTMP_PREC 10 | |||||
struct mlx5e_clbr_point { | |||||
uint64_t base_curr; | |||||
uint64_t base_prev; | |||||
uint64_t clbr_hw_prev; | |||||
uint64_t clbr_hw_curr; | |||||
u_int clbr_gen; | |||||
}; | |||||
struct mlx5e_priv { | struct mlx5e_priv { | ||||
/* priv data path fields - start */ | /* priv data path fields - start */ | ||||
int order_base_2_num_channels; | int order_base_2_num_channels; | ||||
int queue_mapping_channel_mask; | int queue_mapping_channel_mask; | ||||
int num_tc; | int num_tc; | ||||
int default_vlan_prio; | int default_vlan_prio; | ||||
/* priv data path fields - end */ | /* priv data path fields - end */ | ||||
Show All 38 Lines | #define PRIV_LOCKED(priv) sx_xlocked(&(priv)->state_lock) | ||||
eventhandler_tag vlan_detach; | eventhandler_tag vlan_detach; | ||||
eventhandler_tag vlan_attach; | eventhandler_tag vlan_attach; | ||||
struct ifmedia media; | struct ifmedia media; | ||||
int media_status_last; | int media_status_last; | ||||
int media_active_last; | int media_active_last; | ||||
struct callout watchdog; | struct callout watchdog; | ||||
struct callout tstmp_clbr; | |||||
int clbr_done; | |||||
int clbr_curr; | |||||
struct mlx5e_clbr_point clbr_points[2]; | |||||
u_int clbr_gen; | |||||
}; | }; | ||||
#define MLX5E_NET_IP_ALIGN 2 | #define MLX5E_NET_IP_ALIGN 2 | ||||
struct mlx5e_tx_wqe { | struct mlx5e_tx_wqe { | ||||
struct mlx5_wqe_ctrl_seg ctrl; | struct mlx5_wqe_ctrl_seg ctrl; | ||||
struct mlx5_wqe_eth_seg eth; | struct mlx5_wqe_eth_seg eth; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |