freebsd-nq/sys/dev/bxe
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
..
57710_init_values.c Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
57710_int_offsets.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
57711_init_values.c Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
57711_int_offsets.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
57712_init_values.c Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
57712_int_offsets.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
bxe_dcb.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
bxe_debug.c Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
bxe_elink.c Fixed a tx watchdog chip reset that could occur on mostly idle links. 2013-11-15 20:26:14 +00:00
bxe_elink.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
bxe_stats.c Fixed the media type shown via ifconfig. 2013-10-10 21:10:51 +00:00
bxe_stats.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
bxe.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
bxe.h Fixed a tx watchdog chip reset that could occur on mostly idle links. 2013-11-15 20:26:14 +00:00
ecore_fw_defs.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
ecore_hsi.h defragment mbuf chains longer than hw segment limit before dropping 2014-01-07 22:26:20 +00:00
ecore_init_ops.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
ecore_init.h Fixed a tx watchdog chip reset that could occur on mostly idle links. 2013-11-15 20:26:14 +00:00
ecore_mfw_req.h Substantial rewrite of bxe(4) to add support for the BCM57712 and 2013-09-20 20:18:49 +00:00
ecore_reg.h Fixed a tx watchdog chip reset that could occur on mostly idle links. 2013-11-15 20:26:14 +00:00
ecore_sp.c For TSO, when the first mbuf contains both the packet header and data, the 2013-12-30 23:02:26 +00:00
ecore_sp.h Fixed a tx watchdog chip reset that could occur on mostly idle links. 2013-11-15 20:26:14 +00:00