[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180328221538.29290-1-f.fainelli@gmail.com>
Date: Wed, 28 Mar 2018 15:15:35 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org
Cc: Florian Fainelli <f.fainelli@...il.com>, davem@...emloft.net,
jaedon.shin@...il.com, pgynther@...gle.com, opendmb@...il.com,
Michael Chan <michael.chan@...adcom.com>, gospo@...adcom.com,
talgi@...lanox.com, saeedm@...lanox.com
Subject: [PATCH net-next v2 0/3] net: Broadcom drivers coalescing fixes
Hi all,
Following Tal's review of the adaptive RX/TX coalescing feature added to the
SYSTEMPORT and GENET driver a number of things showed up:
- adaptive TX coalescing is not actually a good idea with the current way
the estimator will program the ring, this results in a higher CPU load, NAPI
on TX already does a reasonably good job at maintaining the interrupt count low
- both SYSTEMPORT and GENET would suffer from the same issues while configuring
coalescing parameters where the values would just not be applied correctly
based on user settings, so we fix that too
Tal, thanks again for your feedback, I would appreciate if you could review that
the new behavior appears to be implemented correctly.
Thanks!
Changes in v2:
- added Tal's reviewed-by to the first patch
- split DIM initialization from coalescing parameters initialization
- avoid duplicating the same code in bcmgenet_set_coalesce() when configuring RX rings
- fixed the condition where default DIM parameters would be applied when
adaptive RX coalescing would be enabled, do this only if it was disabled before
Florian Fainelli (3):
net: systemport: Remove adaptive TX coalescing
net: systemport: Fix coalescing settings handling
net: bcmgenet: Fix coalescing settings handling
drivers/net/ethernet/broadcom/bcmsysport.c | 123 +++++++++++--------------
drivers/net/ethernet/broadcom/bcmsysport.h | 5 +-
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 92 +++++++++++-------
drivers/net/ethernet/broadcom/genet/bcmgenet.h | 4 +-
4 files changed, 115 insertions(+), 109 deletions(-)
--
2.14.1
Powered by blists - more mailing lists