linux router question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I have 3 network interface cards in a linux router using version 2.6.12 of the kernel. I use two
interface cards for incoming traffic and one for outgoing traffic. The two cards used for incoming
traffic, eth1 and eth2, are 3com network cards that use the 3c59x driver. The card that is used for
outgoing traffic, eth0,  uses the e1000 driver.


When there are two network interfaces mainly receiving packets and one mainly sending, will their
interrupt number affect the order packets are put into the queue for transmission?


The following is the output from /proc/interrupts


           CPU0
  0:  299823889          XT-PIC  timer
  1:     173520          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:     126665          XT-PIC  Intel ICH5
  8:      58667          XT-PIC  rtc
  9:   22162271          XT-PIC  acpi, ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb5,
i915@pci:0000:00:02.0, eth2
 10:   46703995          XT-PIC  libata, uhci_hcd:usb4, eth0
 11:   44809773          XT-PIC  uhci_hcd:usb3, eth1
 12:    4199807          XT-PIC  i8042
 14:     547056          XT-PIC  ide0
 15:    2696779          XT-PIC  ide1
NMI:          0
ERR:          0


Are interrupts prioritised ? ie if packets arrive at both eth1 and eth2 at the same time, will the
packets from eth2 be passed to upper layers first because it has a lower interrupt number?


I would really appreciate if someone could answer my question.


Jonathan Lynch
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux