Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
enic_pp.h File Reference

Go to the source code of this file.

Macros

#define ENIC_PP_BY_INDEX(enic, vf, pp, err)
 

Functions

int enic_process_set_pp_request (struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp)
 
int enic_process_get_pp_request (struct enic *enic, int vf, int request, u16 *response)
 
int enic_is_valid_pp_vf (struct enic *enic, int vf, int *err)
 

Macro Definition Documentation

#define ENIC_PP_BY_INDEX (   enic,
  vf,
  pp,
  err 
)
Value:
do { \
pp = (vf == PORT_SELF_VF) ? enic->pp : enic->pp + vf; \
else \
pp = NULL; \
} while (0)

Definition at line 22 of file enic_pp.h.

Function Documentation

int enic_is_valid_pp_vf ( struct enic enic,
int  vf,
int err 
)

Definition at line 38 of file enic_pp.c.

int enic_process_get_pp_request ( struct enic enic,
int  vf,
int  request,
u16 response 
)

Definition at line 321 of file enic_pp.c.

int enic_process_set_pp_request ( struct enic enic,
int  vf,
struct enic_port_profile prev_pp,
int restore_pp 
)

Definition at line 304 of file enic_pp.c.