created | 2023-05-13T20:54:32Z |
---|---|
begin | 2023-05-10T00:00:00Z |
end | 2023-05-11T00:00:00Z |
path | src/sys |
commits | 7 |
date | 2023-05-10T12:07:16Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/pf.c | log | diff | annotate |
src/sys/netinet/in.h | log | diff | annotate | |
src/sys/netinet/ip_output.c | log | diff | annotate | |
src/sys/netinet/tcp_output.c | log | diff | annotate | |
src/sys/netinet/tcp_subr.c | log | diff | annotate | |
src/sys/netinet/tcp_usrreq.c | log | diff | annotate | |
src/sys/netinet/tcp_var.h | log | diff | annotate | |
message |
Implement TCP send offloading, for now in software only. This is meant as a fallback if network hardware does not support TSO. Driver support is still work in progress. TCP output generates large packets. In IP output the packet is chopped to TCP maximum segment size. This reduces the CPU cycles used by pf. The regular output could be assisted by hardware later, but pf route-to and IPsec needs the software fallback in general. For performance comparison or to workaround possible bugs, sysctl net.inet.tcp.tso=0 disables the feature. netstat -s -p tcp shows TSO counter with chopped and generated packets. based on work from jan@ tested by jmc@ jan@ Hrvoje Popovski OK jan@ claudio@ |
date | 2023-05-10T12:07:17Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/ip6_output.c | log | diff | annotate |
src/sys/sys/mbuf.h | log | diff | annotate | |
message |
Implement TCP send offloading, for now in software only. This is meant as a fallback if network hardware does not support TSO. Driver support is still work in progress. TCP output generates large packets. In IP output the packet is chopped to TCP maximum segment size. This reduces the CPU cycles used by pf. The regular output could be assisted by hardware later, but pf route-to and IPsec needs the software fallback in general. For performance comparison or to workaround possible bugs, sysctl net.inet.tcp.tso=0 disables the feature. netstat -s -p tcp shows TSO counter with chopped and generated packets. based on work from jan@ tested by jmc@ jan@ Hrvoje Popovski OK jan@ claudio@ |
date | 2023-05-10T15:28:26Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/dev/usb/umass_scsi.c | log | diff | annotate |
src/sys/scsi/scsiconf.h | log | diff | annotate | |
src/sys/scsi/sd.c | log | diff | annotate | |
message |
Add flag SDEV_UFI so umass_scsi_attach() can provide information sufficient to get sdgetdisklabel() to correctly set d_type to DTYPE_FLOPPY in the default disklabel. installboot(8) in particular likes to know it is dealing with a floppy. ok miod@ |
date | 2023-05-10T18:26:05Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/dev/usb/usbdevs | log | diff | annotate |
message | New udl(4) device, reported by "S V" on tech@ |
date | 2023-05-10T18:26:43Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/dev/usb/usbdevs.h | log | diff | annotate |
src/sys/dev/usb/usbdevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-05-10T18:28:04Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/dev/usb/udl.c | log | diff | annotate |
message | New udl(4) device, reported by "S V" on tech@ |
date | 2023-05-10T22:42:51Z | |||
---|---|---|---|---|
author | sashan | |||
files | src/sys/net/pf_lb.c | log | diff | annotate |
src/sys/net/pfvar_priv.h | log | diff | annotate | |
message |
nat-to may fail to insert state due to conflict on chosen source port number. This is typically indicated by 'wire key attach failed on...' message when pf(4) debugging is enabled. The problem is caused by glitch in pf_get_sport() which fails to discover conflict in advance. In order to fix it we must also calculate toeplitz hash in pf_get_sport() to initialize look up key properly. the bug has been kindly reported by joosepm _von_ gmail _dot_ com OK dlg@ |