Attaching two interface filters on two Ethernet interfaces
Attaching two interface filters on two Ethernet interfaces
- Subject: Attaching two interface filters on two Ethernet interfaces
- From: "Rakesh Singhal" <email@hidden>
- Date: Sat, 1 Mar 2008 13:55:48 +0530
Hi all
I used the structure "iff_filter" to define an interface filter and attached on an Ethernet interface. Using the structure "ifnet_attach_proto_param" I attached the protocol on an Ethernet interface. By doing this I am able to get the transfer rate of n MB/sec.
Now, I have two Ethernet interfaces on the system, one is built-in and other is on PCI Card. I wrote two interface filters and filter functions are same for both filters and attached on both Ethernet interfaces(One on each interface). The same I did for attaching the protocol also.
When I load the NKE, it attaches both interface filters and protocols on both Ethernet interface(one filter and one protocol on each interface). I am communicating through both Ethernet interfaces equally. But here I am getting transfer rate of n/2 MB/sec per interface and total is n MB/sec. I should be able to get n MB/sec per interface and total 2n MB/sec but I am not getting it.
Please let me know to solve the issue.
Thanks in advance
Regards
Rakesh Singhal
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden