[lvc-project] [PATCH net-next] bnx2x: turn off FCoE if storage MAC-address setup failed
    Andrew Lunn 
    andrew at lunn.ch
       
    Sat Jul 13 17:41:33 MSK 2024
    
    
  
On Fri, Jul 12, 2024 at 04:29:15PM +0300, Nikita Kiryushin wrote:
> As of now, initial storage MAC setup (in bnx2x_init_one) is not checked.
> 
> This can lead to unexpected FCoE behavior (as address will be in unexpected
> state) without notice.
> 
> Check dev_addr_add for storage MAC and if it failes produce error message
> and turn off FCoE feature.
How broken is it when this happens? This is called from .probe. So
returning the error code will fail the probe and the device will not
be created. Is that a better solution?
	Andrew
    
    
More information about the lvc-project
mailing list