search for: default_mtu

Displaying 17 results from an estimated 17 matches for "default_mtu".

2015 Aug 16
1
[PATCH v2 2/2] virtio-net: add default_mtu configuration field
...network devices. It will be used to pass initial MTU from the device to the driver, and to pass modified MTU from driver to the device when a new MTU is assigned by the guest OS. In addition, in order to support backward and forward compatibility, we introduce a new feature bit called VIRTIO_NET_F_DEFAULT_MTU. Added conformance statements for a device and a driver. Signed-off-by: Victor Kaplansky <victork at redhat.com> Signed-off-by: Victor Kaplansky <victork at redhat.com> --- content.tex | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/content.tex b/c...
2015 Aug 16
5
[PATCH v2 0/2] virtio-net: default_mtu - new conf. field
This set of two patches adds a new field called default_mtu to the configuration area of network devices. The motivation is to allow libvirt to set initial MTU different from 1500 on guests virtual NICs. We also propose to use this new field to report MTU changes by the guest OS to the device to facilitate debugging and mtu tunning. The first patch just c...
2015 Aug 16
5
[PATCH v2 0/2] virtio-net: default_mtu - new conf. field
This set of two patches adds a new field called default_mtu to the configuration area of network devices. The motivation is to allow libvirt to set initial MTU different from 1500 on guests virtual NICs. We also propose to use this new field to report MTU changes by the guest OS to the device to facilitate debugging and mtu tunning. The first patch just c...
2015 Aug 19
1
[PATCH v2 2/2] virtio-net: add default_mtu configuration field
...2015 at 11:07:15AM +0800, Jason Wang wrote: > > > On 08/16/2015 09:42 PM, Victor Kaplansky wrote: > > @@ -3128,6 +3134,7 @@ struct virtio_net_config { > > u8 mac[6]; > > le16 status; > > le16 max_virtqueue_pairs; > > + le16 default_mtu; > > Looks like "mtu" is ok, consider we use "mac" instead of "default_mac". Good point. I'll change the name in the next version of the patch. > > > }; > > \end{lstlisting} > > > > @@ -3158,6 +3165,15 @@ by the driver after...
2015 Aug 19
1
[PATCH v2 2/2] virtio-net: add default_mtu configuration field
...2015 at 11:07:15AM +0800, Jason Wang wrote: > > > On 08/16/2015 09:42 PM, Victor Kaplansky wrote: > > @@ -3128,6 +3134,7 @@ struct virtio_net_config { > > u8 mac[6]; > > le16 status; > > le16 max_virtqueue_pairs; > > + le16 default_mtu; > > Looks like "mtu" is ok, consider we use "mac" instead of "default_mac". Good point. I'll change the name in the next version of the patch. > > > }; > > \end{lstlisting} > > > > @@ -3158,6 +3165,15 @@ by the driver after...
2015 Aug 17
0
[PATCH v2 2/2] virtio-net: add default_mtu configuration field
...sed to pass initial MTU from the device to > the driver, and to pass modified MTU from driver to the device > when a new MTU is assigned by the guest OS. > > In addition, in order to support backward and forward > compatibility, we introduce a new feature bit called > VIRTIO_NET_F_DEFAULT_MTU. > > Added conformance statements for a device and a driver. > > Signed-off-by: Victor Kaplansky <victork at redhat.com> > > Signed-off-by: Victor Kaplansky <victork at redhat.com> > --- > content.tex | 25 +++++++++++++++++++++++++ > 1 file changed, 25 i...
2015 Aug 20
0
[PATCH v2 2/2] virtio-net: add default_mtu configuration field
...5AM +0800, Jason Wang wrote: >> >> On 08/16/2015 09:42 PM, Victor Kaplansky wrote: >>> @@ -3128,6 +3134,7 @@ struct virtio_net_config { >>> u8 mac[6]; >>> le16 status; >>> le16 max_virtqueue_pairs; >>> + le16 default_mtu; >> Looks like "mtu" is ok, consider we use "mac" instead of "default_mac". > Good point. I'll change the name in the next version of the patch. > >>> }; >>> \end{lstlisting} >>> >>> @@ -3158,6 +3165,15 @@ by the...
2015 Aug 17
0
[PATCH v2 1/2] virtio-net: rephrase devconf fields description
...; -is negotiated. > - > \begin{lstlisting} > struct virtio_net_config { > u8 mac[6]; > @@ -3140,6 +3131,35 @@ struct virtio_net_config { > }; > \end{lstlisting} > > +\field{mac}, \field{status}, \field{max_virtqueue_pairs} are > +driver-read-only. \field{default_mtu} can also be written > +by the driver after negotiation. > + > +\begin{description} > +\item [\field{mac}] is MAC address assigned by the device and is valid > + only if VIRTIO_NET_F_MAC is offered. > + > +\item [\field{status}] consists of two driver-read-only status bits:...
2015 Aug 16
1
[PATCH v2 1/2] virtio-net: rephrase devconf fields description
...tively) that can be configured once VIRTIO_NET_F_MQ -is negotiated. - \begin{lstlisting} struct virtio_net_config { u8 mac[6]; @@ -3140,6 +3131,35 @@ struct virtio_net_config { }; \end{lstlisting} +\field{mac}, \field{status}, \field{max_virtqueue_pairs} are +driver-read-only. \field{default_mtu} can also be written +by the driver after negotiation. + +\begin{description} +\item [\field{mac}] is MAC address assigned by the device and is valid + only if VIRTIO_NET_F_MAC is offered. + +\item [\field{status}] consists of two driver-read-only status bits: + +\begin{description} + +\item VIR...
2014 May 08
2
[PATCH] net: get rid of SET_ETHTOOL_OPS
...= usbdev; catc->netdev = netdev; diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 660bd5e..a3a0586 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) net->type = ARPHRD_NONE; net->mtu = DEFAULT_MTU - 14; net->tx_queue_len = 10; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; /* and initialize the semaphore */ spin_lock_init(&hso_net->net_lock); diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index 421934c..f725707 100644 --- a/drivers/net...
2014 May 08
2
[PATCH] net: get rid of SET_ETHTOOL_OPS
...= usbdev; catc->netdev = netdev; diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 660bd5e..a3a0586 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) net->type = ARPHRD_NONE; net->mtu = DEFAULT_MTU - 14; net->tx_queue_len = 10; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; /* and initialize the semaphore */ spin_lock_init(&hso_net->net_lock); diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index 421934c..f725707 100644 --- a/drivers/net...
2014 May 11
7
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...= usbdev; catc->netdev = netdev; diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 660bd5e..a3a0586 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) net->type = ARPHRD_NONE; net->mtu = DEFAULT_MTU - 14; net->tx_queue_len = 10; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; /* and initialize the semaphore */ spin_lock_init(&hso_net->net_lock); diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index 421934c..f725707 100644 --- a/drivers/net...
2014 May 11
7
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...= usbdev; catc->netdev = netdev; diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 660bd5e..a3a0586 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) net->type = ARPHRD_NONE; net->mtu = DEFAULT_MTU - 14; net->tx_queue_len = 10; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; /* and initialize the semaphore */ spin_lock_init(&hso_net->net_lock); diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index 421934c..f725707 100644 --- a/drivers/net...
2014 May 11
7
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...= usbdev; catc->netdev = netdev; diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 660bd5e..a3a0586 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) net->type = ARPHRD_NONE; net->mtu = DEFAULT_MTU - 14; net->tx_queue_len = 10; - SET_ETHTOOL_OPS(net, &ops); + net->ethtool_ops = &ops; /* and initialize the semaphore */ spin_lock_init(&hso_net->net_lock); diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index 421934c..f725707 100644 --- a/drivers/net...
2014 May 08
0
[PATCH] net: get rid of SET_ETHTOOL_OPS
...--git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > index 660bd5e..a3a0586 100644 > --- a/drivers/net/usb/hso.c > +++ b/drivers/net/usb/hso.c > @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) > net->type = ARPHRD_NONE; > net->mtu = DEFAULT_MTU - 14; > net->tx_queue_len = 10; > - SET_ETHTOOL_OPS(net, &ops); > + net->ethtool_ops = &ops; > > /* and initialize the semaphore */ > spin_lock_init(&hso_net->net_lock); > diff --git a/drivers/net/usb/ipheth.c b/drivers/n...
2014 May 11
0
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...--git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > index 660bd5e..a3a0586 100644 > --- a/drivers/net/usb/hso.c > +++ b/drivers/net/usb/hso.c > @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) > net->type = ARPHRD_NONE; > net->mtu = DEFAULT_MTU - 14; > net->tx_queue_len = 10; > - SET_ETHTOOL_OPS(net, &ops); > + net->ethtool_ops = &ops; > > /* and initialize the semaphore */ > spin_lock_init(&hso_net->net_lock); > diff --git a/drivers/net/usb/ipheth.c b/drivers/n...
2014 May 11
0
[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS
...--git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > index 660bd5e..a3a0586 100644 > --- a/drivers/net/usb/hso.c > +++ b/drivers/net/usb/hso.c > @@ -2425,7 +2425,7 @@ static void hso_net_init(struct net_device *net) > net->type = ARPHRD_NONE; > net->mtu = DEFAULT_MTU - 14; > net->tx_queue_len = 10; > - SET_ETHTOOL_OPS(net, &ops); > + net->ethtool_ops = &ops; > > /* and initialize the semaphore */ > spin_lock_init(&hso_net->net_lock); > diff --git a/drivers/net/usb/ipheth.c b/drivers/n...