Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/ixgbe.h
Show First 20 Lines • Show All 539 Lines • ▼ Show 20 Lines | |||||
#define IXGBE_SYSCTL_DESC_SET_FC \ | #define IXGBE_SYSCTL_DESC_SET_FC \ | ||||
"\nSet flow control mode using these values:\n" \ | "\nSet flow control mode using these values:\n" \ | ||||
"\t0 - off\n" \ | "\t0 - off\n" \ | ||||
"\t1 - rx pause\n" \ | "\t1 - rx pause\n" \ | ||||
"\t2 - tx pause\n" \ | "\t2 - tx pause\n" \ | ||||
"\t3 - tx and rx pause" | "\t3 - tx and rx pause" | ||||
#define IXGBE_SYSCTL_DESC_WUFC \ | |||||
"\tEnable/Disable Wake Up Filters\n" \ | |||||
"\tControl types of packets that the adapter will\n" \ | |||||
"\twake up on receipt by using these flags:\n" \ | |||||
"\t0x1 - Link Status Change\n" \ | |||||
"\t0x2 - Magic Packet\n" \ | |||||
"\t0x4 - Direct Exact\n" \ | |||||
"\t0x8 - Directed Multicast\n" \ | |||||
"\t0x10 - Broadcast\n" \ | |||||
"\t0x40 - Direct IPv4 Packet\n" \ | |||||
"\t0x80 - Direct IPv6 Packet" | |||||
/* Workaround to make 8.0 buildable */ | /* Workaround to make 8.0 buildable */ | ||||
#if __FreeBSD_version >= 800000 && __FreeBSD_version < 800504 | #if __FreeBSD_version >= 800000 && __FreeBSD_version < 800504 | ||||
static __inline int | static __inline int | ||||
drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br) | drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br) | ||||
{ | { | ||||
#ifdef ALTQ | #ifdef ALTQ | ||||
if (ALTQ_IS_ENABLED(&ifp->if_snd)) | if (ALTQ_IS_ENABLED(&ifp->if_snd)) | ||||
return (1); | return (1); | ||||
Show All 12 Lines | ixv_check_ether_addr(u8 *addr) | ||||
bool status = TRUE; | bool status = TRUE; | ||||
if ((addr[0] == 0 && addr[1]== 0 && addr[2] == 0 && | if ((addr[0] == 0 && addr[1]== 0 && addr[2] == 0 && | ||||
addr[3] == 0 && addr[4]== 0 && addr[5] == 0)) | addr[3] == 0 && addr[4]== 0 && addr[5] == 0)) | ||||
status = FALSE; | status = FALSE; | ||||
return (status); | return (status); | ||||
} | } | ||||
uint64_t ixgbe_link_speed_to_baudrate(ixgbe_link_speed speed); | |||||
/* Shared Prototypes */ | /* Shared Prototypes */ | ||||
int ixgbe_allocate_queues(struct adapter *); | int ixgbe_allocate_queues(struct adapter *); | ||||
int ixgbe_setup_transmit_structures(struct adapter *); | int ixgbe_setup_transmit_structures(struct adapter *); | ||||
void ixgbe_free_transmit_structures(struct adapter *); | void ixgbe_free_transmit_structures(struct adapter *); | ||||
int ixgbe_setup_receive_structures(struct adapter *); | int ixgbe_setup_receive_structures(struct adapter *); | ||||
void ixgbe_free_receive_structures(struct adapter *); | void ixgbe_free_receive_structures(struct adapter *); | ||||
int ixgbe_get_regs(SYSCTL_HANDLER_ARGS); | int ixgbe_get_regs(SYSCTL_HANDLER_ARGS); | ||||
#include "ixgbe_bypass.h" | #include "ixgbe_bypass.h" | ||||
#include "ixgbe_fdir.h" | #include "ixgbe_fdir.h" | ||||
#include "ixgbe_rss.h" | #include "ixgbe_rss.h" | ||||
#endif /* _IXGBE_H_ */ | #endif /* _IXGBE_H_ */ |