Re: [PATCH net-next RFC v1 3/4] devlink: Add hierarchy between traps in device level and port level

2020-09-07 Thread Aya Levin
On 9/6/2020 6:58 PM, Ido Schimmel wrote: On Wed, Sep 02, 2020 at 06:32:13PM +0300, Aya Levin wrote: Managing large scale port's traps may be complicated. This patch introduces a shortcut: when setting a trap on a device and this trap is not registered on this device, the action will take

Re: [PATCH net-next RFC v1 3/4] devlink: Add hierarchy between traps in device level and port level

2020-09-06 Thread Ido Schimmel
On Wed, Sep 02, 2020 at 06:32:13PM +0300, Aya Levin wrote: > Managing large scale port's traps may be complicated. This patch > introduces a shortcut: when setting a trap on a device and this trap is > not registered on this device, the action will take place on all related > ports that did

[PATCH net-next RFC v1 3/4] devlink: Add hierarchy between traps in device level and port level

2020-09-02 Thread Aya Levin
Managing large scale port's traps may be complicated. This patch introduces a shortcut: when setting a trap on a device and this trap is not registered on this device, the action will take place on all related ports that did register this trap. Signed-off-by: Aya Levin --- net/core/devlink.c |