Skip to content

bnx2x: Device Control Channel bug fixes

Eilon Greenstein netdev 1 version Applied

Status from this message: Applied to net-next-2.6, which is where this likely belongs.

Get series with b4
b4 am 1255532825.25030.35.camel@lb-tlvb-eilong

Versions newest first

  1. v1 Latest6 of 8 patches 4 repliesApplied

6 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
2/8bnx2x: Allowing 0 as initial fairness valuedrivers/net/bnx2x_hsi.h drivers/net/bnx2x_main.c firmware/Makefile +1 more+33 -330 replies
4/8bnx2x: Changing the Disabled state to a flagdrivers/net/bnx2x.h drivers/net/bnx2x_main.c+20 -160 replies
5/8bnx2x: Adding FW mailbox mutexdrivers/net/bnx2x.h drivers/net/bnx2x_main.c+8 -20 replies
6/8bnx2x: Do not call load/unload functionality from DCCdrivers/net/bnx2x_main.c+5 -140 replies
7/8bnx2x: Report the maximal available BW as link speeddrivers/net/bnx2x_main.c+13 -10 replies
8/8bnx2x: Update to version 1.52.1-1drivers/net/bnx2x_main.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [net-next 0/8] bnx2x: Device Control Channel bug fixes

Hi Dave,

This bnx2x patch series is fixing some bugs that relates to the Device Control Channel (DCC) code. There are actually 3 different failures:

1. When the fairness initial value was set to zero, the device could not be enabled. This is caused since zero indicated that the mechanism is disabled, and the code (both FW and driver) was not ready to allow enabling it at run time. This patch requires replacing the FW - to allow easier review, it is split to 3 patches:
P1: adding the new FW
P2: the actually patch
P3: removing the old FW

2. Races when loading/unloading the driver when DCC link enable/disable commands are received. There were 3 different races:
P4: The state of the driver which indicates if it is loaded or not was also used to signal if its link is enabled/disabled by DCC
P5: The FW commands to acknowledge the DCC command and loading/unloading the driver run over each other
P6: Setting/clearing the MAC address and the FW filtering rules

3. P7: Reporting the maximal BW as the link speed

Patch number 8 is the version update.

The patches were made based on net-next. Since those are bug fixes, please let me know if I should send them based on net-2.6 as well.

Thanks,
Eilon