Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
qeth_core.h File Reference
#include <linux/if.h>
#include <linux/if_arp.h>
#include <linux/etherdevice.h>
#include <linux/if_vlan.h>
#include <linux/ctype.h>
#include <linux/in6.h>
#include <linux/bitops.h>
#include <linux/seq_file.h>
#include <linux/ethtool.h>
#include <net/ipv6.h>
#include <net/if_inet6.h>
#include <net/addrconf.h>
#include <asm/debug.h>
#include <asm/qdio.h>
#include <asm/ccwdev.h>
#include <asm/ccwgroup.h>
#include <asm/sysinfo.h>
#include "qeth_core_mpc.h"

Go to the source code of this file.

Data Structures

struct  qeth_dbf_info
 
struct  qeth_perf_stats
 
struct  qeth_routing_info
 
struct  qeth_ipa_info
 
struct  qeth_hdr_layer3
 
struct  qeth_hdr_layer2
 
struct  qeth_hdr_osn
 
struct  qeth_hdr
 
struct  qeth_hdr_ext_tso
 
struct  qeth_hdr_tso
 
struct  qeth_buffer_pool_entry
 
struct  qeth_qdio_buffer_pool
 
struct  qeth_qdio_buffer
 
struct  qeth_qdio_q
 
struct  qeth_qdio_out_buffer
 
struct  qeth_qdio_out_q
 
struct  qeth_qdio_info
 
struct  qeth_ipato
 
struct  qeth_cmd_buffer
 
struct  qeth_channel
 
struct  qeth_token
 
struct  qeth_seqno
 
struct  qeth_reply
 
struct  qeth_card_blkt
 
struct  qeth_card_info
 
struct  qeth_card_options
 
struct  qeth_osn_info
 
struct  qeth_discipline
 
struct  qeth_vlan_vid
 
struct  qeth_mc_mac
 
struct  qeth_rx
 
struct  qeth_card
 
struct  qeth_card_list_struct
 
struct  qeth_trap_id
 

Macros

#define QETH_DBF_CTRL_LEN   256
 
#define QETH_DBF_TEXT(name, level, text)   debug_text_event(qeth_dbf[QETH_DBF_##name].id, level, text)
 
#define QETH_DBF_HEX(name, level, addr, len)   debug_event(qeth_dbf[QETH_DBF_##name].id, level, (void *)(addr), len)
 
#define QETH_DBF_MESSAGE(level, text...)   debug_sprintf_event(qeth_dbf[QETH_DBF_MSG].id, level, text)
 
#define QETH_DBF_TEXT_(name, level, text...)   qeth_dbf_longtext(qeth_dbf[QETH_DBF_##name].id, level, text)
 
#define QETH_CARD_TEXT(card, level, text)   debug_text_event(card->debug, level, text)
 
#define QETH_CARD_HEX(card, level, addr, len)   debug_event(card->debug, level, (void *)(addr), len)
 
#define QETH_CARD_MESSAGE(card, text...)   debug_sprintf_event(card->debug, level, text)
 
#define QETH_CARD_TEXT_(card, level, text...)   qeth_dbf_longtext(card->debug, level, text)
 
#define SENSE_COMMAND_REJECT_BYTE   0
 
#define SENSE_COMMAND_REJECT_FLAG   0x80
 
#define SENSE_RESETTING_EVENT_BYTE   1
 
#define SENSE_RESETTING_EVENT_FLAG   0x80
 
#define CARD_RDEV(card)   card->read.ccwdev
 
#define CARD_WDEV(card)   card->write.ccwdev
 
#define CARD_DDEV(card)   card->data.ccwdev
 
#define CARD_BUS_ID(card)   dev_name(&card->gdev->dev)
 
#define CARD_RDEV_ID(card)   dev_name(&card->read.ccwdev->dev)
 
#define CARD_WDEV_ID(card)   dev_name(&card->write.ccwdev->dev)
 
#define CARD_DDEV_ID(card)   dev_name(&card->data.ccwdev->dev)
 
#define CHANNEL_ID(channel)   dev_name(&channel->ccwdev->dev)
 
#define qeth_adp_supported(c, f)   qeth_is_ipa_supported(&c->options.adp, f)
 
#define qeth_adp_enabled(c, f)   qeth_is_ipa_enabled(&c->options.adp, f)
 
#define qeth_is_supported(c, f)   qeth_is_ipa_supported(&c->options.ipa4, f)
 
#define qeth_is_enabled(c, f)   qeth_is_ipa_enabled(&c->options.ipa4, f)
 
#define qeth_is_supported6(c, f)   qeth_is_ipa_supported(&c->options.ipa6, f)
 
#define qeth_is_enabled6(c, f)   qeth_is_ipa_enabled(&c->options.ipa6, f)
 
#define qeth_is_ipafunc_supported(c, prot, f)
 
#define qeth_is_ipafunc_enabled(c, prot, f)
 
#define QETH_IDX_FUNC_LEVEL_OSD   0x0101
 
#define QETH_IDX_FUNC_LEVEL_IQD   0x4108
 
#define QETH_MODELLIST_ARRAY
 
#define QETH_CU_TYPE_IND   0
 
#define QETH_CU_MODEL_IND   1
 
#define QETH_DEV_TYPE_IND   2
 
#define QETH_DEV_MODEL_IND   3
 
#define QETH_QUEUE_NO_IND   4
 
#define QETH_MULTICAST_IND   5
 
#define QETH_REAL_CARD   1
 
#define QETH_VLAN_CARD   2
 
#define QETH_BUFSIZE   4096
 
#define QETH_TX_TIMEOUT   100 * HZ
 
#define QETH_RCD_TIMEOUT   60 * HZ
 
#define QETH_RECLAIM_WORK_TIME   HZ
 
#define QETH_HEADER_SIZE   32
 
#define QETH_MAX_PORTNO   15
 
#define UNIQUE_ID_IF_CREATE_ADDR_FAILED   0xfffe
 
#define UNIQUE_ID_NOT_BY_CARD   0x10000
 
#define QETH_MAX_QUEUES   4
 
#define QETH_IN_BUF_SIZE_DEFAULT   65536
 
#define QETH_IN_BUF_COUNT_DEFAULT   64
 
#define QETH_IN_BUF_COUNT_HSDEFAULT   128
 
#define QETH_IN_BUF_COUNT_MIN   8
 
#define QETH_IN_BUF_COUNT_MAX   128
 
