* [net-next] ovs: set name assign type of internal port
@ 2016-05-31 13:41 Zhang Shengju
2016-06-02 19:07 ` David Miller
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Zhang Shengju @ 2016-05-31 13:41 UTC (permalink / raw)
To: pshelar; +Cc: davem, netdev
Set name_assign_type of internal port to NET_NAME_USER.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
---
net/openvswitch/vport-internal_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c
index 2ee48e4..434e04c 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -195,7 +195,7 @@ static struct vport *internal_dev_create(const struct vport_parms *parms)
}
vport->dev = alloc_netdev(sizeof(struct internal_dev),
- parms->name, NET_NAME_UNKNOWN, do_setup);
+ parms->name, NET_NAME_USER, do_setup);
if (!vport->dev) {
err = -ENOMEM;
goto error_free_vport;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [net-next] ovs: set name assign type of internal port
2016-05-31 13:41 [net-next] ovs: set name assign type of internal port Zhang Shengju
@ 2016-06-02 19:07 ` David Miller
2016-06-02 19:49 ` pravin shelar
2016-06-02 22:06 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2016-06-02 19:07 UTC (permalink / raw)
To: zhangshengju; +Cc: pshelar, netdev
From: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Date: Tue, 31 May 2016 13:41:02 +0000
> Set name_assign_type of internal port to NET_NAME_USER.
>
> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Pravin or some other OVS expert, please review this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [net-next] ovs: set name assign type of internal port
2016-05-31 13:41 [net-next] ovs: set name assign type of internal port Zhang Shengju
2016-06-02 19:07 ` David Miller
@ 2016-06-02 19:49 ` pravin shelar
2016-06-02 22:06 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: pravin shelar @ 2016-06-02 19:49 UTC (permalink / raw)
To: Zhang Shengju
Cc: Pravin Shelar, David S. Miller, Linux Kernel Network Developers
On Tue, May 31, 2016 at 6:41 AM, Zhang Shengju
<zhangshengju@cmss.chinamobile.com> wrote:
> Set name_assign_type of internal port to NET_NAME_USER.
>
> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
> ---
> net/openvswitch/vport-internal_dev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c
> index 2ee48e4..434e04c 100644
> --- a/net/openvswitch/vport-internal_dev.c
> +++ b/net/openvswitch/vport-internal_dev.c
> @@ -195,7 +195,7 @@ static struct vport *internal_dev_create(const struct vport_parms *parms)
> }
>
> vport->dev = alloc_netdev(sizeof(struct internal_dev),
> - parms->name, NET_NAME_UNKNOWN, do_setup);
> + parms->name, NET_NAME_USER, do_setup);
Looks good.
Acked-by: Pravin B Shelar <pshelar@ovn.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [net-next] ovs: set name assign type of internal port
2016-05-31 13:41 [net-next] ovs: set name assign type of internal port Zhang Shengju
2016-06-02 19:07 ` David Miller
2016-06-02 19:49 ` pravin shelar
@ 2016-06-02 22:06 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2016-06-02 22:06 UTC (permalink / raw)
To: zhangshengju; +Cc: pshelar, netdev
From: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Date: Tue, 31 May 2016 13:41:02 +0000
> Set name_assign_type of internal port to NET_NAME_USER.
>
> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-02 22:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 13:41 [net-next] ovs: set name assign type of internal port Zhang Shengju
2016-06-02 19:07 ` David Miller
2016-06-02 19:49 ` pravin shelar
2016-06-02 22:06 ` David Miller
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.