From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 228B8C369C7 for ; Wed, 16 Apr 2025 20:58:20 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4ZdCzM0K46z3byt; Thu, 17 Apr 2025 06:58:07 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1744837086; cv=none; b=ebqQswCIjmrMBzHMf1L/wmfsCNAr0MPbw+WQGAV/E6sGOG9vazBmTw3KeDO9k2pfZJcaPBYv0mn6Cp+3WQq1LBaT5XdmS9JXcZ9JNJxoBGeQnJesP0DgA/tMoFTZ66eH8Rj02yLZfcAKProNNqo/hrTdZimvUhHirek475pO8ca+KMDYP0BtH5jeSh9xhzzWULpOHys1ZukNfGTqc05AnomjnOLUpQT3E7oiai/3IRbt6tKW9/uyvOB1BvYPjw56qzGSMZ4rY6IMiAzyaKSvUJ914wfY3A3GhaodRCKwnkoYRrLv85ZuTuijVtkZ9x6DaBs/9h+8ulLj7t6jg/XqXg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1744837086; c=relaxed/relaxed; bh=LQXARRB7fBWoUfcnMLzG+H6f0Bs1fqiGC2EPrK5jo4s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H+o1SX3B1KQewhcUrOnZHU+bDWs6lzdk0xB4Uw5CtjT4Q8SUS9gdVNm6HkOuv5lQbmQvSJGnKv39i5Y+vykyYIRGIzvMDwZm/TBaguQknppObi36UgPQygWEufA2e84hDCJ2yvCzASeb9Hr38tqQAYIhWzhcY9KtIf8NqQxWa4S+YDCcT+9ASW0cIpEl6D+dAFNLF4jcogx2jORB4TwRlHtgk6V0Enl8Pxba/quNI5oAHZkM3z90ClkHcM9hAo0ve3kIKSURjZ/ozKTGwPaERNqMnSqWKpNzEYmUPl3HNUEV24VnVkF2rnbIY1j8k7jA6BZpGisTgaQg+IyAlsDE2g== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=aihkn3Vn; dkim-atps=neutral; spf=pass (client-ip=148.163.158.5; helo=mx0b-001b2d01.pphosted.com; envelope-from=davemarq@linux.ibm.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.ibm.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=aihkn3Vn; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0b-001b2d01.pphosted.com; envelope-from=davemarq@linux.ibm.com; receiver=lists.ozlabs.org) Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4ZdCzK5BSzz3c0n for ; Thu, 17 Apr 2025 06:58:05 +1000 (AEST) Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53GKSc8M028110; Wed, 16 Apr 2025 20:57:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=LQXARRB7fBWoUfcnM LzG+H6f0Bs1fqiGC2EPrK5jo4s=; b=aihkn3VnenHTtVbZaHovvPi9bXgbY5OnF fvB1gf2InsOZhQRoHrTX4c+X6Xrmt5Na//aDo3qxfqohbFKoJF+xtdYjdG120X1g j9LisHiyUeHPANrfiUtNqxxQ296m30xL9HLvqn0LrvbHsvoNUYP/yKVHT9BQxCEa RVFwQieQ/D8q/DgMBDD+5JmZGziW/xM7DIx0RBfahD0Nc7aSpgkqXLbEdzFnjdqS SU+XlhwyJc1L/B21/qhx96NQRdsQfpo9ouT52pWAXt5WgIIQfypx5R4f4zqnmx/8 hhm2213LpF44tL1sl4rENnT4FYG+cpAbc+8HE22pMD+0+1r8j7cYA== Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 461ykt5wr4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Apr 2025 20:57:58 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 53GJrcDC016431; Wed, 16 Apr 2025 20:57:57 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4605729ygs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Apr 2025 20:57:57 +0000 Received: from smtpav01.dal12v.mail.ibm.com (smtpav01.dal12v.mail.ibm.com [10.241.53.100]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 53GKvuvZ24773372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Apr 2025 20:57:57 GMT Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBDBB58058; Wed, 16 Apr 2025 20:57:56 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AC2E658057; Wed, 16 Apr 2025 20:57:56 +0000 (GMT) Received: from d.attlocal.net (unknown [9.61.183.42]) by smtpav01.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 16 Apr 2025 20:57:56 +0000 (GMT) From: Dave Marquardt To: netdev@vger.kernel.org Cc: michal.swiatkowski@linux.intel.com, horms@kernel.org, Dave Marquardt , linuxppc-dev@lists.ozlabs.org Subject: [PATCH net-next v3 1/3] net: ibmveth: Indented struct ibmveth_adapter correctly Date: Wed, 16 Apr 2025 15:57:49 -0500 Message-ID: <20250416205751.66365-2-davemarq@linux.ibm.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250416205751.66365-1-davemarq@linux.ibm.com> References: <20250416205751.66365-1-davemarq@linux.ibm.com> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: RJlqlGRKiWAlNMagL7_Gu6WHIQiFccC3 X-Proofpoint-ORIG-GUID: RJlqlGRKiWAlNMagL7_Gu6WHIQiFccC3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-16_08,2025-04-15_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 adultscore=0 priorityscore=1501 phishscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504160168 Made struct ibmveth_adapter follow indentation rules Signed-off-by: Dave Marquardt --- drivers/net/ethernet/ibm/ibmveth.h | 64 +++++++++++++++--------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/drivers/net/ethernet/ibm/ibmveth.h b/drivers/net/ethernet/ibm/ibmveth.h index 8468e2c59d7a..0f72ce54e7cf 100644 --- a/drivers/net/ethernet/ibm/ibmveth.h +++ b/drivers/net/ethernet/ibm/ibmveth.h @@ -134,38 +134,38 @@ struct ibmveth_rx_q { }; struct ibmveth_adapter { - struct vio_dev *vdev; - struct net_device *netdev; - struct napi_struct napi; - unsigned int mcastFilterSize; - void * buffer_list_addr; - void * filter_list_addr; - void *tx_ltb_ptr[IBMVETH_MAX_QUEUES]; - unsigned int tx_ltb_size; - dma_addr_t tx_ltb_dma[IBMVETH_MAX_QUEUES]; - dma_addr_t buffer_list_dma; - dma_addr_t filter_list_dma; - struct ibmveth_buff_pool rx_buff_pool[IBMVETH_NUM_BUFF_POOLS]; - struct ibmveth_rx_q rx_queue; - int rx_csum; - int large_send; - bool is_active_trunk; - - u64 fw_ipv6_csum_support; - u64 fw_ipv4_csum_support; - u64 fw_large_send_support; - /* adapter specific stats */ - u64 replenish_task_cycles; - u64 replenish_no_mem; - u64 replenish_add_buff_failure; - u64 replenish_add_buff_success; - u64 rx_invalid_buffer; - u64 rx_no_buffer; - u64 tx_map_failed; - u64 tx_send_failed; - u64 tx_large_packets; - u64 rx_large_packets; - /* Ethtool settings */ + struct vio_dev *vdev; + struct net_device *netdev; + struct napi_struct napi; + unsigned int mcastFilterSize; + void *buffer_list_addr; + void *filter_list_addr; + void *tx_ltb_ptr[IBMVETH_MAX_QUEUES]; + unsigned int tx_ltb_size; + dma_addr_t tx_ltb_dma[IBMVETH_MAX_QUEUES]; + dma_addr_t buffer_list_dma; + dma_addr_t filter_list_dma; + struct ibmveth_buff_pool rx_buff_pool[IBMVETH_NUM_BUFF_POOLS]; + struct ibmveth_rx_q rx_queue; + int rx_csum; + int large_send; + bool is_active_trunk; + + u64 fw_ipv6_csum_support; + u64 fw_ipv4_csum_support; + u64 fw_large_send_support; + /* adapter specific stats */ + u64 replenish_task_cycles; + u64 replenish_no_mem; + u64 replenish_add_buff_failure; + u64 replenish_add_buff_success; + u64 rx_invalid_buffer; + u64 rx_no_buffer; + u64 tx_map_failed; + u64 tx_send_failed; + u64 tx_large_packets; + u64 rx_large_packets; + /* Ethtool settings */ u8 duplex; u32 speed; }; -- 2.49.0