Re: net: replace hooks in __netif_receive_skb (v4)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Pirko
Date: Wednesday, June 2, 2010 - 12:02 am

Tue, Jun 01, 2010 at 06:10:04PM CEST, shemminger@vyatta.com wrote:

Right, I'm not saying it has sense to have it together in the same moment. But
you can to this:

# ip link add link eth0 type macvlan

You can use eth0 + macvlan0. Now you do:

# brctl addif br0 eth0

Direct use of eth0 and macvlan0 is not not possible now.

# brctl delif br0 eth0

Now the original functionality ot eth0 and macvlan0 is restored.


But ok, I hear your arguments, I thought about them myself before I did the
patch and I thought that added overhead (which is not too big, I see one more
dereference, rx_handler pointer) would be acceptible.

Maybe someone other then us has opinion too :)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH net-next-2.6] net: replace hooks in __netif_rec ..., Stephen Hemminger, (Thu May 27, 1:08 pm)
net: replace hooks in __netif_receive_skb (v4), Stephen Hemminger, (Tue Jun 1, 8:28 am)
Re: net: replace hooks in __netif_receive_skb (v4), Jiri Pirko, (Tue Jun 1, 8:41 am)
Re: net: replace hooks in __netif_receive_skb (v4), Stephen Hemminger, (Tue Jun 1, 9:10 am)
RE: replace hooks in __netif_receive_skb (v4), Fischer, Anna, (Tue Jun 1, 9:13 am)
Re: replace hooks in __netif_receive_skb (v4), Jiri Pirko, (Tue Jun 1, 11:50 pm)
Re: net: replace hooks in __netif_receive_skb (v4), Jiri Pirko, (Wed Jun 2, 12:02 am)
Re: net: replace hooks in __netif_receive_skb (v4), Jiri Pirko, (Wed Jun 2, 12:24 am)