ice: fix function signature style format
Where possible, cuddle multiple lines of function signatures to be consistent throughout the code. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
7dcc0fb8f6
commit
ebb462dc21
@@ -769,8 +769,7 @@ enum ice_status ice_create_all_ctrlq(struct ice_hw *hw)
|
|||||||
*
|
*
|
||||||
* Destroys the send and receive queue locks for a given control queue.
|
* Destroys the send and receive queue locks for a given control queue.
|
||||||
*/
|
*/
|
||||||
static void
|
static void ice_destroy_ctrlq_locks(struct ice_ctl_q_info *cq)
|
||||||
ice_destroy_ctrlq_locks(struct ice_ctl_q_info *cq)
|
|
||||||
{
|
{
|
||||||
mutex_destroy(&cq->sq_lock);
|
mutex_destroy(&cq->sq_lock);
|
||||||
mutex_destroy(&cq->rq_lock);
|
mutex_destroy(&cq->rq_lock);
|
||||||
|
|||||||
@@ -1714,8 +1714,7 @@ ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,
|
|||||||
* This function removes single aggregator VSI info entry from
|
* This function removes single aggregator VSI info entry from
|
||||||
* aggregator list.
|
* aggregator list.
|
||||||
*/
|
*/
|
||||||
static void
|
static void ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle)
|
||||||
ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle)
|
|
||||||
{
|
{
|
||||||
struct ice_sched_agg_info *agg_info;
|
struct ice_sched_agg_info *agg_info;
|
||||||
struct ice_sched_agg_info *atmp;
|
struct ice_sched_agg_info *atmp;
|
||||||
@@ -1947,8 +1946,7 @@ ice_sched_cfg_node_bw_alloc(struct ice_hw *hw, struct ice_sched_node *node,
|
|||||||
*
|
*
|
||||||
* Save or clear CIR bandwidth (BW) in the passed param bw_t_info.
|
* Save or clear CIR bandwidth (BW) in the passed param bw_t_info.
|
||||||
*/
|
*/
|
||||||
static void
|
static void ice_set_clear_cir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
||||||
ice_set_clear_cir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
|
||||||
{
|
{
|
||||||
if (bw == ICE_SCHED_DFLT_BW) {
|
if (bw == ICE_SCHED_DFLT_BW) {
|
||||||
clear_bit(ICE_BW_TYPE_CIR, bw_t_info->bw_t_bitmap);
|
clear_bit(ICE_BW_TYPE_CIR, bw_t_info->bw_t_bitmap);
|
||||||
@@ -1967,8 +1965,7 @@ ice_set_clear_cir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
|||||||
*
|
*
|
||||||
* Save or clear EIR bandwidth (BW) in the passed param bw_t_info.
|
* Save or clear EIR bandwidth (BW) in the passed param bw_t_info.
|
||||||
*/
|
*/
|
||||||
static void
|
static void ice_set_clear_eir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
||||||
ice_set_clear_eir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
|
||||||
{
|
{
|
||||||
if (bw == ICE_SCHED_DFLT_BW) {
|
if (bw == ICE_SCHED_DFLT_BW) {
|
||||||
clear_bit(ICE_BW_TYPE_EIR, bw_t_info->bw_t_bitmap);
|
clear_bit(ICE_BW_TYPE_EIR, bw_t_info->bw_t_bitmap);
|
||||||
@@ -1993,8 +1990,7 @@ ice_set_clear_eir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
|||||||
*
|
*
|
||||||
* Save or clear shared bandwidth (BW) in the passed param bw_t_info.
|
* Save or clear shared bandwidth (BW) in the passed param bw_t_info.
|
||||||
*/
|
*/
|
||||||
static void
|
static void ice_set_clear_shared_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
||||||
ice_set_clear_shared_bw(struct ice_bw_type_info *bw_t_info, u32 bw)
|
|
||||||
{
|
{
|
||||||
if (bw == ICE_SCHED_DFLT_BW) {
|
if (bw == ICE_SCHED_DFLT_BW) {
|
||||||
clear_bit(ICE_BW_TYPE_SHARED, bw_t_info->bw_t_bitmap);
|
clear_bit(ICE_BW_TYPE_SHARED, bw_t_info->bw_t_bitmap);
|
||||||
|
|||||||
@@ -1612,8 +1612,7 @@ exit:
|
|||||||
* check for duplicates in this case, removing duplicates from a given
|
* check for duplicates in this case, removing duplicates from a given
|
||||||
* list should be taken care of in the caller of this function.
|
* list should be taken care of in the caller of this function.
|
||||||
*/
|
*/
|
||||||
enum ice_status
|
enum ice_status ice_add_mac(struct ice_hw *hw, struct list_head *m_list)
|
||||||
ice_add_mac(struct ice_hw *hw, struct list_head *m_list)
|
|
||||||
{
|
{
|
||||||
struct ice_aqc_sw_rules_elem *s_rule, *r_iter;
|
struct ice_aqc_sw_rules_elem *s_rule, *r_iter;
|
||||||
struct ice_fltr_list_entry *m_list_itr;
|
struct ice_fltr_list_entry *m_list_itr;
|
||||||
@@ -1914,8 +1913,7 @@ exit:
|
|||||||
* @hw: pointer to the hardware structure
|
* @hw: pointer to the hardware structure
|
||||||
* @v_list: list of VLAN entries and forwarding information
|
* @v_list: list of VLAN entries and forwarding information
|
||||||
*/
|
*/
|
||||||
enum ice_status
|
enum ice_status ice_add_vlan(struct ice_hw *hw, struct list_head *v_list)
|
||||||
ice_add_vlan(struct ice_hw *hw, struct list_head *v_list)
|
|
||||||
{
|
{
|
||||||
struct ice_fltr_list_entry *v_list_itr;
|
struct ice_fltr_list_entry *v_list_itr;
|
||||||
|
|
||||||
@@ -2145,8 +2143,7 @@ ice_find_ucast_rule_entry(struct ice_hw *hw, u8 recp_id,
|
|||||||
* the entries passed into m_list were added previously. It will not attempt to
|
* the entries passed into m_list were added previously. It will not attempt to
|
||||||
* do a partial remove of entries that were found.
|
* do a partial remove of entries that were found.
|
||||||
*/
|
*/
|
||||||
enum ice_status
|
enum ice_status ice_remove_mac(struct ice_hw *hw, struct list_head *m_list)
|
||||||
ice_remove_mac(struct ice_hw *hw, struct list_head *m_list)
|
|
||||||
{
|
{
|
||||||
struct ice_fltr_list_entry *list_itr, *tmp;
|
struct ice_fltr_list_entry *list_itr, *tmp;
|
||||||
struct mutex *rule_lock; /* Lock to protect filter rule list */
|
struct mutex *rule_lock; /* Lock to protect filter rule list */
|
||||||
|
|||||||
Reference in New Issue
Block a user