freebsd-nq/sys/ofed/drivers/net/mlx4
Gleb Smirnoff b245f96c44 Since 32-bit if_baudrate isn't enough to describe a baud rate of a 10 Gbit
interface, in the r241616 a crutch was provided. It didn't work well, and
finally we decided that it is time to break ABI and simply make if_baudrate
a 64-bit value. Meanwhile, the entire struct if_data was reviewed.

o Remove the if_baudrate_pf crutch.

o Make all fields of struct if_data fixed machine independent size. The
  notion of data (packet counters, etc) are by no means MD. And it is a
  bug that on amd64 we've got a 64-bit counters, while on i386 32-bit,
  which at modern speeds overflow within a second.

  This also removes quite a lot of COMPAT_FREEBSD32 code.

o Give 16 bit for the ifi_datalen field. This field was provided to
  make future changes to if_data less ABI breaking. Unfortunately the
  8 bit size of it had effectively limited sizeof if_data to 256 bytes.

o Give 32 bits to ifi_mtu and ifi_metric.
o Give 64 bits to the rest of fields, since they are counters.

__FreeBSD_version bumped.

Discussed with:	emax
Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
2014-03-13 03:42:24 +00:00
..
alloc.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
catas.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
cmd.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
cq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_cq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_ethtool.c Fix for bad performance when mtu is increased. 2013-11-08 18:26:28 +00:00
en_frag.c Change m->pkthdr.header to m->pkthdr.PH_loc.ptr after r254804 2013-08-25 09:45:26 +00:00
en_main.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_netdev.c Since 32-bit if_baudrate isn't enough to describe a baud rate of a 10 Gbit 2014-03-13 03:42:24 +00:00
en_params.c
en_port.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_port.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_resources.c
en_rx.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_selftest.c
en_tx.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
eq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
fw.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
fw.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
icm.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
icm.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
intf.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
main.c Fixed kernel crash when removing IPOIB_CM option from configuration file 2013-10-01 15:36:51 +00:00
Makefile Similar to r260020, only use -fms-extensions with gcc, for all other 2013-12-30 20:34:53 +00:00
mcg.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
mlx4_en.h Defer start/stop port to workqueues. 2013-12-15 07:07:13 +00:00
mlx4.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
mr.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
pd.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
port.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
profile.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
qp.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
reset.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
resource_tracker.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
sense.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
srq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
sys_tune.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
xrcd.c