]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r283612, r290710, r291694, r291699 and r291793:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 11 Dec 2015 18:28:20 +0000 (18:28 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 11 Dec 2015 18:28:20 +0000 (18:28 +0000)
commit455e7c60152f8ccc70e1bf6ecdfa5f29f959a4fa
tree6a31f9ddaa1b50669b665add36ace31492644ead
parent9fb39ec7ce6f49bc494b3c211187a8cf3ad37eaa
MFC r283612, r290710, r291694, r291699 and r291793:
- Add SIOCGI2C ioctl support to the driver. Would work only on ConnectX-3
  with fresh firmware. The low level code is based on code provided by
  Mellanox.
- Fix print formatting compile warnings for Sparc64 and PowerPC platforms.
- Updated the mlx4 and mlxen drivers to the latest version, v2.1.6:
  - Added support for dumping the SFP EEPROM content to dmesg.
  - Fixed handling of network interface capability IOCTLs.
  - Fixed race when loading and unloading the mlxen driver by applying
    appropriate locking.
  - Removed two unused C-files.
- Convert the mlxen driver to use the BUSDMA(9) APIs instead of
  vtophys() when loading mbufs for transmission and reception. While at
  it all pointer arithmetic and cast qualifier issues were fixed, mostly
  related to transmission and reception.
- Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs.

Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4283
Differential Revision: https://reviews.freebsd.org/D4284

git-svn-id: svn://svn.freebsd.org/base/stable/9@292115 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
17 files changed:
sys/modules/mlxen/Makefile
sys/ofed/drivers/net/mlx4/en_ethtool.c [deleted file]
sys/ofed/drivers/net/mlx4/en_main.c
sys/ofed/drivers/net/mlx4/en_netdev.c
sys/ofed/drivers/net/mlx4/en_port.c
sys/ofed/drivers/net/mlx4/en_rx.c
sys/ofed/drivers/net/mlx4/en_selftest.c [deleted file]
sys/ofed/drivers/net/mlx4/en_tx.c
sys/ofed/drivers/net/mlx4/main.c
sys/ofed/drivers/net/mlx4/mlx4.h
sys/ofed/drivers/net/mlx4/mlx4_en.h
sys/ofed/drivers/net/mlx4/mlx4_stats.h
sys/ofed/drivers/net/mlx4/port.c
sys/ofed/include/linux/mlx4/cq.h
sys/ofed/include/linux/mlx4/device.h
sys/ofed/include/linux/mlx4/doorbell.h
sys/ofed/include/linux/mlx4/qp.h