Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-08-04 Thread Or Gerlitz
On Thu, Aug 1, 2019 at 3:44 AM Tonghao Zhang wrote: > On Wed, May 22, 2019 at 12:49 PM Or Gerlitz wrote: > > On Wed, May 22, 2019 at 4:26 AM Tonghao Zhang > > wrote: > > > I review the reps of netronome nfp codes, nfp does't set the > > > NETIF_F_NETNS_LOCAL to netdev->features. > > > And I c

Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-07-31 Thread Tonghao Zhang
On Wed, May 22, 2019 at 12:49 PM Or Gerlitz wrote: > > On Wed, May 22, 2019 at 4:26 AM Tonghao Zhang > wrote: > > > I review the reps of netronome nfp codes, nfp does't set the > > NETIF_F_NETNS_LOCAL to netdev->features. > > And I changed the OFED codes which used for our product environment,

Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-05-21 Thread Or Gerlitz
On Wed, May 22, 2019 at 4:26 AM Tonghao Zhang wrote: > I review the reps of netronome nfp codes, nfp does't set the > NETIF_F_NETNS_LOCAL to netdev->features. > And I changed the OFED codes which used for our product environment, > and then send this patch to upstream. The real question here is

Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-05-21 Thread Tonghao Zhang
On Wed, May 22, 2019 at 12:45 AM Or Gerlitz wrote: > > On Tue, May 21, 2019 at 7:36 AM Tonghao Zhang > wrote: > > On Tue, May 21, 2019 at 4:24 AM Or Gerlitz wrote: > > > > > > On Mon, May 20, 2019 at 3:19 PM wrote: > > > > > > > > From: Tonghao Zhang > > > > > > > > At most case, we use the C

Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-05-21 Thread Or Gerlitz
On Tue, May 21, 2019 at 7:36 AM Tonghao Zhang wrote: > On Tue, May 21, 2019 at 4:24 AM Or Gerlitz wrote: > > > > On Mon, May 20, 2019 at 3:19 PM wrote: > > > > > > From: Tonghao Zhang > > > > > > At most case, we use the ConnectX-5 NIC on compute node for VMs, > > > but we will offload forwardi

Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-05-20 Thread Tonghao Zhang
On Tue, May 21, 2019 at 4:24 AM Or Gerlitz wrote: > > On Mon, May 20, 2019 at 3:19 PM wrote: > > > > From: Tonghao Zhang > > > > At most case, we use the ConnectX-5 NIC on compute node for VMs, > > but we will offload forwarding rules to NICs on gateway node. > > On the gateway node, we will ins

Re: [PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-05-20 Thread Or Gerlitz
On Mon, May 20, 2019 at 3:19 PM wrote: > > From: Tonghao Zhang > > At most case, we use the ConnectX-5 NIC on compute node for VMs, > but we will offload forwarding rules to NICs on gateway node. > On the gateway node, we will install multiple NICs and set them to > different dockers which contai

[PATCH] net/mlx5e: Allow removing representors netdev to other namespace

2019-05-20 Thread xiangxia . m . yue
From: Tonghao Zhang At most case, we use the ConnectX-5 NIC on compute node for VMs, but we will offload forwarding rules to NICs on gateway node. On the gateway node, we will install multiple NICs and set them to different dockers which contain different net namespace, different routing table. I