Last simple expression doesn't take 'dcb_capable' into account?
  dcb_default = "no" if card["driver"] == "bnx2x" || dcb_capable == "no"