Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on powerpc/beatnik/if_mve network driver (epics codeathon 2021) #4

Open
wants to merge 7 commits into
base: 5-freebsd-12
Choose a base branch
from

Commits on Mar 10, 2021

  1. mv643xx_nexus.c, libbsd.py, bsp/nexus-devices.h:

    First stab at mv643xx; port almost complete (mii stuff missing)
    and compiles -- no tests yet!
    till-s committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    48bd413 View commit details
    Browse the repository at this point in the history
  2. mv643xx_nexus.c: first working version

    was delayed by waf not printing compiler warnings by default!
    
    Three little typos cost me almost a day:
      - missing 'return 0;' at the end of mve_attach()
      - two bad pointers (wrong type) used
    All of these would have been found within minutes had the
    warnings not been disabled :-(
    till-s committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    8a2815c View commit details
    Browse the repository at this point in the history
  3. mv643xx_nexus.c: removed unlocked mve_init(), mve_start()

    The recursive lock takes care of this...
    till-s committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    01f0797 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. mv643xx_nexus.c: removed 'repackage_chain()'.

    Testing (TCP with larger amounts of data while MVETH_TESTING
    was defined which reduces the ring sizes to very small numbers)
    revealed that the BSD stack honours the 'sendqlen' and
    never hands us chains exceeding the ring size.
    till-s committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    62a18c2 View commit details
    Browse the repository at this point in the history
  2. mv643xx_nexus.c: added a helper routine that allows printing of drive…

    …r statistics
    
    The 'legal' access by means of a special ioctl() is way too cumbersome
    when you need to do quick diagnosis.
    till-s committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    1b84c28 View commit details
    Browse the repository at this point in the history
  3. mv643xx_nexus.c: more use of if_xxx() access functions

    avoid using struct members directly.
    till-s committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    978ee3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c305316 View commit details
    Browse the repository at this point in the history