#define QETH_MAX_BUFFER_ELEMENTS(card)   ((card)->qdio.in_buf_size >> 12)
 
#define QETH_IN_BUF_REQUEUE_THRESHOLD(card)   ((card)->qdio.in_buf_pool.buf_count / 2)
 
#define QETH_PCI_THRESHOLD_A(card)   ((card)->qdio.in_buf_pool.buf_count+1)
 
#define QETH_PCI_THRESHOLD_B(card)   0
 
#define QETH_PCI_TIMER_VALUE(card)   3
 
#define QETH_PRIOQ_DEFAULT   QETH_NO_PRIO_QUEUEING
 
#define QETH_DEFAULT_QUEUE   2
 
#define QETH_NO_PRIO_QUEUEING   0
 
#define QETH_PRIO_Q_ING_PREC   1
 
#define QETH_PRIO_Q_ING_TOS   2
 
#define IP_TOS_LOWDELAY   0x10
 
#define IP_TOS_HIGHTHROUGHPUT   0x08
 
#define IP_TOS_HIGHRELIABILITY   0x04
 
#define IP_TOS_NOTIMPORTANT   0x02
 
#define QETH_LOW_WATERMARK_PACK   2
 
#define QETH_HIGH_WATERMARK_PACK   5
 
#define QETH_WATERMARK_PACK_FUZZ   1
 
#define QETH_IP_HEADER_SIZE   40
 
#define QETH_RX_SG_CB   (PAGE_SIZE >> 1)
 
#define QETH_RX_PULL_LEN   256
 
#define QETH_HDR_PASSTHRU   0x10
 
#define QETH_HDR_IPV6   0x80
 
#define QETH_HDR_CAST_MASK   0x07
 
#define QETH_HDR_EXT_VLAN_FRAME   0x01
 
#define QETH_HDR_EXT_TOKEN_ID   0x02
 
#define QETH_HDR_EXT_INCLUDE_VLAN_TAG   0x04
 
#define QETH_HDR_EXT_SRC_MAC_ADDR   0x08
 
#define QETH_HDR_EXT_CSUM_HDR_REQ   0x10
 
#define QETH_HDR_EXT_CSUM_TRANSP_REQ   0x20
 
#define QETH_HDR_EXT_UDP   0x40 /*bit off for TCP*/
 
#define QETH_ETH_MAC_V4   0x0100 /* like v4 */
 
#define QETH_ETH_MAC_V6   0x3333 /* like v6 */
 
#define QETH_TR_MAC_NC   0xc000 /* non-canonical */
 
#define QETH_TR_MAC_C   0x0300 /* canonical */
 
#define DEFAULT_ADD_HHLEN   0
 
#define MAX_ADD_HHLEN   1024
 
#define QETH_CMD_BUFFER_NO   8
 
#define QETH_BROADCAST_WITH_ECHO   0x01
 
#define QETH_BROADCAST_WITHOUT_ECHO   0x02
 
#define QETH_LAYER2_MAC_READ   0x01
 
#define QETH_LAYER2_MAC_REGISTERED   0x02
 
#define QETH_NAPI_WEIGHT   128
 
#define QETH_CARD_IFNAME(card)   (((card)->dev)? (card)->dev->name : "")
 

Enumerations

enum  qeth_dbf_names { QETH_DBF_SETUP, QETH_DBF_MSG, QETH_DBF_CTRL, QETH_DBF_INFOS }
 
enum  qeth_cast_flags {
  QETH_CAST_UNICAST = 0x06, QETH_CAST_MULTICAST = 0x04, QETH_CAST_BROADCAST = 0x05, QETH_CAST_ANYCAST = 0x07,
  QETH_CAST_NOCAST = 0x00
}
 
enum  qeth_layer2_frame_flags { QETH_LAYER2_FLAG_MULTICAST = 0x01, QETH_LAYER2_FLAG_BROADCAST = 0x02, QETH_LAYER2_FLAG_UNICAST = 0x04, QETH_LAYER2_FLAG_VLAN = 0x10 }
 
enum  qeth_header_ids { QETH_HEADER_TYPE_LAYER3 = 0x01, QETH_HEADER_TYPE_LAYER2 = 0x02, QETH_HEADER_TYPE_TSO = 0x03, QETH_HEADER_TYPE_OSN = 0x04 }
 
enum  qeth_qdio_buffer_states {
  QETH_QDIO_BUF_EMPTY, QETH_QDIO_BUF_PRIMED, QETH_QDIO_BUF_PENDING, QETH_QDIO_BUF_IN_CQ,
  QETH_QDIO_BUF_HANDLED_DELAYED
}
 
enum  qeth_qdio_info_states { QETH_QDIO_UNINITIALIZED, QETH_QDIO_ALLOCATED, QETH_QDIO_ESTABLISHED, QETH_QDIO_CLEANING }
 
enum  qeth_out_q_states { QETH_OUT_Q_UNLOCKED, QETH_OUT_Q_LOCKED, QETH_OUT_Q_LOCKED_FLUSH }
 
enum  qeth_send_errors { QETH_SEND_ERROR_NONE, QETH_SEND_ERROR_LINK_FAILURE, QETH_SEND_ERROR_RETRY, QETH_SEND_ERROR_KICK_IT }
 
enum  qeth_channel_states {
  CH_STATE_UP, CH_STATE_DOWN, CH_STATE_ACTIVATING, CH_STATE_HALTED,
  CH_STATE_STOPPED, CH_STATE_RCD, CH_STATE_RCD_DONE
}
 
enum  qeth_card_states {
  CARD_STATE_DOWN, CARD_STATE_HARDSETUP, CARD_STATE_SOFTSETUP, CARD_STATE_UP,
  CARD_STATE_RECOVER
}
 
enum  qeth_prot_versions { QETH_PROT_IPV4 = 0x0004, QETH_PROT_IPV6 = 0x0006 }
 
enum  qeth_ip_types { QETH_IP_TYPE_NORMAL, QETH_IP_TYPE_VIPA, QETH_IP_TYPE_RXIP, QETH_IP_TYPE_DEL_ALL_MC }
 
enum  qeth_cmd_buffer_state { BUF_STATE_FREE, BUF_STATE_LOCKED, BUF_STATE_PROCESSED }
 
enum  qeth_cq { QETH_CQ_DISABLED = 0, QETH_CQ_ENABLED = 1, QETH_CQ_NOTAVAILABLE = 2 }
 
