]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 253048,253423,253449,253653,253774,253785:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Aug 2013 19:23:57 +0000 (19:23 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Aug 2013 19:23:57 +0000 (19:23 +0000)
commit8359b509c954c675f8427ea295fa3578ddfd9124
tree2a9925cf083c8e6ece7dde54212fb02a4fb07e31
parentbedefea440022930d33d4ea24cbccd51e3711eb1
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

git-svn-id: svn://svn.freebsd.org/base/stable/9@254006 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