Hi,

On Fri, Nov 17, 2023 at 02:46:52PM +0100, Olivier Cochard-Labbé wrote:
> On Fri, Nov 17, 2023 at 2:31 PM Herbert J. Skuhra <herb...@gojira.at> wrote:
> 
> >
> > 1. It even fails with a simple pf.conf:
> >    pass in all
> >    pass out all
> >
> > 2. Fetching port distfiles also failed.
> >
> > 3. If I disable rxcsum on the ethernet adapter (igb0) it works.
> >
> >
> I can't reproduce it with pfctl too (same igb drivers with default RXCSUM
> enabled).
> 
> $ cat /etc/pf.conf
> pass in all
> pass out all
> $ service pf onestart
> Enabling pf
> .
> $ pfctl -sr
> pass in all flags S/SA keep state
> pass out all flags S/SA keep state
> $ sysctl net.inet.tcp.functions_default
> net.inet.tcp.functions_default: rack
> $ ifconfig igb0 | grep option
> 
> options=4e523bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 
> $ git clone -q g...@github.com:freebsd/freebsd-src.git && echo working
> working
> 
> What is your igb chipset exactly  ? (pciconf -lv | grep -B 3 -F "network")

igb0@pci0:41:0:0:       class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 
device=0x1533 subvendor=0x1849 subdevice=0x1533
    vendor     = 'Intel Corporation'
    device     = 'I210 Gigabit Network Connection'
    class      = network

> What is your netstat -ss output ?

tcp:
        946 packets sent
                933 data packets (41681 bytes)
                7946 ack-only packets (2 delayed)
                1 control packet
        999 packets received
                860 acks (for 41681 bytes)
                910 packets (118790 bytes) received in-sequence
                12 completely duplicate packets (17136 bytes)
        1 connection request
        1 connection established (including accepts)
                1 time used RTT from hostcache
                1 time used RTT variance from hostcache
        1 connection closed (including 1 drop)
                1 connection updated cached RTT on close
                1 connection updated cached RTT variance on close
        862 segments updated rtt (of 847 attempts)
        71 correct ACK header predictions
        124 correct data packet header predictions
        7910 SACK options (SACK blocks) sent
TCP connection count by state:
        7 connections in LISTEN state
        1 connection  in ESTABLISHED state
udp:
        39 datagrams received
        39 delivered
        39 datagrams output
ip:
        80 total packets received
        23 packets for this host
        23 packets sent from this host
icmp:
        ICMP address mask responses are disabled
igmp:
arp:
ip6:
        933 total packets received
        931 packets for this host
        8891 packets sent from this host
        Input histogram:
                TCP: 915
                UDP: 16
                ICMP6: 2
        Mbuf statistics:
                870 one mbuf
                63 one ext mbuf
                0 two or more ext mbuf
        source addresses on an outgoing I/F
                2 link-locals
                3 globals
        source addresses of same scope
                2 link-locals
                3 globals
        Source addresses selection rule applied:
                5 first candidate
                3 appropriate scope
icmp6:
        Output histogram:
                neighbor solicitation: 2
        Input histogram:
                neighbor advertisement: 2
        Histogram of error messages to be generated:
rip6:


Thanks.

-- 
Herbert

Reply via email to