Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
if_team.h File Reference
#include <linux/netpoll.h>
#include <net/sch_generic.h>
#include <uapi/linux/if_team.h>

Go to the source code of this file.

Data Structures

struct  team_pcpu_stats
 
struct  team_port
 
struct  team_mode_ops
 
struct  team_option_inst_info
 
struct  team_gsetter_ctx
 
struct  team_option
 
struct  team_mode
 
struct  team
 

Macros

#define TEAM_PORT_HASHBITS   4
 
#define TEAM_PORT_HASHENTRIES   (1 << TEAM_PORT_HASHBITS)
 
#define TEAM_MODE_PRIV_LONGS   4
 
#define TEAM_MODE_PRIV_SIZE   (sizeof(long) * TEAM_MODE_PRIV_LONGS)
 
#define TEAM_DEFAULT_NUM_TX_QUEUES   16
 
#define TEAM_DEFAULT_NUM_RX_QUEUES   16
 

Enumerations

enum  team_option_type {
  TEAM_OPTION_TYPE_U32, TEAM_OPTION_TYPE_STRING, TEAM_OPTION_TYPE_BINARY, TEAM_OPTION_TYPE_BOOL,
  TEAM_OPTION_TYPE_S32
}
 

Functions

void team_option_inst_set_change (struct team_option_inst_info *opt_inst_info)
 
void team_options_change_check (struct team *team)
 
int team_port_set_team_dev_addr (struct team_port *port)
 
int team_options_register (struct team *team, const struct team_option *option, size_t option_count)
 
void team_options_unregister (struct team *team, const struct team_option *option, size_t option_count)
 
int team_mode_register (const struct team_mode *mode)
 
void team_mode_unregister (const struct team_mode *mode)
 

Macro Definition Documentation

#define TEAM_DEFAULT_NUM_RX_QUEUES   16

Definition at line 251 of file if_team.h.

#define TEAM_DEFAULT_NUM_TX_QUEUES   16

Definition at line 250 of file if_team.h.

#define TEAM_MODE_PRIV_LONGS   4

Definition at line 167 of file if_team.h.

#define TEAM_MODE_PRIV_SIZE   (sizeof(long) * TEAM_MODE_PRIV_LONGS)

Definition at line 168 of file if_team.h.

#define TEAM_PORT_HASHBITS   4

Definition at line 164 of file if_team.h.

#define TEAM_PORT_HASHENTRIES   (1 << TEAM_PORT_HASHBITS)

Definition at line 165 of file if_team.h.

Enumeration Type Documentation

Enumerator:
TEAM_OPTION_TYPE_U32 
TEAM_OPTION_TYPE_STRING 
TEAM_OPTION_TYPE_BINARY 
TEAM_OPTION_TYPE_BOOL 
TEAM_OPTION_TYPE_S32 

Definition at line 115 of file if_team.h.

Function Documentation

int team_mode_register ( const struct team_mode mode)

Definition at line 417 of file team.c.

void team_mode_unregister ( const struct team_mode mode)

Definition at line 444 of file team.c.

void team_option_inst_set_change ( struct team_option_inst_info opt_inst_info)

Definition at line 368 of file team.c.

void team_options_change_check ( struct team team)

Definition at line 377 of file team.c.

int team_options_register ( struct team team,
const struct team_option option,
size_t  option_count 
)

Definition at line 326 of file team.c.

void team_options_unregister ( struct team team,
const struct team_option option,
size_t  option_count 
)

Definition at line 340 of file team.c.

int team_port_set_team_dev_addr ( struct team_port port)

Definition at line 75 of file team.c.