freebsd-dev/sys
John Baldwin 74fea8eb4f cxgbei: Rework parsing of pre-offload PDUs.
sbcut() returns mbufs in reverse order so is not suitable for reading
data from the socket buffer.  Instead, check for already-received data
in the receive worker thread before passing offload PDUs up to the
iSCSI layer.  This uses soreceive() to read data from the socket and
is also to use M_WAITOK since it now runs from a worker thread instead
of an interrupt thread.

Also, fix decoding of the data segment length for pre-offload PDUs.

Reported by:	Jithesh Arakkan @ Chelsio
Fixes:		a8c4147edc cxgbei: Parse all PDUs received prior to enabling offload mode.
Sponsored by:	Chelsio Communications
2022-02-04 15:38:49 -08:00
..
amd64 x86 atomic.h: remove obsoleted comment 2022-02-04 14:01:39 +02:00
arm ar40xx_switch: add initial switch for the IPQ4018/IPQ4019. 2022-02-03 21:27:13 -08:00
arm64 Sort the names of the arm64 debug registers 2022-02-04 10:49:27 +00:00
bsm
cam CTL: Fix mode page trucation on HA synchronization. 2022-02-03 11:10:12 -05:00
cddl Teach DTrace about BTI on arm64 2022-01-19 12:07:35 +00:00
compat lindebugfs: Fix write 2022-02-04 14:31:08 +01:00
conf Disable -Wunused-function for {ed,x}25519_ref10.c in libsodium. 2022-02-02 12:25:16 -08:00
contrib zfs: Fix zvol_cdev_open locking 2022-01-26 18:37:52 +00:00
crypto crypto: Add an API supporting curve25519. 2022-01-24 15:27:39 -08:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev cxgbei: Rework parsing of pre-offload PDUs. 2022-02-04 15:38:49 -08:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs fusefs: require FUSE_NO_OPENDIR_SUPPORT for NFS exporting 2022-02-04 16:31:05 -07:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom In GEOM debugging output, show consumer for cloned and duplicated bio's. 2022-01-30 17:21:13 -08:00
gnu
i386 x86 atomic.h: remove obsoleted comment 2022-02-04 14:01:39 +02:00
isa sys/isa: Use C99 fixed-width integer types. 2021-12-28 09:41:57 -08:00
kern kern: harvest entropy from callouts 2022-02-03 10:05:06 -06:00
kgssapi
libkern sys/libkern: Use C99 fixed-width integer types. 2021-12-28 09:42:11 -08:00
modules rtsx: Convert driver to use the mmc_sim interface 2022-02-03 18:43:12 -05:00
net pflog: align header to 4 bytes, not 8 2022-02-01 18:17:44 +01:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-17 00:01:46 +00:00
netgraph domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
netinet ip_mroute: split mrouter interface deactivation and if_free 2022-02-04 10:25:07 +01:00
netinet6 Fix a memory leak when ip_output_send() returns EAGAIN due to send tag issues 2022-01-27 10:34:34 -05:00
netipsec IPsec: Use protocol-specific malloc types instead of M_XDATA. 2022-01-24 15:27:39 -08:00
netpfil ipfilter: Fix indentation error 2022-02-03 08:37:11 -08:00
netsmb
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2021-12-15 20:54:57 -07:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed domains: init with standard SYSINIT(9) or VNET_SYSINIT() 2022-01-03 10:15:22 -08:00
opencrypto opencrypto/xform_*.h: Trim scope of included headers. 2022-01-25 15:21:22 -08:00
powerpc powerpc/atomic: Fix atomic_testand_*_long on powerpc64 2022-02-03 17:25:39 -06:00
riscv arm64, riscv: handle RB_KDB 2022-02-01 13:59:54 -04:00
rpc sys/rpc: Use C99 fixed-width integer types. 2021-12-28 09:43:15 -08:00
security Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
sys kern: harvest entropy from callouts 2022-02-03 10:05:06 -06:00
teken
tests
tools Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
ufs ufs, msdosfs: do not record witness order when creating vnode 2022-02-01 10:51:55 +02:00
vm vmmeter(): Fix detection of the named swap objects 2022-02-02 11:39:58 +02:00
x86 atrtc: Install address space handler for \_SB and its descendant. 2022-01-21 15:32:30 +09:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00