]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Updates to link configuration.
authorNavdeep Parhar <np@FreeBSD.org>
Fri, 30 Dec 2016 08:59:49 +0000 (08:59 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Fri, 30 Dec 2016 08:59:49 +0000 (08:59 +0000)
commit358bca3bc68c16f18de0fa8a21e025d1ca4f2634
tree3c2e6e4c1f2c83a40ef71ae7a3ee6f57130519fe
parentfafbaf79775a2e75fb8d3b422b43f642426907ab
cxgbe(4): Updates to link configuration.

- Update struct link_settings and associated shared code.

- Add tunables to control FEC and autonegotiation.  All ports inherit
  these values as their initial settings.
  hw.cxgbe.fec
  hw.cxgbe.autoneg

- Add per-port sysctls to control FEC and autonegotiation.  These can be
  modified at any time.
  dev.<port>.<n>.fec
  dev.<port>.<n>.autoneg

MFC after: 3 days
Sponsored by: Chelsio Communications
share/man/man4/cxgbe.4
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/common/common.h
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_vf.c