Re: [net 11/12] net/mlx5e: Modify uplink state on interface up/down

2020-07-28 Thread Saeed Mahameed
On Tue, 2020-07-28 at 13:24 +0300, Or Gerlitz wrote: > On Tue, Jul 28, 2020 at 12:16 PM Saeed Mahameed > wrote: > > From: Ron Diskin > > > > When setting the PF interface up/down, notify the firmware to > > update > > uplink state via MODIFY_VPORT_STATE > > How this relates to e-switching? the

Re: [net 11/12] net/mlx5e: Modify uplink state on interface up/down

2020-07-28 Thread Or Gerlitz
On Tue, Jul 28, 2020 at 12:16 PM Saeed Mahameed wrote: > From: Ron Diskin > > When setting the PF interface up/down, notify the firmware to update > uplink state via MODIFY_VPORT_STATE How this relates to e-switching? the patch touches the e-switch code but I don't see mentioning of that in the

[net 11/12] net/mlx5e: Modify uplink state on interface up/down

2020-07-28 Thread Saeed Mahameed
From: Ron Diskin When setting the PF interface up/down, notify the firmware to update uplink state via MODIFY_VPORT_STATE. This behavior will prevent sending traffic out on uplink port when PF is down, such as sending traffic from a VF interface which is still up. Currently when calling mlx5e_op