[PATCH net-next mlxsw v2 6/7] mlxsw: Respin SPAN on switchdev events

Ido Schimmel idosch at mellanox.com
Wed Apr 25 17:19:06 AEST 2018


On Wed, Apr 25, 2018 at 01:08:17AM +0200, Petr Machata wrote:
> @@ -2236,8 +2244,13 @@ static void mlxsw_sp_switchdev_event_work(struct work_struct *work)
>  		fdb_info = &switchdev_work->fdb_info;
>  		mlxsw_sp_port_fdb_set(mlxsw_sp_port, fdb_info, false);
>  		break;
> +	case SWITCHDEV_FDB_ADD_TO_BRIDGE: /* fall through */
> +	case SWITCHDEV_FDB_DEL_TO_BRIDGE:

To make it even more explicit:
/* These events are only used to potentially update an existing SPAN mirror */

> +		break;
>  	}


More information about the Linux-mlxsw mailing list