enum  qeth_threads { QETH_RECOVER_THREAD = 1 }
 
enum  qeth_discipline_id { QETH_DISCIPLINE_LAYER3 = 0, QETH_DISCIPLINE_LAYER2 = 1 }
 

Functions

struct qeth_hdr_layer3 __attribute__ ((packed))
 
struct qeth_qdio_q __attribute__ ((aligned(256)))
 
const charqeth_get_cardname_short (struct qeth_card *)
 
int qeth_realloc_buffer_pool (struct qeth_card *, int)
 
int qeth_core_load_discipline (struct qeth_card *, enum qeth_discipline_id)
 
void qeth_core_free_discipline (struct qeth_card *)
 
void qeth_buffer_reclaim_work (struct work_struct *)
 
void qeth_set_allowed_threads (struct qeth_card *, unsigned long, int)
 
int qeth_threads_running (struct qeth_card *, unsigned long)
 
int qeth_wait_for_threads (struct qeth_card *, unsigned long)
 
int qeth_do_run_thread (struct qeth_card *, unsigned long)
 
void qeth_clear_thread_start_bit (struct qeth_card *, unsigned long)
 
void qeth_clear_thread_running_bit (struct qeth_card *, unsigned long)
 
int qeth_core_hardsetup_card (struct qeth_card *)
 
void qeth_print_status_message (struct qeth_card *)
 
int qeth_init_qdio_queues (struct qeth_card *)
 
int qeth_send_startlan (struct qeth_card *)
 
int qeth_send_stoplan (struct qeth_card *)
 
int qeth_send_ipa_cmd (struct qeth_card *, struct qeth_cmd_buffer *, int(*reply_cb)(struct qeth_card *, struct qeth_reply *, unsigned long), void *)
 
struct qeth_cmd_bufferqeth_get_ipacmd_buffer (struct qeth_card *, enum qeth_ipa_cmds, enum qeth_prot_versions)
 
int qeth_query_setadapterparms (struct qeth_card *)
 
int qeth_check_qdio_errors (struct qeth_card *, struct qdio_buffer *, unsigned int, const char *)
 
void qeth_queue_input_buffer (struct qeth_card *, int)
 
struct sk_buffqeth_core_get_next_skb (struct qeth_card *, struct qeth_qdio_buffer *, struct qdio_buffer_element **, int *, struct qeth_hdr **)
 
void qeth_schedule_recovery (struct qeth_card *)
 
void qeth_qdio_start_poll (struct ccw_device *, int, unsigned long)
 
void qeth_qdio_input_handler (struct ccw_device *, unsigned int, unsigned int, int, int, unsigned long)
 
void qeth_qdio_output_handler (struct ccw_device *, unsigned int, int, int, int, unsigned long)
 
void qeth_clear_ipacmd_list (struct qeth_card *)
 
int qeth_qdio_clear_card (struct qeth_card *, int)
 
void qeth_clear_working_pool_list (struct qeth_card *)
 
void qeth_clear_cmd_buffers (struct qeth_channel *)
 
void qeth_clear_qdio_buffers (struct qeth_card *)
 
void qeth_setadp_promisc_mode (struct qeth_card *)
 
struct net_device_statsqeth_get_stats (struct net_device *)
 
int qeth_change_mtu (struct net_device *, int)
 
int qeth_setadpparms_change_macaddr (struct qeth_card *)
 
void qeth_tx_timeout (struct net_device *)
 
void qeth_prepare_control_data (struct qeth_card *, int, struct qeth_cmd_buffer *)
 
void qeth_release_buffer (struct qeth_channel *, struct qeth_cmd_buffer *)
 
void qeth_prepare_ipa_cmd (struct qeth_card *, struct qeth_cmd_buffer *, char)
 
struct qeth_cmd_bufferqeth_wait_for_buffer (struct qeth_channel *)
 
int qeth_mdio_read (struct net_device *, int, int)
 
int qeth_snmp_command (struct qeth_card *, char __user *)
 
int qeth_query_oat_command (struct qeth_card *, char __user *)
 
struct qeth_cmd_bufferqeth_get_adapter_cmd (struct qeth_card *, __u32, __u32)
 
int qeth_default_setadapterparms_cb (struct qeth_card *, struct qeth_reply *, unsigned long)
 
int qeth_send_control_data (struct qeth_card *, int, struct qeth_cmd_buffer *, int(*reply_cb)(struct qeth_card *, struct qeth_reply *, unsigned long), void *reply_param)
 
int qeth_get_priority_queue (struct qeth_card *, struct sk_buff *, int, int)
 
int qeth_get_elements_no (struct qeth_card *, void *, struct sk_buff *, int)
 
int qeth_do_send_packet_fast (struct qeth_card *, struct qeth_qdio_out_q *, struct sk_buff *, struct qeth_hdr *, int, int, int)
 
int qeth_do_send_packet (struct qeth_card *, struct qeth_qdio_out_q *, struct sk_buff *, struct qeth_hdr *, int)
 
int qeth_core_get_sset_count (struct net_device *, int)
 
void qeth_core_get_ethtool_stats (struct net_device *, struct ethtool_stats *, u64 *)
 
void qeth_core_get_strings (struct net_device *, u32, u8 *)
 
void qeth_core_get_drvinfo (struct net_device *, struct ethtool_drvinfo *)
 
void qeth_dbf_longtext (debug_info_t *id, int level, char *text,...)
 
int qeth_core_ethtool_get_settings (struct net_device *, struct ethtool_cmd *)
 
int qeth_set_access_ctrl_online (struct qeth_card *card)
 
int qeth_hdr_chk_and_bounce (struct sk_buff *, int)
 
int qeth_configure_cq (struct qeth_card *, enum qeth_cq)
 
int qeth_hw_trap (struct qeth_card *, enum qeth_diags_trap_action)
 
int qeth_query_ipassists (struct qeth_card *, enum qeth_prot_versions prot)
 
int qeth_osn_assist (struct net_device *, void *, int)
 
int qeth_osn_register (unsigned char *read_dev_no, struct net_device **, int(*assist_cb)(struct net_device *, void *), int(*data_cb)(struct sk_buff *))
 
void qeth_osn_deregister (struct net_device *)
 

Variables

__u8 id
 
__u8 flags
 
__u16 inbound_checksum
 
__u32 token
 
__u16 length
 
__u8 vlan_prio
 
__u8 ext_flags
 
__u16 vlan_id
 
__u16 frame_offset
 
__u8 dest_addr [16]
 
__u8 port_no
 
__u8 hdr_length
 
__u16 pkt_length
 
__u16 seq_no
 
__u32 reserved
 
__u8 reserved2 [16]
 
__u16 control_flags
 
__u16 pdu_length
 
__u8 reserved3 [18]
 
__u32 ccid
 
union {
   struct qeth_hdr_layer2   l2
 
   struct qeth_hdr_layer3   l3
 
   struct qeth_hdr_osn   osn
 
hdr
 
__u16 hdr_tot_len
 
__u8 imb_hdr_no
 
__u8 hdr_type
 
__u8 hdr_version
 
__u16 hdr_len
 
__u32 payload_len
 
__u16 mss
 
__u16 dg_hdr_len
 
__u8 padding [16]
 
struct qeth_hdr_ext_tso ext
 
enum qeth_cast_flags __attribute__
 
struct qdio_buffer qdio_bufs [QDIO_MAX_BUFFERS_PER_Q]
 
struct qeth_qdio_buffer bufs [QDIO_MAX_BUFFERS_PER_Q]
 
int next_buf_to_init
 
struct qdio_outbuf_statebufstates
 
int queue_no
 
struct qeth_cardcard
 
atomic_t state
 
int do_pack
 
int next_buf_to_fill
 
atomic_t used_buffers
 
atomic_t set_pci_flags_count
 
struct qeth_trap_id __packed
 
struct qeth_discipline qeth_l2_discipline
 
struct qeth_discipline qeth_l3_discipline
 
struct attribute_groupqeth_generic_attr_groups []
 
struct attribute_groupqeth_osn_attr_groups []
 
struct qeth_card_list_struct qeth_core_card_list
 
struct kmem_cacheqeth_core_header_cache
 
struct qeth_dbf_info qeth_dbf [QETH_DBF_INFOS]
 

Macro Definition Documentation

#define CARD_BUS_ID (   card)    dev_name(&card->gdev->dev)

Definition at line 91 of file qeth_core.h.

#define CARD_DDEV (   card)    card->data.ccwdev

Definition at line 90 of file qeth_core.h.

#define CARD_DDEV_ID (   card)    dev_name(&card->data.ccwdev->dev)

Definition at line 94 of file qeth_core.h.

#define CARD_RDEV (   card)    card->read.ccwdev

Definition at line 88 of file qeth_core.h.

#define CARD_RDEV_ID (   card)    dev_name(&card->read.ccwdev->dev)

Definition at line 92 of file qeth_core.h.

#define CARD_WDEV (   card)    card->write.ccwdev

Definition at line 89 of file qeth_core.h.

#define CARD_WDEV_ID (   card)    dev_name(&card->write.ccwdev->dev)

Definition at line 93 of file qeth_core.h.

#define CHANNEL_ID (   channel)    dev_name(&channel->ccwdev->dev)

Definition at line 95 of file qeth_core.h.

#define DEFAULT_ADD_HHLEN   0

Definition at line 502 of file qeth_core.h.

#define IP_TOS_HIGHRELIABILITY   0x04

Definition at line 252 of file qeth_core.h.

#define IP_TOS_HIGHTHROUGHPUT   0x08

Definition at line 251 of file qeth_core.h.

#define IP_TOS_LOWDELAY   0x10

Definition at line 250 of file qeth_core.h.

#define IP_TOS_NOTIMPORTANT   0x02

Definition at line 253 of file qeth_core.h.

#define MAX_ADD_HHLEN   1024

Definition at line 503 of file qeth_core.h.

#define qeth_adp_enabled (   c,
  f 
)    qeth_is_ipa_enabled(&c->options.adp, f)

Definition at line 173 of file qeth_core.h.

#define qeth_adp_supported (   c,
  f 
)    qeth_is_ipa_supported(&c->options.adp, f)

Definition at line 171 of file qeth_core.h.

#define QETH_BROADCAST_WITH_ECHO   0x01

Definition at line 639 of file qeth_core.h.

#define QETH_BROADCAST_WITHOUT_ECHO   0x02

Definition at line 640 of file qeth_core.h.

#define QETH_BUFSIZE   4096

Definition at line 209 of file qeth_core.h.

#define QETH_CARD_HEX (   card,
  level,
  addr,
  len 
)    debug_event(card->debug, level, (void *)(addr), len)

Definition at line 71 of file qeth_core.h.

#define QETH_CARD_IFNAME (   card)    (((card)->dev)? (card)->dev->name : "")

Definition at line 808 of file qeth_core.h.

#define QETH_CARD_MESSAGE (   card,
  text... 
)    debug_sprintf_event(card->debug, level, text)

Definition at line 74 of file qeth_core.h.

#define QETH_CARD_TEXT (   card,
  level,
  text 
)    debug_text_event(card->debug, level, text)

Definition at line 68 of file qeth_core.h.

#define QETH_CARD_TEXT_ (   card,
  level,
  text... 
)    qeth_dbf_longtext(card->debug, level, text)

Definition at line 77 of file qeth_core.h.

#define QETH_CMD_BUFFER_NO   8

buffer stuff for read channel

Definition at line 508 of file qeth_core.h.

#define QETH_CU_MODEL_IND   1

Definition at line 201 of file qeth_core.h.

#define QETH_CU_TYPE_IND   0

Definition at line 200 of file qeth_core.h.

#define QETH_DBF_CTRL_LEN   256

Definition at line 54 of file qeth_core.h.

#define QETH_DBF_HEX (   name,
  level,
  addr,
  len 
)    debug_event(qeth_dbf[QETH_DBF_##name].id, level, (void *)(addr), len)

Definition at line 59 of file qeth_core.h.

#define QETH_DBF_MESSAGE (   level,
  text... 
)    debug_sprintf_event(qeth_dbf[QETH_DBF_MSG].id, level, text)

Definition at line 62 of file qeth_core.h.

#define QETH_DBF_TEXT (   name,
  level,
  text 
)    debug_text_event(qeth_dbf[QETH_DBF_##name].id, level, text)

Definition at line 56 of file qeth_core.h.

#define QETH_DBF_TEXT_ (   name,
  level,
  text... 
)    qeth_dbf_longtext(qeth_dbf[QETH_DBF_##name].id, level, text)

Definition at line 65 of file qeth_core.h.

#define QETH_DEFAULT_QUEUE   2

Definition at line 246 of file qeth_core.h.

#define QETH_DEV_MODEL_IND   3

Definition at line 203 of file qeth_core.h.

#define QETH_DEV_TYPE_IND   2

Definition at line 202 of file qeth_core.h.

#define QETH_ETH_MAC_V4   0x0100 /* like v4 */

Definition at line 496 of file qeth_core.h.

#define QETH_ETH_MAC_V6   0x3333 /* like v6 */

Definition at line 497 of file qeth_core.h.

#define QETH_HDR_CAST_MASK   0x07

Definition at line 333 of file qeth_core.h.

#define QETH_HDR_EXT_CSUM_HDR_REQ   0x10

Definition at line 360 of file qeth_core.h.

#define QETH_HDR_EXT_CSUM_TRANSP_REQ   0x20

Definition at line 361 of file qeth_core.h.

#define QETH_HDR_EXT_INCLUDE_VLAN_TAG   0x04

Definition at line 358 of file qeth_core.h.

#define QETH_HDR_EXT_SRC_MAC_ADDR   0x08

Definition at line 359 of file qeth_core.h.

#define QETH_HDR_EXT_TOKEN_ID   0x02

Definition at line 357 of file qeth_core.h.

#define QETH_HDR_EXT_UDP   0x40 /*bit off for TCP*/

Definition at line 362 of file qeth_core.h.

#define QETH_HDR_EXT_VLAN_FRAME   0x01

Definition at line 356 of file qeth_core.h.

#define QETH_HDR_IPV6   0x80

Definition at line 332 of file qeth_core.h.

#define QETH_HDR_PASSTHRU   0x10

Definition at line 331 of file qeth_core.h.

#define QETH_HEADER_SIZE   32

Definition at line 217 of file qeth_core.h.

#define QETH_HIGH_WATERMARK_PACK   5

Definition at line 257 of file qeth_core.h.

#define QETH_IDX_FUNC_LEVEL_IQD   0x4108

Definition at line 191 of file qeth_core.h.

#define QETH_IDX_FUNC_LEVEL_OSD   0x0101

Definition at line 190 of file qeth_core.h.

#define QETH_IN_BUF_COUNT_DEFAULT   64

Definition at line 229 of file qeth_core.h.

#define QETH_IN_BUF_COUNT_HSDEFAULT   128

Definition at line 230 of file qeth_core.h.

#define QETH_IN_BUF_COUNT_MAX   128

Definition at line 232 of file qeth_core.h.

#define QETH_IN_BUF_COUNT_MIN   8

Definition at line 231 of file qeth_core.h.

#define QETH_IN_BUF_REQUEUE_THRESHOLD (   card)    ((card)->qdio.in_buf_pool.buf_count / 2)

Definition at line 234 of file qeth_core.h.

#define QETH_IN_BUF_SIZE_DEFAULT   65536

Definition at line 228 of file qeth_core.h.

#define QETH_IP_HEADER_SIZE   40

Definition at line 260 of file qeth_core.h.

#define qeth_is_enabled (   c,
  f 
)    qeth_is_ipa_enabled(&c->options.ipa4, f)

Definition at line 177 of file qeth_core.h.

#define qeth_is_enabled6 (   c,
  f 
)    qeth_is_ipa_enabled(&c->options.ipa6, f)

Definition at line 181 of file qeth_core.h.

#define qeth_is_ipafunc_enabled (   c,
  prot,
  f 
)
Value:

Definition at line 186 of file qeth_core.h.

#define qeth_is_ipafunc_supported (   c,
  prot,
  f 
)
Value:

Definition at line 183 of file qeth_core.h.

#define qeth_is_supported (   c,
  f 
)    qeth_is_ipa_supported(&c->options.ipa4, f)

Definition at line 175 of file qeth_core.h.

#define qeth_is_supported6 (   c,
  f 
)    qeth_is_ipa_supported(&c->options.ipa6, f)

Definition at line 179 of file qeth_core.h.

#define QETH_LAYER2_MAC_READ   0x01

Definition at line 641 of file qeth_core.h.

#define QETH_LAYER2_MAC_REGISTERED   0x02

Definition at line 642 of file qeth_core.h.

#define QETH_LOW_WATERMARK_PACK   2

Definition at line 256 of file qeth_core.h.

#define QETH_MAX_BUFFER_ELEMENTS (   card)    ((card)->qdio.in_buf_size >> 12)

Definition at line 233 of file qeth_core.h.

#define QETH_MAX_PORTNO   15

Definition at line 218 of file qeth_core.h.

#define QETH_MAX_QUEUES   4

Definition at line 227 of file qeth_core.h.

#define QETH_MODELLIST_ARRAY
Value:
{{0x1731, 0x01, 0x1732, QETH_CARD_TYPE_OSD, QETH_MAX_QUEUES, 0}, \
{0x1731, 0x05, 0x1732, QETH_CARD_TYPE_IQD, QETH_MAX_QUEUES, 0x103}, \
{0x1731, 0x06, 0x1732, QETH_CARD_TYPE_OSN, QETH_MAX_QUEUES, 0}, \
{0x1731, 0x02, 0x1732, QETH_CARD_TYPE_OSM, QETH_MAX_QUEUES, 0}, \
{0x1731, 0x02, 0x1732, QETH_CARD_TYPE_OSX, QETH_MAX_QUEUES, 0}, \
{0, 0, 0, 0, 0, 0} }

Definition at line 193 of file qeth_core.h.

#define QETH_MULTICAST_IND   5

Definition at line 205 of file qeth_core.h.

#define QETH_NAPI_WEIGHT   128

Definition at line 740 of file qeth_core.h.

#define QETH_NO_PRIO_QUEUEING   0

Definition at line 247 of file qeth_core.h.

#define QETH_PCI_THRESHOLD_A (   card)    ((card)->qdio.in_buf_pool.buf_count+1)

Definition at line 238 of file qeth_core.h.

#define QETH_PCI_THRESHOLD_B (   card)    0

Definition at line 240 of file qeth_core.h.

#define QETH_PCI_TIMER_VALUE (   card)    3

Definition at line 242 of file qeth_core.h.

#define QETH_PRIO_Q_ING_PREC   1

Definition at line 248 of file qeth_core.h.

#define QETH_PRIO_Q_ING_TOS   2

Definition at line 249 of file qeth_core.h.

