np
0814087cf4
Ring the egress queue's doorbell as soon as there are 8 or more
...
descriptors ready to be processed.
MFC after: 1 day
2013-07-04 19:15:41 +00:00
np
c783f2d418
The T5 allows the driver to specify the ISS. Do so; use the ISS picked
...
by the kernel.
MFC after: 1 day
2013-07-04 18:41:21 +00:00
np
e6e5075ec5
- Read all TP parameters in one place.
...
- Read the filter mode, calculate various shifts, and use them
properly during active open (in select_ntuple).
MFC after: 1 day
2013-07-04 17:55:52 +00:00
np
d57fff3987
- Include the T5 firmware with the driver.
...
- Update the T4 firmware to the latest.
- Minor reorganization and updates to the version macros, etc.
Obtained from: Chelsio
MFC after: 1 day
2013-07-03 23:52:15 +00:00
np
c43949eb1a
Add a sysctl to get the number of filters available.
...
sysctl dev.t4nex.<N>.nfilters
sysctl dev.t5nex.<N>.nfilters
MFC after: 3 days
2013-07-01 17:31:04 +00:00
np
93c1efc342
Update T5 register ranges. This is so that regdump skips over registers
...
with read side-effects.
MFC after: 3 days
2013-06-27 18:59:07 +00:00
np
3ef8ef9167
cxgbe/tom: Allow caller to select the queue (control or data) used to
...
send the CPL_SET_TCB_FIELD request in t4_set_tcb_field().
MFC after: 1 week
2013-06-11 21:20:23 +00:00
np
e9cf267187
cxgbe/tom: Fix bad signed/unsigned mixup in the stid allocator. This
...
fixes a panic when allocating a mixture of IPv6 and IPv4 stids.
MFC after: 1 week
2013-06-08 07:23:26 +00:00
np
13da956753
cxgbe(4): Never install a firmware if hw.cxgbe.fw_install is 0.
...
MFC after: 1 week
2013-06-05 20:57:52 +00:00
np
9b1423fbd7
cxgbe(4): Provide accurate hit count for filters on T5 cards. The
...
location within the TCB and the size have both changed.
MFC after: 1 week
2013-06-04 02:25:25 +00:00
np
5b44880756
cxgbe(4): Some more debug sysctls. These work on both T4 and T5 based
...
cards.
dev.t5nex.0.misc.cim_ma_la: CIM MA logic analyzer
dev.t5nex.0.misc.cim_pif_la: CIM PIF logic analyzer
dev.t5nex.0.misc.mps_tcam: MPS TCAM entries
dev.t5nex.0.misc.tp_la: TP logic analyzer
dev.t5nex.0.misc.ulprx_la: ULPRX logic analyzer
Obtained from: Chelsio
MFC after: 1 week
2013-06-01 02:07:37 +00:00
kib
34ba3ba22e
Add dependencies on the firmware, which allows the loading of the cxgb
...
and cxgbe modules.
Reviewed and approved by: np
MFC after: 1 week
2013-05-16 13:07:02 +00:00
np
5e7d97123b
Deal correctly with 40G ports that don't have any transceiver plugged
...
in. Do not claim that they have unknown tranceivers.
MFC after: 3 days
2013-05-13 20:00:03 +00:00
np
20af13d27b
cxgbe: Switch to a better way to install firmware.
...
MFC after: 1 week
2013-05-03 20:09:17 +00:00
np
be8e188ab1
cxgbe/tom: Do not use M_PROTO1 to mark rx zero-copy mbufs as special.
...
All the M_PROTOn flags are clobbered when an mbuf is appended to the
socket buffer.
MFC after: 1 week
2013-05-03 18:37:50 +00:00
np
74e4174d3b
Fix DDP breakage introduced in r248925. Bitwise OR has higher
...
precedence than ternary conditional.
MFC after: 1 week
2013-04-30 19:57:21 +00:00
np
1ae8f599c6
Attach to the T580 (2 x 40G) card.
...
MFC after: 1 week.
2013-04-30 06:30:21 +00:00
np
f28f0645eb
- Provide accurate ifmedia information so that 40G ports/transceivers are
...
displayed properly in ifconfig, etc.
- Use the same number of tx and rx queues for a 40G port as for a 10G port.
MFC after: 1 week
2013-04-30 05:51:52 +00:00
np
5d25f28d35
cxgbe(4): Some updates to shared code.
...
Obtained from: Chelsio
MFC after: 1 week
2013-04-30 05:32:07 +00:00
np
dbe0865208
cxgbe(4): Refuse to install T5 firmwares on a T4 card (and vice versa).
...
MFC after: 1 week
2013-04-18 22:54:41 +00:00
np
e140f34c92
cxgbe/tom: Update the CLIP table on the chip when there are changes
...
to the list of IPv6 addresses on the system. The table is used for
TOE+IPv6 only.
2013-04-18 19:52:11 +00:00
np
255ff35d8e
Add pciids of the T5 based cards. The ones that I haven't tested with
...
cxgbe(4) are disabled for now. This will change.
MFC after: 2 weeks
2013-04-11 23:40:05 +00:00
np
bdeb98927c
Cosmetic change (s/wrwc/wcwr/;s/WRWC/WCWR/).
...
MFC after: 3 days.
2013-04-11 22:49:29 +00:00
np
35e58ff9d5
Auto-reduce the holdoff timers that are greater than the maximum value
...
allowed by the hardware.
MFC after: 3 days
2013-04-11 22:46:39 +00:00
np
8cfaf1f711
cxgbe/tom: Slight simplification of code that calculates options2.
...
MFC after: 3 days
2013-04-11 21:36:01 +00:00
np
fb2d6a2d06
Get rid of a couple of stray \n's.
...
MFC after: 3 days.
2013-04-11 21:17:49 +00:00
np
ebbc873044
There is no need for elaborate queries and error checking when trying to
...
set FW4MSG_ENCAP.
MFC after: 3 days
2013-04-11 21:15:35 +00:00
np
e4426c1dc8
- Explain clearly why a different firmware is being installed (if/when
...
it is being installed). Improve other error messages while here.
- Select special FPGA specific configuration profile when appropriate.
MFC after: 3 days
2013-04-11 19:39:40 +00:00
np
f4aa2790e6
cxgbe(4): Ensure that the MOD_LOAD handler runs before either t4nex or
...
t5nex attach to their devices.
MFC after: 3 days
2013-04-11 17:50:50 +00:00
np
3c60e22da7
cxgbe(4): Add support for Chelsio's Terminator 5 (aka T5) ASIC. This
...
includes support for the NIC and TOE features of the 40G, 10G, and
1G/100M cards based on the T5.
The ASIC is mostly backward compatible with the Terminator 4 so cxgbe(4)
has been updated instead of writing a brand new driver. T5 cards will
show up as cxl (short for cxlgb) ports attached to the t5nex bus driver.
Sponsored by: Chelsio
2013-03-30 02:26:20 +00:00
np
b32aae3927
cxgbe(4): Report unusual out of band errors from the firmware.
...
Obtained from: Chelsio
MFC after: 5 days
2013-02-26 21:25:17 +00:00
np
84af8e189d
cxgbe(4): Consider all the API versions of the interfaces exported by
...
the firmware (instead of just the main firmware version) when evaluating
firmware compatibility. Document the new "hw.cxgbe.fw_install" knob
being introduced here.
This should fix kern/173584 too. Setting hw.cxgbe.fw_install=2 will
mostly do what was requested in the PR but it's a bit more intelligent
in that it won't reinstall the same firmware repeatedly if the knob is
left set.
PR: kern/173584
MFC after: 5 days
2013-02-26 20:35:54 +00:00
np
b803c7de89
cxgbe(4): Ask the card's firmware to pad up tiny CPLs by encapsulating
...
them in a firmware message if it is able to do so. This works out
better for one of the FIFOs in the chip.
MFC after: 5 days
2013-02-26 00:27:27 +00:00
np
f9193e6daa
cxgbe(4): Update firmware to 1.8.4.0.
...
MFC after: 5 days
2013-02-26 00:10:28 +00:00
np
0a09d2ed1b
cxgbe(4): Add sysctls to extract debug information from the chip:
...
dev.t4nex.X.misc.cim_la logic analyzer dump
dev.t4nex.X.misc.cim_qcfg queue configuration
dev.t4nex.X.misc.cim_ibq_xxx inbound queues
dev.t4nex.X.misc.cim_obq_xxx outbound queues
Obtained from: Chelsio
MFC after: 1 week
2013-02-21 20:13:15 +00:00
np
3c76043088
cxgbe(4): Assume that CSUM_TSO in the transmit path implies CSUM_IP and
...
CSUM_TCP too. They are all set explicitly by the kernel usually.
While here, fix an unrelated bug where hardware L4 checksum calculation
was accidentally disabled for some IPv6 packets.
Reported by: alfred@
MFC after: 3 days
2013-02-20 23:15:40 +00:00
np
ca3fe89a4e
Do not hold locks around hardware context reads.
...
MFC after: 3 days
2013-02-09 00:35:28 +00:00
np
73c1717b7e
Busy-wait when cold.
...
Reported by: gnn, jhb
MFC after: 3 days
2013-02-06 06:44:42 +00:00
np
e0b49f90f6
Provide a statistic to track the number of drops in each of the port's
...
txq's buf_ring. The aggregate for all the queues of a port is already
provided in ifnet->if_snd.ifq_drops.
MFC after: 3 days.
2013-01-29 20:59:22 +00:00
np
f20c120ed1
Install an extra hold on the newly allocated synq entry so that it
...
cannot be freed while do_pass_accept_req is running. This closes a race
where do_pass_establish on another CPU (the driver chose a different
queue for the new tid) expands the synq entry into a full PCB and then
releases the only hold on it, all while do_pass_accept_req is still
running.
MFC after: 3 days
2013-01-26 03:23:28 +00:00
np
7658f66486
Force the 404-BT card (4 x 1G) to use the "uwire" configuration file.
...
MFC after: 3 days
2013-01-26 03:10:28 +00:00
np
05938d1be0
Add a couple of missing error codes. Treat CPL_ERR_KEEPALV_NEG_ADVICE as
...
negative advice and not a fatal error.
MFC after: 3 days
2013-01-26 03:01:51 +00:00
np
62747ef26c
cxgbe/tom: List IFCAP_TOE6 as supported now that all the required pieces
...
are in place. You still have to enable it explicitly, after loading the
t4_tom KLD.
2013-01-26 01:06:27 +00:00
np
5bfac01b59
cxgbe: Make the for_each macros safer to use by turning them
...
into a single statement each.
Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
MFC after: 1 week
2013-01-17 18:52:49 +00:00
np
b178c1180d
cxgbe: Do a more thorough job in the CLEAR_STATS ioctl.
...
MFC after: 3 days
2013-01-16 23:49:55 +00:00
np
c55e4d0a8a
cxgbe: Fix the for_each_foo macros -- the last argument should not share
...
its name with any member of struct sge.
MFC after: 3 days
2013-01-16 23:48:55 +00:00
np
3d394d93b6
cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (passive open).
...
MFC after: 1 week
2013-01-15 18:50:40 +00:00
np
0d2fbb8bdc
cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (active open).
...
MFC after: 1 week
2013-01-15 18:38:51 +00:00
np
14a5904236
cxgbe/tom: Basic CLIP table management.
...
This is the Compressed Local IPv6 table on the chip. To save space, the
chip uses an index into this table instead of a full IPv6 address in
some of its hardware data structures.
For now the driver fills this table with all the local IPv6 addresses
that it sees at the time the table is initialized. I'll improve this
later so that the table is updated whenever new IPv6 addresses are
configured or existing ones deleted.
MFC after: 1 week
2013-01-15 07:07:29 +00:00
np
90ae50fac7
cxgbe/tom: Miscellaneous updates for TOE+IPv6 support (more to follow).
...
- Teach find_best_mtu_idx() to deal with IPv6 endpoints.
- Install correct protosw in offloaded TCP/IPv6 sockets when DDP is
enabled.
- Move set_tcp_ddp_ulp_mode to t4_tom.c so that t4_tom.h can be included
without having to drag in t4_msg.h too. This was bothering the iWARP
driver for some reason.
MFC after: 1 week
2013-01-15 00:24:01 +00:00