All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sieng Piaw Liew <liew.s.piaw@gmail.com>
To: Florian Fainelli <f.fainelli@gmail.com>
Cc: bcm-kernel-feedback-list@broadcom.com,
	Sieng Piaw Liew <liew.s.piaw@gmail.com>,
	netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH net-next v2 0/6] bcm63xx_enet: major makeover of driver
Date: Thu, 24 Dec 2020 22:24:15 +0800	[thread overview]
Message-ID: <20201224142421.32350-1-liew.s.piaw@gmail.com> (raw)

This patch series aim to improve the bcm63xx_enet driver by integrating the
latest networking features, i.e. batched rx processing, BQL, build_skb, etc.

The newer enetsw SoCs are found to be able to do unaligned rx DMA by adding
NET_IP_ALIGN padding which, combined with these patches, improved packet
processing performance by ~50% on BCM6328.

Older non-enetsw SoCs still benefit mainly from rx batching. Performance
improvement of ~30% is observed on BCM6333.

The BCM63xx SoCs are designed for routers. As such, having BQL is beneficial
as well as trivial to add.

v2:
* Add xmit_more support and rx loop improvisation patches.
* Moved BQL netdev_reset_queue() to bcm_enet_stop()/bcm_enetsw_stop()
  functions as suggested by Florian Fainelli.
* Improved commit messages.

Sieng Piaw Liew (6):
  bcm63xx_enet: batch process rx path
  bcm63xx_enet: add BQL support
  bcm63xx_enet: add xmit_more support
  bcm63xx_enet: alloc rx skb with NET_IP_ALIGN
  bcm63xx_enet: convert to build_skb
  bcm63xx_enet: improve rx loop

 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 184 ++++++++++---------
 drivers/net/ethernet/broadcom/bcm63xx_enet.h |  14 +-
 2 files changed, 103 insertions(+), 95 deletions(-)

-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: Sieng Piaw Liew <liew.s.piaw@gmail.com>
To: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com,
	Sieng Piaw Liew <liew.s.piaw@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH net-next v2 0/6] bcm63xx_enet: major makeover of driver
Date: Thu, 24 Dec 2020 22:24:15 +0800	[thread overview]
Message-ID: <20201224142421.32350-1-liew.s.piaw@gmail.com> (raw)

This patch series aim to improve the bcm63xx_enet driver by integrating the
latest networking features, i.e. batched rx processing, BQL, build_skb, etc.

The newer enetsw SoCs are found to be able to do unaligned rx DMA by adding
NET_IP_ALIGN padding which, combined with these patches, improved packet
processing performance by ~50% on BCM6328.

Older non-enetsw SoCs still benefit mainly from rx batching. Performance
improvement of ~30% is observed on BCM6333.

The BCM63xx SoCs are designed for routers. As such, having BQL is beneficial
as well as trivial to add.

v2:
* Add xmit_more support and rx loop improvisation patches.
* Moved BQL netdev_reset_queue() to bcm_enet_stop()/bcm_enetsw_stop()
  functions as suggested by Florian Fainelli.
* Improved commit messages.

Sieng Piaw Liew (6):
  bcm63xx_enet: batch process rx path
  bcm63xx_enet: add BQL support
  bcm63xx_enet: add xmit_more support
  bcm63xx_enet: alloc rx skb with NET_IP_ALIGN
  bcm63xx_enet: convert to build_skb
  bcm63xx_enet: improve rx loop

 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 184 ++++++++++---------
 drivers/net/ethernet/broadcom/bcm63xx_enet.h |  14 +-
 2 files changed, 103 insertions(+), 95 deletions(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2020-12-24 14:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24 14:24 Sieng Piaw Liew [this message]
2020-12-24 14:24 ` [PATCH net-next v2 0/6] bcm63xx_enet: major makeover of driver Sieng Piaw Liew
2020-12-24 14:24 ` [PATCH net-next v2 1/6] bcm63xx_enet: batch process rx path Sieng Piaw Liew
2020-12-24 14:24   ` Sieng Piaw Liew
2020-12-29  3:11   ` Florian Fainelli
2020-12-29  3:11     ` Florian Fainelli
2020-12-24 14:24 ` [PATCH net-next v2 2/6] bcm63xx_enet: add BQL support Sieng Piaw Liew
2020-12-24 14:24   ` Sieng Piaw Liew
2020-12-29  3:12   ` Florian Fainelli
2020-12-29  3:12     ` Florian Fainelli
2020-12-24 14:24 ` [PATCH net-next v2 3/6] bcm63xx_enet: add xmit_more support Sieng Piaw Liew
2020-12-24 14:24   ` Sieng Piaw Liew
2020-12-28 20:40   ` Jakub Kicinski
2020-12-28 20:40     ` Jakub Kicinski
2020-12-29  3:13   ` Florian Fainelli
2020-12-29  3:13     ` Florian Fainelli
2020-12-24 14:24 ` [PATCH net-next v2 4/6] bcm63xx_enet: alloc rx skb with NET_IP_ALIGN Sieng Piaw Liew
2020-12-24 14:24   ` Sieng Piaw Liew
2020-12-29  3:14   ` Florian Fainelli
2020-12-29  3:14     ` Florian Fainelli
2020-12-24 14:24 ` [PATCH net-next v2 5/6] bcm63xx_enet: convert to build_skb Sieng Piaw Liew
2020-12-24 14:24   ` Sieng Piaw Liew
2020-12-29  3:24   ` Florian Fainelli
2020-12-29  3:24     ` Florian Fainelli
2020-12-24 14:24 ` [PATCH net-next v2 6/6] bcm63xx_enet: improve rx loop Sieng Piaw Liew
2020-12-24 14:24   ` Sieng Piaw Liew
2020-12-29  3:17   ` Florian Fainelli
2020-12-29  3:17     ` Florian Fainelli
2020-12-28 20:39 ` [PATCH net-next v2 0/6] bcm63xx_enet: major makeover of driver Jakub Kicinski
2020-12-28 20:39   ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201224142421.32350-1-liew.s.piaw@gmail.com \
    --to=liew.s.piaw@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=f.fainelli@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.