parameters: (self)
return_statement: return nic_irq_dict
docstring: This is a slow method that is going to read from the system files. Never
          use it outside the initialization code.
docstring_summary: This is a slow method that is going to read from the system files. Never
          use it outside the initialization code.
docstring_tokens: This is a slow method that is going to read from the system files . Never use it outside the initialization code .
function: def __learn_irqs(self):
          """
          This is a slow method that is going to read from the system files. Never
          use it outside the initialization code.
          """
          nic_irq_dict={}
          for nic in self.nics:
              if self.nic_is_bond_iface(nic):
                  for slave in filter(self.__dev_is_hw_iface, self.slaves(nic)):
                      nic_irq_dict[slave] = self.__learn_irqs_one(slave)
              else:
                  nic_irq_dict[nic] = self.__learn_irqs_one(nic)
          return nic_irq_dict
function_tokens: def __learn_irqs ( self ) : nic_irq_dict = { } for nic in self . nics : if self . nic_is_bond_iface ( nic ) : for slave in filter ( self . __dev_is_hw_iface , self . slaves ( nic ) ) : nic_irq_dict [ slave ] = self . __learn_irqs_one ( slave ) else : nic_irq_dict [ nic ] = self . __learn_irqs_one ( nic ) return nic_irq_dict