Skip to content

Altera TSE: Fix Sparse errors and misc issues

Vince Bridgers netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Altera TSE: Fix sparse errors and warningsdrivers/net/ethernet/altera/Makefile drivers/net/ethernet/altera/altera_msgdma.c drivers/net/ethernet/altera/altera_msgdmahw.h +7 more+367 -2750 replies
2/2Altera TSE: Disable Multicast filtering to workaround problemdrivers/net/ethernet/altera/altera_tse_main.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net v2 0/2] Altera TSE: Fix Sparse errors and misc issues

This is version 2 of a patch series to correct sparse errors, cppcheck warnings, and workaound a multicast filtering issue in the Altera TSE Ethernet driver. Multicast filtering is not working as expected, so if present in the hardware will not be used and promiscuous mode enabled instead. This workaround will be replaced with a working solution when completely debugged, integrated and tested.

Version 2 is different from the first submission by breaking out the workaround as a seperate patch and addressing a few structure instance declarations by making them const per review comments.

If you find this patch acceptable, please consider this for inclusion into the Altera TSE driver source code.

Thank you

Vince

Vince Bridgers (2):
Altera TSE: Fix sparse errors and warnings
Altera TSE: Disable Multicast filtering to workaround problem

 drivers/net/ethernet/altera/Makefile             |    1 +
 drivers/net/ethernet/altera/altera_msgdma.c      |  110 ++++++-------
 drivers/net/ethernet/altera/altera_msgdmahw.h    |   13 +-
 drivers/net/ethernet/altera/altera_sgdma.c       |  181 +++++++++++-----------
 drivers/net/ethernet/altera/altera_sgdmahw.h     |   26 ++--
 drivers/net/ethernet/altera/altera_tse.h         |   47 ++++++
 drivers/net/ethernet/altera/altera_tse_ethtool.c |  108 ++++++++-----
 drivers/net/ethernet/altera/altera_tse_main.c    |  133 +++++++++-------
 drivers/net/ethernet/altera/altera_utils.c       |   20 +--
 drivers/net/ethernet/altera/altera_utils.h       |    8 +-
 10 files changed, 372 insertions(+), 275 deletions(-)
Signature · 1 line
1.7.9.5