The TSEC network interface driver is used on several Freescale SoC. I want to use it on the P1020RDB and MVME2500 (P2020) boards. I had problems with the MII communication. the transmit throughput and a deadlock in case of system overload.
Patches: https://lists.freebsd.org/pipermail/freebsd-net/2017-March/047370.html https://lists.freebsd.org/pipermail/freebsd-net/2017-March/047371.html https://lists.freebsd.org/pipermail/freebsd-net/2017-March/047381.html https://lists.freebsd.org/pipermail/freebsd-net/2017-March/047397.html https://lists.freebsd.org/pipermail/freebsd-net/2017-March/047398.html
Taking this.
Committed to head in r316478,r316479,r316480,r316481,r316482
Created attachment 181456 [details] if_tsec: Assume fixed link if no PHY is present Thanks, for the commits. This patch is necessary for the P1020RDB.
I still have some performance problems, since for each transmit frame we do an M_PREPEND(m0, sizeof(struct tsec_tx_fcb), M_NOWAIT) for the checksum offload. I guess it would be more efficient to pre-allocate the FCB together with the descriptors. I am now busy with other projects and may resume this work in October 2017.
batch change of PRs untouched in 2018 marked "in progress" back to open.
(In reply to sebastian.huber from comment #5) Shall we close this PR and you can submit a new PR or Phabricator review with future performance changes?
(In reply to Ed Maste from comment #7) I will use a new PR or Phabricator review for follow up patches. What is preferred PR or Phabricator review?