Add TAPRIO offload support for ICSSG driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest2 patches 8 repliesIn review
- v82 patches 6 repliesSuperseded
- v72 patches 4 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 RFC | 2 patches | 0 replies | Superseded |
Changes in v9 from the cover letter
*) Rebased the series on latest net-next/main as the series was not
cleanly applying because of [1] as mentioned by Jacob Keller <[email protected]>. Now the seires can be cleanly applied on net-next with or without [1].
*) No other changes done in this series.
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: ti: icssg: Move icss_iep structuredrivers/ drivers/ drivers/ +1 more | +75 | 0 replies | |
| 2/2 | net: ti: icssg_prueth: add TAPRIO offload supportdrivers/ drivers/ drivers/ +3 more | +408 | 8 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Simon Horman | Jacob Keller |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v9 0/2] Add TAPRIO offload support for ICSSG driver
This series adds taprio offload support for ICSSG driver.
Patch [1/2] of the series moves some structures and API definition to .h files so that these can be accessed by taprio (icssg_qos.c) file.
Patch [2/2] of the series introduces the taprio support for icssg driver.
Changes from v8 to v9:
*) Rebased the series on latest net-next/main as the series was not
cleanly applying because of [1] as mentioned by Jacob Keller <[email protected]>. Now the seires can be cleanly applied on net-next with or without [1].
*) No other changes done in this series.
Changes from v7 to v8:
*) Modified commit message of patch 2/2 to state both ICSSG Switch and
dual-emac firmware supports taprio offload as pointed out by Andrew Lunn <[email protected]>
*) Rebased on latest net-next/main
Changes from v6 to v7:
*) Rebased on 6.10-rc1.
*) Removed RFC tag, no functional changes.
Changes from v5 to v6:
*) Added RFC tag as net-next is closed now.
*) Created a new patch for "the struct definition move" and made this
series instead of single patch as suggested by
Paolo Abeni <[email protected]>.
*) Removed est_new structure as that is no longer used.
*) Freeing qos.tas.taprio_admin using taprio_offload_free() as suggested
by Paolo Abeni <[email protected]>
*) Clearing taprio_admin and taprio in error case in emac_taprio_replace()
API using goto label taprio_clear.
*) Added RB tag of Simon Horman <[email protected]>
Changes from v4 to v5:
*) Rebased on latest net-next/main [commit 5c4c0edca68a]
*) Moved icss_iep structure to icss_iep.h file so that iep wraparound time
which is stored in iep->def_inc, can be accessed by qos file.
*) Added comment about IEP wraparound time compensation in icssg_qos.c *) Moved icssg_qos_tas_init() to prueth_netdev_init() so that icssg_qos_tas_init()
gets called even if interface is down.
*) Fixed print statements as suggested by Vladimir Oltean <[email protected]> *) Added taprio_offload_get() and taprio_offload_free() in emac_taprio_replace()
and emac_taprio_destory() respectively.
Changes from v3 to v4:
*) Rebased on the latest next-20231005 linux-next.
*) Addressed Roger and Vinicius' comments and moved all the validations to
emac_taprio_replace() API.
*) Modified emac_setup_taprio() API to use switch case based on taprio->cmd
and added emac_taprio_destroy() and emac_taprio_replace() APIs.
*) Modified the documentation of structs / enums in icssg_qos.h by using
the correct kdoc format.
Changes from v2 to v3:
*) Rebased on the latest next-20230928 linux-next.
*) Retained original authorship of the patch.
*) Addressed Roger's comments and modified emac_setup_taprio() and
emac_set_taprio() APIs accordingly.
*) Removed netif_running() check from emac_setup_taprio().
*) Addressed Vinicius' comments and added check for MIN and MAX cycle time. *) Added check for allocation failure of est_new in emac_setup_taprio().
Changes from v1 to v2:
*) Rebased on the latest next-20230921 linux-next. *) Dropped the RFC tag as merge window is open now. *) Splitted this patch from the switch mode series [v1]. *) Removed TODO comment as asked by Andrew and Roger. *) Changed Copyright to 2023 as asked by Roger.
v8: https://lore.kernel.org/all/[email protected]/
v7: https://lore.kernel.org/all/[email protected]/
v6: https://lore.kernel.org/all/[email protected]/
v5: https://lore.kernel.org/all/[email protected]/
v4: https://lore.kernel.org/all/[email protected]/
v3: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/
[1] https://lore.kernel.org/netdev/[email protected]/
MD Danish Anwar (1):
net: ti: icssg: Move icss_iep structure
Roger Quadros (1):
net: ti: icssg_prueth: add TAPRIO offload support
drivers/net/ethernet/ti/Kconfig | 1 + drivers/net/ethernet/ti/Makefile | 1 + drivers/net/ethernet/ti/icssg/icss_iep.c | 72 ----- drivers/net/ethernet/ti/icssg/icss_iep.h | 73 ++++- drivers/net/ethernet/ti/icssg/icssg_prueth.c | 5 +- drivers/net/ethernet/ti/icssg/icssg_prueth.h | 4 + drivers/net/ethernet/ti/icssg/icssg_qos.c | 288 +++++++++++++++++++ drivers/net/ethernet/ti/icssg/icssg_qos.h | 113 ++++++++ 8 files changed, 483 insertions(+), 74 deletions(-) create mode 100644 drivers/net/ethernet/ti/icssg/icssg_qos.c create mode 100644 drivers/net/ethernet/ti/icssg/icssg_qos.h
base-commit: ccf23c916ca35239a924ec8649cc88b1ef25d3d9
Signature · 1 line
2.34.1