#define QETH_PRIOQ_DEFAULT   QETH_NO_PRIO_QUEUEING

Definition at line 245 of file qeth_core.h.

#define QETH_QUEUE_NO_IND   4

Definition at line 204 of file qeth_core.h.

#define QETH_RCD_TIMEOUT   60 * HZ

Definition at line 215 of file qeth_core.h.

#define QETH_REAL_CARD   1

Definition at line 207 of file qeth_core.h.

#define QETH_RECLAIM_WORK_TIME   HZ

Definition at line 216 of file qeth_core.h.

#define QETH_RX_PULL_LEN   256

Definition at line 264 of file qeth_core.h.

#define QETH_RX_SG_CB   (PAGE_SIZE >> 1)

Definition at line 263 of file qeth_core.h.

#define QETH_TR_MAC_C   0x0300 /* canonical */

Definition at line 500 of file qeth_core.h.

#define QETH_TR_MAC_NC   0xc000 /* non-canonical */

Definition at line 499 of file qeth_core.h.

#define QETH_TX_TIMEOUT   100 * HZ

some more defs

Definition at line 214 of file qeth_core.h.

#define QETH_VLAN_CARD   2

Definition at line 208 of file qeth_core.h.

#define QETH_WATERMARK_PACK_FUZZ   1

Definition at line 258 of file qeth_core.h.

#define SENSE_COMMAND_REJECT_BYTE   0

Definition at line 80 of file qeth_core.h.

#define SENSE_COMMAND_REJECT_FLAG   0x80

Definition at line 81 of file qeth_core.h.

#define SENSE_RESETTING_EVENT_BYTE   1

Definition at line 82 of file qeth_core.h.

#define SENSE_RESETTING_EVENT_FLAG   0x80

Definition at line 83 of file qeth_core.h.

#define UNIQUE_ID_IF_CREATE_ADDR_FAILED   0xfffe

Definition at line 221 of file qeth_core.h.

#define UNIQUE_ID_NOT_BY_CARD   0x10000

Definition at line 222 of file qeth_core.h.

Enumeration Type Documentation

card state machine

Enumerator:
CARD_STATE_DOWN 
CARD_STATE_HARDSETUP 
CARD_STATE_SOFTSETUP 
CARD_STATE_UP 
CARD_STATE_RECOVER 

Definition at line 525 of file qeth_core.h.

Enumerator:
QETH_CAST_UNICAST 
QETH_CAST_MULTICAST 
QETH_CAST_BROADCAST 
QETH_CAST_ANYCAST 
QETH_CAST_NOCAST 

Definition at line 334 of file qeth_core.h.

channel state machine

Enumerator:
CH_STATE_UP 
CH_STATE_DOWN 
CH_STATE_ACTIVATING 
CH_STATE_HALTED 
CH_STATE_STOPPED 
CH_STATE_RCD 
CH_STATE_RCD_DONE 

Definition at line 513 of file qeth_core.h.

Enumerator:
BUF_STATE_FREE 
BUF_STATE_LOCKED 
BUF_STATE_PROCESSED 

Definition at line 548 of file qeth_core.h.

enum qeth_cq
Enumerator:
QETH_CQ_DISABLED 
QETH_CQ_ENABLED 
QETH_CQ_NOTAVAILABLE 

Definition at line 554 of file qeth_core.h.

Debug Facility stuff

Enumerator:
QETH_DBF_SETUP 
QETH_DBF_MSG 
QETH_DBF_CTRL 
QETH_DBF_INFOS 

Definition at line 37 of file qeth_core.h.

Enumerator:
QETH_DISCIPLINE_LAYER3 
QETH_DISCIPLINE_LAYER2 

Definition at line 698 of file qeth_core.h.

Enumerator:
QETH_HEADER_TYPE_LAYER3 
QETH_HEADER_TYPE_LAYER2 
QETH_HEADER_TYPE_TSO 
QETH_HEADER_TYPE_OSN 

Definition at line 349 of file qeth_core.h.

Enumerator:
QETH_IP_TYPE_NORMAL 
QETH_IP_TYPE_VIPA 
QETH_IP_TYPE_RXIP 
QETH_IP_TYPE_DEL_ALL_MC 

Definition at line 541 of file qeth_core.h.

Enumerator:
QETH_LAYER2_FLAG_MULTICAST 
QETH_LAYER2_FLAG_BROADCAST 
QETH_LAYER2_FLAG_UNICAST 
QETH_LAYER2_FLAG_VLAN 

Definition at line 342 of file qeth_core.h.

Enumerator:
QETH_OUT_Q_UNLOCKED 
QETH_OUT_Q_LOCKED 
QETH_OUT_Q_LOCKED_FLUSH 

Definition at line 442 of file qeth_core.h.

Protocol versions

Enumerator:
QETH_PROT_IPV4 
QETH_PROT_IPV6 

Definition at line 536 of file qeth_core.h.

Enumerator:
QETH_QDIO_BUF_EMPTY 
QETH_QDIO_BUF_PRIMED 
QETH_QDIO_BUF_PENDING 
QETH_QDIO_BUF_IN_CQ 
QETH_QDIO_BUF_HANDLED_DELAYED 

Definition at line 369 of file qeth_core.h.

Enumerator:
QETH_QDIO_UNINITIALIZED 
QETH_QDIO_ALLOCATED 
QETH_QDIO_ESTABLISHED 
QETH_QDIO_CLEANING 

Definition at line 397 of file qeth_core.h.

Enumerator:
QETH_SEND_ERROR_NONE 
QETH_SEND_ERROR_LINK_FAILURE 
QETH_SEND_ERROR_RETRY 
QETH_SEND_ERROR_KICK_IT 

Definition at line 489 of file qeth_core.h.

Enumerator:
QETH_RECOVER_THREAD 

Definition at line 689 of file qeth_core.h.

Function Documentation

struct qeth_hdr_layer3 __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

void qeth_buffer_reclaim_work ( struct work_struct )

Definition at line 3106 of file qeth_core_main.c.

int qeth_change_mtu ( struct net_device ,
int   
)

Definition at line 3988 of file qeth_core_main.c.

int qeth_check_qdio_errors ( struct qeth_card ,
struct qdio_buffer ,
unsigned  int,
const char  
)

Definition at line 3086 of file qeth_core_main.c.

void qeth_clear_cmd_buffers ( struct qeth_channel )

Definition at line 704 of file qeth_core_main.c.

