• Manish Chopra's avatar
    bnx2x: Fix accounting of vlan resources among the PFs · 5cdc40c7
    Manish Chopra authored
    While testing max vlan configuration on the PF, firmware gets
    assert as driver was configuring number of vlans more than what
    is supported per port/engine, it was figured out that there is an
    implicit vlan (hidden default vlan consuming hardware cam entry resource)
    which is configured default for all the clients (PF/VFs) on client_init
    ramrod by the adapter implicitly, so when allocating resources among the
    PFs this implicit vlan should be considered or total vlan entries should
    be reduced by one to accommodate that default/implicit vlan entry.
    Signed-off-by: default avatarManish Chopra <manishc@marvell.com>
    Signed-off-by: default avatarAriel Elior <aelior@marvell.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5cdc40c7
bnx2x_sp.h 40 KB