i40e_prototype.h (1d767a8e) | i40e_prototype.h (6c426059) |
---|---|
1/****************************************************************************** 2 3 Copyright (c) 2013-2015, Intel Corporation 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 --- 70 unchanged lines hidden (view full) --- 79bool i40e_check_asq_alive(struct i40e_hw *hw); 80enum i40e_status_code i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading); 81const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err); 82const char *i40e_stat_str(struct i40e_hw *hw, enum i40e_status_code stat_err); 83 84 85u32 i40e_led_get(struct i40e_hw *hw); 86void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink); | 1/****************************************************************************** 2 3 Copyright (c) 2013-2015, Intel Corporation 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 --- 70 unchanged lines hidden (view full) --- 79bool i40e_check_asq_alive(struct i40e_hw *hw); 80enum i40e_status_code i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading); 81const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err); 82const char *i40e_stat_str(struct i40e_hw *hw, enum i40e_status_code stat_err); 83 84 85u32 i40e_led_get(struct i40e_hw *hw); 86void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink); |
87enum i40e_status_code i40e_led_set_phy(struct i40e_hw *hw, bool on, 88 u16 led_addr, u32 mode); 89enum i40e_status_code i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr, 90 u16 *val); 91enum i40e_status_code i40e_blink_phy_link_led(struct i40e_hw *hw, 92 u32 time, u32 interval); |
|
87 88/* admin send queue commands */ 89 90enum i40e_status_code i40e_aq_get_firmware_version(struct i40e_hw *hw, 91 u16 *fw_major_version, u16 *fw_minor_version, 92 u32 *fw_build, 93 u16 *api_major_version, u16 *api_minor_version, 94 struct i40e_asq_cmd_details *cmd_details); --- 383 unchanged lines hidden (view full) --- 478 struct i40e_asq_cmd_details *cmd_details); 479enum i40e_status_code i40e_aq_debug_dump(struct i40e_hw *hw, u8 cluster_id, 480 u8 table_id, u32 start_index, u16 buff_size, 481 void *buff, u16 *ret_buff_size, 482 u8 *ret_next_table, u32 *ret_next_index, 483 struct i40e_asq_cmd_details *cmd_details); 484void i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw, 485 u16 vsi_seid); | 93 94/* admin send queue commands */ 95 96enum i40e_status_code i40e_aq_get_firmware_version(struct i40e_hw *hw, 97 u16 *fw_major_version, u16 *fw_minor_version, 98 u32 *fw_build, 99 u16 *api_major_version, u16 *api_minor_version, 100 struct i40e_asq_cmd_details *cmd_details); --- 383 unchanged lines hidden (view full) --- 484 struct i40e_asq_cmd_details *cmd_details); 485enum i40e_status_code i40e_aq_debug_dump(struct i40e_hw *hw, u8 cluster_id, 486 u8 table_id, u32 start_index, u16 buff_size, 487 void *buff, u16 *ret_buff_size, 488 u8 *ret_next_table, u32 *ret_next_index, 489 struct i40e_asq_cmd_details *cmd_details); 490void i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw, 491 u16 vsi_seid); |
492enum i40e_status_code i40e_read_phy_register(struct i40e_hw *hw, u8 page, 493 u16 reg, u8 phy_addr, u16 *value); 494enum i40e_status_code i40e_write_phy_register(struct i40e_hw *hw, u8 page, 495 u16 reg, u8 phy_addr, u16 value); 496u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num); 497enum i40e_status_code i40e_blink_phy_link_led(struct i40e_hw *hw, 498 u32 time, u32 interval); |
|
486#endif /* _I40E_PROTOTYPE_H_ */ | 499#endif /* _I40E_PROTOTYPE_H_ */ |