netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/11] nfp: update TX path to enable repr offloads
@ 2018-11-28  6:24 Jakub Kicinski
  2018-11-28  6:24 ` [PATCH net-next 01/11] nfp: copy only the relevant part of the TX descriptor for frags Jakub Kicinski
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Jakub Kicinski @ 2018-11-28  6:24 UTC (permalink / raw)
  To: davem; +Cc: oss-drivers, netdev, Jakub Kicinski

Hi!

This set starts with three micro optimizations to the TX path.
The improvement is measurable, but below 1% of CPU utilization.

Patches 4 - 9 add basic TX offloads to representor devices, like
checksum offload or TSO, and remove the unnecessary TX lock and
Qdisc (our representors are software constructs on top of the PF).

The last 2 patches add more info to error messages - id of command
which failed and exact location of incorrect TLVs, very useful for
debugging.


Jakub Kicinski (11):
  nfp: copy only the relevant part of the TX descriptor for frags
  nfp: move temporary variables in nfp_net_tx_complete()
  nfp: move queue variable init
  nfp: correct descriptor offsets in presence of metadata
  nfp: avoid oversized TSO headers with metadata prepend
  nfp: run representor TX locklessly
  nfp: run don't require Qdiscs on representor netdevs
  nfp: add locking around representor changes
  nfp: add offloads on representors
  nfp: add offset to all TLV parsing errors
  nfp: report more info when reconfiguration fails

 drivers/net/ethernet/netronome/nfp/abm/main.c |  4 +
 drivers/net/ethernet/netronome/nfp/nfp_app.c  | 42 +++++++++
 drivers/net/ethernet/netronome/nfp/nfp_net.h  |  3 +
 .../ethernet/netronome/nfp/nfp_net_common.c   | 81 ++++++++++-------
 .../net/ethernet/netronome/nfp/nfp_net_ctrl.c | 21 +++--
 .../net/ethernet/netronome/nfp/nfp_net_ctrl.h |  7 ++
 .../net/ethernet/netronome/nfp/nfp_net_repr.c | 90 +++++++++++++++++++
 .../net/ethernet/netronome/nfp/nfp_net_repr.h |  2 +
 8 files changed, 213 insertions(+), 37 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-12-01  8:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28  6:24 [PATCH net-next 00/11] nfp: update TX path to enable repr offloads Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 01/11] nfp: copy only the relevant part of the TX descriptor for frags Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 02/11] nfp: move temporary variables in nfp_net_tx_complete() Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 03/11] nfp: move queue variable init Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 04/11] nfp: correct descriptor offsets in presence of metadata Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 05/11] nfp: avoid oversized TSO headers with metadata prepend Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 06/11] nfp: run representor TX locklessly Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 07/11] nfp: run don't require Qdiscs on representor netdevs Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 08/11] nfp: add locking around representor changes Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 09/11] nfp: add offloads on representors Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 10/11] nfp: add offset to all TLV parsing errors Jakub Kicinski
2018-11-28  6:24 ` [PATCH net-next 11/11] nfp: report more info when reconfiguration fails Jakub Kicinski
2018-11-30 21:31 ` [PATCH net-next 00/11] nfp: update TX path to enable repr offloads David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).