Thread (8 messages) 8 messages, 2 authors, 2011-08-05

RE: [PATCHv2 NEXT 1/1] netxen: add vlan accel support

flat view

From: Amit Salecha <hidden>
Date: 2011-08-05 10:12:52

From: David Miller [mailto:davem@davemloft.net]
Subject: Re: [PATCHv2 NEXT 1/1] netxen: add vlan accel support

From: <redacted>
Date: Fri, 5 Aug 2011 02:20:15 -0700
quoted
From: Rajesh K Borundia <redacted>

o This increases performance on vlan interface.
o In case of fw reset, need to reprogram the ip addresses.
o Support LRO on vlan interface.

Signed-off-by: Rajesh K Borundia <redacted>
Signed-off-by: Amit Kumar Salecha <redacted>
As far as I can tell your card doesn't accelerate VLANs in hardware
at all, is this true?
True.
I think it's very cumbersome and it doesn't make sense for every
driver in your situation to add this same sequence of software calls.

Some generic facility and interfaces should be created so that the
code doing this software VLAN acceleration is consolidated into
one place and any driver can follow a simple to use API in order
to make use of it.
Basically netxen_nic LRO requirement is to program ip addresses in HW.
After fw recovery we don't get vlan devices by any kernel api, so we are adding NETIF_VLAN_ACC support.
Earlier kernel had vlan group support, through that we get vlan devices and then their ip addresses.

So please suggest from below option:
   1) We can add kernel api to get vlan devices belongs to base interface
   2) we can maintain linked list of ip addresses belongs to vlan device in driver.
   3) Have same patch and write kernel api for vlan acceleration code.

-Amit
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help