[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230111143427.1127174-7-jgh@redhat.com>
Date: Wed, 11 Jan 2023 14:34:26 +0000
From: jgh@...hat.com
To: netdev@...r.kernel.org
Cc: Jeremy Harris <jgh@...hat.com>
Subject: [RFC PATCH 6/7] drivers: net: bnx2: NIC driver Rx ring ECN
From: Jeremy Harris <jgh@...hat.com>
Reformat local variables as reverse-christmas-tree.
No functional change.
Signed-off-by: Jeremy Harris <jgh@...hat.com>
---
drivers/net/ethernet/broadcom/bnx2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c
index 9f473854b0f4..f55ac9c7b6fd 100644
--- a/drivers/net/ethernet/broadcom/bnx2.c
+++ b/drivers/net/ethernet/broadcom/bnx2.c
@@ -3141,10 +3141,10 @@ bnx2_get_hw_rx_cons(struct bnx2_napi *bnapi)
static int
bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget)
{
- struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring;
u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod;
- struct l2_fhdr *rx_hdr;
+ struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring;
int rx_pkt = 0, pg_ring_used = 0;
+ struct l2_fhdr *rx_hdr;
if (budget <= 0)
return rx_pkt;
--
2.39.0
Powered by blists - more mailing lists