void qeth_clear_ipacmd_list ( struct qeth_card )

Definition at line 585 of file qeth_core_main.c.

void qeth_clear_qdio_buffers ( struct qeth_card )

Definition at line 1197 of file qeth_core_main.c.

void qeth_clear_thread_running_bit ( struct qeth_card ,
unsigned  long 
)

Definition at line 852 of file qeth_core_main.c.

void qeth_clear_thread_start_bit ( struct qeth_card ,
unsigned  long 
)

Definition at line 841 of file qeth_core_main.c.

void qeth_clear_working_pool_list ( struct qeth_card )

Definition at line 192 of file qeth_core_main.c.

int qeth_configure_cq ( struct qeth_card ,
enum  qeth_cq 
)

Definition at line 3426 of file qeth_core_main.c.

int qeth_core_ethtool_get_settings ( struct net_device ,
struct ethtool_cmd  
)

Definition at line 5454 of file qeth_core_main.c.

void qeth_core_free_discipline ( struct qeth_card )

Definition at line 5072 of file qeth_core_main.c.

void qeth_core_get_drvinfo ( struct net_device ,
struct ethtool_drvinfo  
)

Definition at line 5436 of file qeth_core_main.c.

void qeth_core_get_ethtool_stats ( struct net_device ,
struct ethtool_stats ,
u64  
)

Definition at line 5372 of file qeth_core_main.c.

struct sk_buff* qeth_core_get_next_skb ( struct qeth_card ,
struct qeth_qdio_buffer ,
struct qdio_buffer_element **  ,
int ,
struct qeth_hdr **   
)
read

Definition at line 4890 of file qeth_core_main.c.

int qeth_core_get_sset_count ( struct net_device ,
int   
)

Definition at line 5361 of file qeth_core_main.c.

void qeth_core_get_strings ( struct net_device ,
u32  ,
u8  
)

Definition at line 5422 of file qeth_core_main.c.

int qeth_core_hardsetup_card ( struct qeth_card )

Definition at line 4759 of file qeth_core_main.c.

int qeth_core_load_discipline ( struct qeth_card ,
enum  qeth_discipline_id 
)

Definition at line 5048 of file qeth_core_main.c.

void qeth_dbf_longtext ( debug_info_t id,
int  level,
char text,
  ... 
)

Definition at line 5004 of file qeth_core_main.c.

int qeth_default_setadapterparms_cb ( struct qeth_card ,
struct qeth_reply ,
unsigned  long 
)

Definition at line 2873 of file qeth_core_main.c.

int qeth_do_run_thread ( struct qeth_card ,
unsigned  long 
)

Definition at line 882 of file qeth_core_main.c.

int qeth_do_send_packet ( struct qeth_card ,
struct qeth_qdio_out_q ,
struct sk_buff ,
struct qeth_hdr ,
int   
)

Definition at line 3855 of file qeth_core_main.c.

int qeth_do_send_packet_fast ( struct qeth_card ,
struct qeth_qdio_out_q ,
struct sk_buff ,
struct qeth_hdr ,
int  ,
int  ,
int   
)

Definition at line 3823 of file qeth_core_main.c.

struct qeth_cmd_buffer* qeth_get_adapter_cmd ( struct qeth_card ,
__u32  ,
__u32   
)
read

Definition at line 2906 of file qeth_core_main.c.

const char* qeth_get_cardname_short ( struct qeth_card )

Definition at line 106 of file qeth_core_main.c.

int qeth_get_elements_no ( struct qeth_card ,
void ,
struct sk_buff ,
int   
)

Definition at line 3656 of file qeth_core_main.c.

struct qeth_cmd_buffer* qeth_get_ipacmd_buffer ( struct qeth_card ,
enum  qeth_ipa_cmds,
enum  qeth_prot_versions 
)
read

Definition at line 2808 of file qeth_core_main.c.

int qeth_get_priority_queue ( struct qeth_card ,
struct sk_buff ,
int  ,
int   
)

Definition at line 3617 of file qeth_core_main.c.

struct net_device_stats* qeth_get_stats ( struct net_device )
read

Definition at line 4011 of file qeth_core_main.c.

int qeth_hdr_chk_and_bounce ( struct sk_buff ,
int   
)

Definition at line 3674 of file qeth_core_main.c.

int qeth_hw_trap ( struct qeth_card ,
enum  qeth_diags_trap_action 
)

Definition at line 3056 of file qeth_core_main.c.

int qeth_init_qdio_queues ( struct qeth_card )

Definition at line 2728 of file qeth_core_main.c.

int qeth_mdio_read ( struct net_device ,
int  ,
int   
)

Definition at line 4219 of file qeth_core_main.c.

int qeth_osn_assist ( struct net_device ,
void ,
int   
)

Definition at line 1286 of file qeth_l2_main.c.

void qeth_osn_deregister ( struct net_device )

Definition at line 1329 of file qeth_l2_main.c.

int qeth_osn_register ( unsigned char read_dev_no,
struct net_device **  ,
int(*)(struct net_device *, void *)  assist_cb,
int(*)(struct sk_buff *)  data_cb 
)

Definition at line 1308 of file qeth_l2_main.c.

void qeth_prepare_control_data ( struct qeth_card ,
int  ,
struct qeth_cmd_buffer  
)

Definition at line 1946 of file qeth_core_main.c.

void qeth_prepare_ipa_cmd ( struct qeth_card ,
struct qeth_cmd_buffer ,
char   
)

Definition at line 2822 of file qeth_core_main.c.

void qeth_print_status_message ( struct qeth_card )

Definition at line 2591 of file qeth_core_main.c.

int qeth_qdio_clear_card ( struct qeth_card ,
int   
)

Definition at line 1585 of file qeth_core_main.c.

void qeth_qdio_input_handler ( struct ccw_device ,
unsigned  int,
unsigned  int,
int  ,
int  ,
unsigned  long 
)

Definition at line 3525 of file qeth_core_main.c.

void qeth_qdio_output_handler ( struct ccw_device ,
unsigned  int,
int  ,
int  ,
int  ,
unsigned  long 
)

Definition at line 3543 of file qeth_core_main.c.

void qeth_qdio_start_poll ( struct ccw_device ,
int  ,
unsigned  long 
)

Definition at line 3416 of file qeth_core_main.c.

int qeth_query_ipassists ( struct qeth_card ,
enum qeth_prot_versions  prot 
)

