Aw: Re: Re: Re: Re: [PATCH v3 0/5] arm: dts: mt7623: relocate gmacs, mt7530 switch, and add port@5

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

 



Hi

> Gesendet: Mittwoch, 12. April 2023 um 16:31 Uhr
> Von: "Arınç ÜNAL" <arinc.unal@xxxxxxxxxx>
> > looks good so far, but i have not managed how to change dsa master from the preferred port (eth0) to the second one...
> > any idea how the correct syntax is for iproute2?
> 
> https://www.kernel.org/doc/html/latest/networking/dsa/configuration.html#affinity-of-user-ports-to-cpu-ports
> 
> In short: ip link set lan0 type dsa conduit eth1

thanks, it changes the master when i upgrade iproute to 6.1 (from debian bullseye-backports), but i cannot do any traffic on it after switching to gmac1...

5: wan@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f2:d2:51:56:cd:3d brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.11/24 scope global wan
       valid_lft forever preferred_lft forever

see no p5-TX/gmac-rx

root@bpi-r2:~# ethtool -S eth1                                                                                                                                                 
NIC statistics:                                                                                                                                                                
     tx_bytes: 5156                                                                                                                                                            
     tx_packets: 61                                                                                                                                                            
     tx_skip: 0                                                                                                                                                                
     tx_collisions: 0                                                                                                                                                          
     rx_bytes: 0                                                                                                                                                               
     rx_packets: 0                                                                                                                                                             
     rx_overflow: 0                                                                                                                                                            
     rx_fcs_errors: 0                                                                                                                                                          
     rx_short_errors: 0                                                                                                                                                        
     rx_long_errors: 0                                                                                                                                                         
     rx_checksum_errors: 0                                                                                                                                                     
     rx_flow_control_packets: 0                                                                                                                                                
     rx_xdp_redirect: 0                                                                                                                                                        
     rx_xdp_pass: 0                                                                                                                                                            
     rx_xdp_drop: 0                                                                                                                                                            
     rx_xdp_tx: 0                                                                                                                                                              
     rx_xdp_tx_errors: 0                                                                                                                                                       
     tx_xdp_xmit: 0                                                                                                                                                            
     tx_xdp_xmit_errors: 0                                                                                                                                                     
     p05_TxDrop: 0                                                                                                                                                             
     p05_TxCrcErr: 0                                                                                                                                                           
     p05_TxUnicast: 0                                                                                                                                                          
     p05_TxMulticast: 0                                                                                                                                                        
     p05_TxBroadcast: 0                                                                                                                                                        
     p05_TxCollision: 0                                                                                                                                                        
     p05_TxSingleCollision: 0                                                                                                                                                  
     p05_TxMultipleCollision: 0                                                                                                                                                
     p05_TxDeferred: 0                                                                                                                                                         
     p05_TxLateCollision: 0                                                                                                                                                    
     p05_TxExcessiveCollistion: 0                                                                                                                                              
     p05_TxPause: 0                                                                                                                                                            
     p05_TxPktSz64: 0                                                                                                                                                          
     p05_TxPktSz65To127: 0                                                                                                                                                     
     p05_TxPktSz128To255: 0                                                                                                                                                    
     p05_TxPktSz256To511: 0                                                                                                                                                    
     p05_TxPktSz512To1023: 0                                                                                                                                                   
     p05_Tx1024ToMax: 0                                                                                                                                                        
     p05_TxBytes: 0                                                                                                                                                            
     p05_RxDrop: 0                                                                                                                                                             
     p05_RxFiltering: 16                                                                                                                                                       
     p05_RxUnicast: 11                                                                                                                                                         
     p05_RxMulticast: 38                                                                                                                                                       
     p05_RxBroadcast: 12                                                                                                                                                       
     p05_RxAlignErr: 0                                                                                                                                                         
     p05_RxCrcErr: 0                                                                                                                                                           
     p05_RxUnderSizeErr: 0                                                                                                                                                     
     p05_RxFragErr: 0                                                                                                                                                          
     p05_RxOverSzErr: 0                                                                                                                                                        
     p05_RxJabberErr: 0                                                                                                                                                        
     p05_RxPause: 0                                                                                                                                                            
     p05_RxPktSz64: 17                                                                                                                                                         
     p05_RxPktSz65To127: 44                                                                                                                                                    
     p05_RxPktSz128To255: 0                                                                                                                                                    
     p05_RxPktSz256To511: 0                                                                                                                                                    
     p05_RxPktSz512To1023: 0                                                                                                                                                   
     p05_RxPktSz1024ToMax: 0                                                                                                                                                   
     p05_RxBytes: 5156                                                                                                                                                         
     p05_RxCtrlDrop: 0                                                                                                                                                         
     p05_RxIngressDrop: 0                                                                                                                                                      
     p05_RxArlDrop: 0

maybe i miss something?

i'm not sure it is a problem with richards Patch or p5/gmac1

> > at least vladimirs patch should be included when applying this series
> 
> I'm currently cleaning up the DSA driver, I'll get to this at some point.

regards Frank




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux