All of lore.kernel.org
 help / color / mirror / Atom feed
* Network interface change notifications between an ethX and vif?
@ 2017-02-15 18:43 Jeremy Bender
  0 siblings, 0 replies; only message in thread
From: Jeremy Bender @ 2017-02-15 18:43 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 867 bytes --]

I will apologize up front for my ignorance on the topic of 'Xen' since I
have just been thrown into it.  My task at hand is to make modifications to
the Linux kernel so that when the vif on one VHD connected to the
corresponding eth0 on another VHD goes down (ip link set vif1.0 down), eth0
appears to be down as well.

I have assigned a new common function to the function pointer
".ndo_change_carrier" of xennet_netdev_ops defined in xen-netfront.c which
simply either calls "netif_carrier_on(dev)" or "netif_carrier_off(dev)".
But my new function never gets called.

Whether or not I assign the same IP to eth0 and the vif or whether I use a
bridge makes no difference.

Any help would be appreciated.  Also, the documentation on
.ndo_change_carrier is a little terse, if someone could give me a little
more detail about when it is actually called would be great.

[-- Attachment #1.2: Type: text/html, Size: 949 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-15 18:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 18:43 Network interface change notifications between an ethX and vif? Jeremy Bender

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.