Hey all-
heres the next, updated version of the vsi/macvlan integration that we've
been discussing.
Change notes:
* Moved the feature flag to netdev_features.h. No ethtool option for disabling
it yet, but its there now, and seems to fit fairly well. I was actually
thinking about your comment John, regarding the clumsiness in allowing sw and hw
accel vlans on the same lowerdev, and it just occured to me that we could use
the same flag on the macvlan device directly - i.e. if we found that a lowerdev
supported acceleration, then call ndo_dfwd_station_add, and, if successfull, set
the same feature flag in the macvlan device. Then we could use ethtool to
control the enabling/disabling of acceleration at the macvlan device directly.
Thoughts?
* Moved the acceleration net device methods back into net_device_ops. Looks
pretty good to me there.
* Restored the use of a separate xmit routine so we weren't subject to the
lowerdevs queue disciplines. I integrated its use with dev_hard_start_xmit, so
we could share the use of the linearization code, etc. Let me know what you
think.
Best
Neil