Logo Search packages:      
Sourcecode: dcbd version File versions  Download package

dcb_driver_interface.h

/*******************************************************************************

  Intel Data Center Bridging (DCB) Software
  Copyright(c) 2007-2009 Intel Corporation.

  This program is free software; you can redistribute it and/or modify it
  under the terms and conditions of the GNU General Public License,
  version 2, as published by the Free Software Foundation.

  This program is distributed in the hope it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  more details.

  You should have received a copy of the GNU General Public License along with
  this program; if not, write to the Free Software Foundation, Inc.,
  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.

  The full GNU General Public License is included in this distribution in
  the file called "COPYING".

  Contact Information:
  e1000-eedc Mailing List <e1000-eedc@lists.sourceforge.net>
  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497

*******************************************************************************/

#ifndef _DCB_DRIVER_INTERFACE_H_
#define _DCB_DRIVER_INTERFACE_H_
#include "dcb_driver_if_types.h"

#ifdef __cplusplus
extern "C" {
#endif

int set_hw_pg(char *device_name, pgroup_attribs *pg_data, boolean_t Opermode);
int set_hw_pfc(char *device_name, dcb_pfc_list_type pfc_data, boolean_t
            Opermode);
#ifdef DCB_APP_DRV_IF_SUPPORTED
int set_hw_app(char *device_name, appgroup_attribs *app_data);
#endif /* DCB_APP_DRV_IF_SUPPORTED */
int set_hw_all(char *device_name);

int get_dcb_capabilities(char *device_name, struct feature_support *dcb_capabilites);
u32 double_to_fixpt_int(double double_val);

int get_dcb_numtcs(char *device_name, u8 *pgtcs, u8 *pfctcs);

#ifdef  __cplusplus
}
#endif

#endif /* _DCB_DRIVER_INTERFACE_H_ */


Generated by  Doxygen 1.6.0   Back to index