Definition at line 2978 of file qeth_core_main.c.

int qeth_query_oat_command ( struct qeth_card ,
char __user  
)

Definition at line 4456 of file qeth_core_main.c.

int qeth_query_setadapterparms ( struct qeth_card )

Definition at line 2924 of file qeth_core_main.c.

void qeth_queue_input_buffer ( struct qeth_card ,
int   
)

Definition at line 3115 of file qeth_core_main.c.

int qeth_realloc_buffer_pool ( struct qeth_card ,
int   
)

Definition at line 235 of file qeth_core_main.c.

void qeth_release_buffer ( struct qeth_channel ,
struct qeth_cmd_buffer  
)

Definition at line 668 of file qeth_core_main.c.

void qeth_schedule_recovery ( struct qeth_card )

Definition at line 892 of file qeth_core_main.c.

int qeth_send_control_data ( struct qeth_card ,
int  ,
struct qeth_cmd_buffer ,
int(*)(struct qeth_card *, struct qeth_reply *, unsigned long reply_cb,
void reply_param 
)

Definition at line 1964 of file qeth_core_main.c.

int qeth_send_ipa_cmd ( struct qeth_card ,
struct qeth_cmd_buffer ,
int(*)(struct qeth_card *, struct qeth_reply *, unsigned long reply_cb,
void  
)

Definition at line 2832 of file qeth_core_main.c.

int qeth_send_startlan ( struct qeth_card )

Definition at line 2860 of file qeth_core_main.c.

int qeth_send_stoplan ( struct qeth_card )
int qeth_set_access_ctrl_online ( struct qeth_card card)

Definition at line 4180 of file qeth_core_main.c.

void qeth_set_allowed_threads ( struct qeth_card ,
unsigned  long,
int   
)

Definition at line 159 of file qeth_core_main.c.

void qeth_setadp_promisc_mode ( struct qeth_card )

Definition at line 3961 of file qeth_core_main.c.

int qeth_setadpparms_change_macaddr ( struct qeth_card )

Definition at line 4042 of file qeth_core_main.c.

int qeth_snmp_command ( struct qeth_card ,
char __user  
)

Definition at line 4372 of file qeth_core_main.c.

int qeth_threads_running ( struct qeth_card ,
unsigned  long 
)

Definition at line 173 of file qeth_core_main.c.

void qeth_tx_timeout ( struct net_device )

Definition at line 4208 of file qeth_core_main.c.

struct qeth_cmd_buffer* qeth_wait_for_buffer ( struct qeth_channel )
read

Definition at line 695 of file qeth_core_main.c.

int qeth_wait_for_threads ( struct qeth_card ,
unsigned  long 
)

Definition at line 185 of file qeth_core_main.c.

Variable Documentation

Definition at line 428 of file qeth_core.h.

Definition at line 470 of file qeth_core.h.

Definition at line 472 of file qeth_core.h.

Definition at line 308 of file qeth_core.h.

__u16 control_flags

Definition at line 305 of file qeth_core.h.

__u8 dest_addr[16]

Definition at line 287 of file qeth_core.h.

__u16 dg_hdr_len

Definition at line 331 of file qeth_core.h.

int do_pack

Definition at line 474 of file qeth_core.h.

Definition at line 329 of file qeth_core.h.

__u8 ext_flags

Definition at line 284 of file qeth_core.h.

__u8 flags[3]

Definition at line 279 of file qeth_core.h.

__u16 frame_offset

Definition at line 286 of file qeth_core.h.

Definition at line 328 of file qeth_core.h.

__u16 hdr_len

Definition at line 328 of file qeth_core.h.

__u8 hdr_length

Definition at line 293 of file qeth_core.h.

__u16 hdr_tot_len

Definition at line 323 of file qeth_core.h.

__u8 hdr_type

Definition at line 326 of file qeth_core.h.

__u8 hdr_version

Definition at line 327 of file qeth_core.h.

Definition at line 278 of file qeth_core.h.

__u8 imb_hdr_no

Definition at line 324 of file qeth_core.h.

__u16 inbound_checksum

Definition at line 280 of file qeth_core.h.

Definition at line 310 of file qeth_core.h.

Definition at line 311 of file qeth_core.h.

__u16 length

Definition at line 282 of file qeth_core.h.

__u16 mss

Definition at line 330 of file qeth_core.h.

int next_buf_to_fill

Definition at line 478 of file qeth_core.h.

int next_buf_to_init

Definition at line 429 of file qeth_core.h.

Definition at line 312 of file qeth_core.h.

__u8 padding[16]

Definition at line 332 of file qeth_core.h.

__u32 payload_len

Definition at line 329 of file qeth_core.h.

__u16 pdu_length

Definition at line 306 of file qeth_core.h.

__u16 pkt_length

Definition at line 294 of file qeth_core.h.

__u8 port_no

Definition at line 292 of file qeth_core.h.

struct qdio_buffer qdio_bufs

Definition at line 427 of file qeth_core.h.

struct qeth_card_list_struct qeth_core_card_list

Definition at line 43 of file qeth_core_main.c.

struct kmem_cache* qeth_core_header_cache

Definition at line 45 of file qeth_core_main.c.

Definition at line 31 of file qeth_core_main.c.

struct attribute_group* qeth_generic_attr_groups[]

Definition at line 720 of file qeth_core_sys.c.

struct qeth_discipline qeth_l2_discipline

Definition at line 1226 of file qeth_l2_main.c.

struct qeth_discipline qeth_l3_discipline

Definition at line 3581 of file qeth_l3_main.c.

struct attribute_group* qeth_osn_attr_groups[]

Definition at line 738 of file qeth_core_sys.c.

int queue_no

Definition at line 471 of file qeth_core.h.

__u8 reserved

Definition at line 297 of file qeth_core.h.

__u16 reserved2

Definition at line 298 of file qeth_core.h.

__u8 reserved3[18]

Definition at line 307 of file qeth_core.h.

__u8 seq_no

Definition at line 295 of file qeth_core.h.

atomic_t set_pci_flags_count

Definition at line 485 of file qeth_core.h.

Definition at line 473 of file qeth_core.h.

Definition at line 281 of file qeth_core.h.

atomic_t used_buffers

Definition at line 483 of file qeth_core.h.

__u16 vlan_id

Definition at line 285 of file qeth_core.h.

__u8 vlan_prio

Definition at line 283 of file qeth_core.h.