NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56047: REGRESSION: ifconfig ixgX [-]{udp,tcp}{4,6}csum fails



Hi.

On 2021/03/09 17:45, kardel%netbsd.org@localhost wrote:
>> Number:         56047
>> Category:       bin
>> Synopsis:       REGRESSION: ifconfig ixgX [-]{udp,tcp}{4,6}csum fails
>> Confidential:   no
>> Severity:       serious
>> Priority:       high
>> Responsible:    bin-bug-people
>> State:          open
>> Class:          sw-bug
>> Submitter-Id:   net
>> Arrival-Date:   Tue Mar 09 08:45:00 +0000 2021
>> Originator:     Frank Kardel
>> Release:        NetBSD 9.99.80
>> Organization:
> 	
>> Environment:
> 	
> 	
> System: NetBSD gateway 9.99.80 NetBSD 9.99.80 (GATEWAY) #0: Fri Mar 5 07:48:43 UTC 2021 kardel@gateway:/src/NetBSD/cur/src/obj.amd64/sys/arch/amd64/compile/GATEWAY amd64
> Architecture: x86_64
> Machine: amd64
>> Description:
> 	ifconfig ixgX udp4csum fails with ifconfig: SIOCSIFCAP: Invalid argument
> 
> 	checking the combinations for {,-}{udp,tcp}{4,6}csum{,-tx,-rx} {,-}ip4csum{,-tx,-rx} gives:
> ifconfig ixg3 udp4csum
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0
> ifconfig ixg3 udp4csum-tx
>         enabled=0x2000<UDP4CSUM_Tx>
> ifconfig ixg3 udp4csum-rx
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x2000<UDP4CSUM_Tx>
> ifconfig ixg3 udp6csum
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x2000<UDP4CSUM_Tx>
> ifconfig ixg3 udp6csum-tx
>         enabled=0x22000<UDP4CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 udp6csum-rx
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x22000<UDP4CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 tcp4csum
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x22000<UDP4CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 tcp4csum-tx
>         enabled=0x22800<TCP4CSUM_Tx,UDP4CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 tcp4csum-rx
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x22800<TCP4CSUM_Tx,UDP4CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 tcp6csum
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x22800<TCP4CSUM_Tx,UDP4CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 tcp6csum-tx
>         enabled=0x2a800<TCP4CSUM_Tx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 tcp6csum-rx
> ifconfig: SIOCSIFCAP: Invalid argument
> Exit 1
>         enabled=0x2a800<TCP4CSUM_Tx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 -udp4csum
>         enabled=0x28800<TCP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 -udp4csum-tx
>         enabled=0x28800<TCP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 -udp4csum-rx
>         enabled=0x28800<TCP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
> ifconfig ixg3 -udp6csum
>         enabled=0x8800<TCP4CSUM_Tx,TCP6CSUM_Tx>
> ifconfig ixg3 -udp6csum-tx
>         enabled=0x8800<TCP4CSUM_Tx,TCP6CSUM_Tx>
> ifconfig ixg3 -udp6csum-rx
>         enabled=0x8800<TCP4CSUM_Tx,TCP6CSUM_Tx>
> ifconfig ixg3 -tcp4csum
>         enabled=0x8000<TCP6CSUM_Tx>
> ifconfig ixg3 -tcp4csum-tx
>         enabled=0x8000<TCP6CSUM_Tx>
> ifconfig ixg3 -tcp4csum-rx
>         enabled=0x8000<TCP6CSUM_Tx>
> ifconfig ixg3 -tcp6csum
>         enabled=0
> ifconfig ixg3 -tcp6csum-tx
>         enabled=0
> ifconfig ixg3 -tcp6csum-rx
>         enabled=0
> ifconfig ixg3 ip4csum
>         enabled=0x300<IP4CSUM_Rx,IP4CSUM_Tx>
> ifconfig ixg3 ip4csum-tx
>         enabled=0x300<IP4CSUM_Rx,IP4CSUM_Tx>
> ifconfig ixg3 ip4csum-rx
>         enabled=0x300<IP4CSUM_Rx,IP4CSUM_Tx>
> ifconfig ixg3 -ip4csum
>         enabled=0
> ifconfig ixg3 -ip4csum-tx
>         enabled=0
> ifconfig ixg3 -ip4csum-rx
>         enabled=0
> 
> 	So there seems to be trouble whenever a -rx component is involved for tcp and udp.
>> How-To-Repeat:
> 	Just check the above ifconfig commands
>> Fix:
> 	-n/a-
> 
>> Unformatted:
>  	
>  	
> 

Is that a really regression?
Is it the same as kern/50933?

	http://gnats.netbsd.org/50933

If so, please someone(TM) write the limitation to the manual
instead of my poor English :(

-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index