search for: eth_dev

Displaying 10 results from an estimated 10 matches for "eth_dev".

2013 Aug 30
3
[PATCH v7] interrupts: allow guest to set/clear MSI-X mask bit
...s enabled). If the mask is set by Xen (interrupts disabled), writes to mask bit by the guest is ignored. Currently, a write to MSI-X mask bit by the guest is silently ignored. A likely scenario is where we have a 82599 SR-IOV nic passed through to a guest. From the guest if you do ifconfig <ETH_DEV> down ifconfig <ETH_DEV> up the interrupts remain masked. On VF reset, the mask bit is set by the controller. At this point, Xen is not aware that mask is set. However, interrupts are enabled by VF driver by clearing the mask bit by writing directly to BAR3 region containing the MSI-X t...
2013 Sep 04
18
[PATCH v8] interrupts: allow guest to set/clear MSI-X mask bit
...s enabled). If the mask is set by Xen (interrupts disabled), writes to mask bit by the guest is ignored. Currently, a write to MSI-X mask bit by the guest is silently ignored. A likely scenario is where we have a 82599 SR-IOV nic passed through to a guest. From the guest if you do ifconfig <ETH_DEV> down ifconfig <ETH_DEV> up the interrupts remain masked. On VF reset, the mask bit is set by the controller. At this point, Xen is not aware that mask is set. However, interrupts are enabled by VF driver by clearing the mask bit by writing directly to BAR3 region containing the MSI-X t...
2014 May 08
2
[PATCH] net: get rid of SET_ETHTOOL_OPS
...l_ops = &cvm_oct_ethtool_ops; cvm_oct_phy_setup_device(dev); cvm_oct_set_mac_filter(dev); diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index b7d4f82..ce8e281 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, net->netdev_ops = &eth_netdev_ops; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; dev->gadget = g; SET_NETDEV_DEV(net, &g->dev); @@ -850,7 +850,7 @@ struct net_device *gether_setup_name_default(const char *ne...
2014 May 08
2
[PATCH] net: get rid of SET_ETHTOOL_OPS
...l_ops = &cvm_oct_ethtool_ops; cvm_oct_phy_setup_device(dev); cvm_oct_set_mac_filter(dev); diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index b7d4f82..ce8e281 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, net->netdev_ops = &eth_netdev_ops; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; dev->gadget = g; SET_NETDEV_DEV(net, &g->dev); @@ -850,7 +850,7 @@ struct net_device *gether_setup_name_default(const char *ne...
2014 May 11
7
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...l_ops = &cvm_oct_ethtool_ops; cvm_oct_phy_setup_device(dev); cvm_oct_set_mac_filter(dev); diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index b7d4f82..ce8e281 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, net->netdev_ops = &eth_netdev_ops; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; dev->gadget = g; SET_NETDEV_DEV(net, &g->dev); @@ -850,7 +850,7 @@ struct net_device *gether_setup_name_default(const char *ne...
2014 May 11
7
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...l_ops = &cvm_oct_ethtool_ops; cvm_oct_phy_setup_device(dev); cvm_oct_set_mac_filter(dev); diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index b7d4f82..ce8e281 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, net->netdev_ops = &eth_netdev_ops; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; dev->gadget = g; SET_NETDEV_DEV(net, &g->dev); @@ -850,7 +850,7 @@ struct net_device *gether_setup_name_default(const char *ne...
2014 May 11
7
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...l_ops = &cvm_oct_ethtool_ops; cvm_oct_phy_setup_device(dev); cvm_oct_set_mac_filter(dev); diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index b7d4f82..ce8e281 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, net->netdev_ops = &eth_netdev_ops; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; dev->gadget = g; SET_NETDEV_DEV(net, &g->dev); @@ -850,7 +850,7 @@ struct net_device *gether_setup_name_default(const char *ne...
2014 May 08
0
[PATCH] net: get rid of SET_ETHTOOL_OPS
...cvm_oct_phy_setup_device(dev); > cvm_oct_set_mac_filter(dev); > diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c > index b7d4f82..ce8e281 100644 > --- a/drivers/usb/gadget/u_ether.c > +++ b/drivers/usb/gadget/u_ether.c > @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, > > net->netdev_ops = &eth_netdev_ops; > > - SET_ETHTOOL_OPS(net, &ops); > + net->ethtool_ops = &ops; > > dev->gadget = g; > SET_NETDEV_DEV(net, &g->dev); > @@ -850,7...
2014 May 11
0
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...cvm_oct_phy_setup_device(dev); > cvm_oct_set_mac_filter(dev); > diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c > index b7d4f82..ce8e281 100644 > --- a/drivers/usb/gadget/u_ether.c > +++ b/drivers/usb/gadget/u_ether.c > @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, > > net->netdev_ops = &eth_netdev_ops; > > - SET_ETHTOOL_OPS(net, &ops); > + net->ethtool_ops = &ops; > > dev->gadget = g; > SET_NETDEV_DEV(net, &g->dev); > @@ -850,7...
2014 May 11
0
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...cvm_oct_phy_setup_device(dev); > cvm_oct_set_mac_filter(dev); > diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c > index b7d4f82..ce8e281 100644 > --- a/drivers/usb/gadget/u_ether.c > +++ b/drivers/usb/gadget/u_ether.c > @@ -793,7 +793,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, > > net->netdev_ops = &eth_netdev_ops; > > - SET_ETHTOOL_OPS(net, &ops); > + net->ethtool_ops = &ops; > > dev->gadget = g; > SET_NETDEV_DEV(net, &g->dev); > @@ -850,7...