]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/commit
MFC 253048,253423,253449,253653,253774,253785:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Aug 2013 20:04:44 +0000 (20:04 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Aug 2013 20:04:44 +0000 (20:04 +0000)
commitf2d3553cba320f89f5eb6a33ee27a7e3fa4a51ac
treed5575d8ea677a417a5464d71ffc099efd5a516a9
parent6f38a173b09597e4c57f01ea10355ce1a1d9c99f
MFC 253048,253423,253449,253653,253774,253785:
- Allow mlx4 devices to switch between Ethernet and Infiniband:
  - Fix sysfs attribute handling by using sysctl_handle_string() and
    properly handling trailing newlines in attribute values.
  - Remove check forbidding requests that would result in one port being
    set to Ethernet and the subsequent port being set to IB.
- Avoid trashing IP fragments by correctly managing hardware checksumming.
- Fix panics when downing or unloading the mlx4 driver.

PR: kern/179999, kern/174213, kern/180430, kern/180791
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254007 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/net/mlx4/en_netdev.c
sys/ofed/drivers/net/mlx4/en_tx.c
sys/ofed/drivers/net/mlx4/main.c
sys/ofed/include/linux/sysfs.h