On Tue, 26 Jan 2021 15:24:06 -0800 Saeed Mahameed wrote: > From: Aya Levin <[email protected]> > > Add packet trap that can report packets that were dropped due to > destination MAC filtering. > > Signed-off-by: Aya Levin <[email protected]> > Reviewed-by: Ido Schimmel <[email protected]> > Reviewed-by: Moshe Shemesh <[email protected]> > Reviewed-by: Tariq Toukan <[email protected]> > Signed-off-by: Tariq Toukan <[email protected]> > Signed-off-by: Saeed Mahameed <[email protected]> > --- > Documentation/networking/devlink/devlink-trap.rst | 5 +++++ > include/net/devlink.h | 3 +++ > net/core/devlink.c | 1 + > 3 files changed, 9 insertions(+) > > diff --git a/Documentation/networking/devlink/devlink-trap.rst > b/Documentation/networking/devlink/devlink-trap.rst > index d875f3e1e9cf..1dd86976ecf8 100644 > --- a/Documentation/networking/devlink/devlink-trap.rst > +++ b/Documentation/networking/devlink/devlink-trap.rst > @@ -480,6 +480,11 @@ be added to the following table: > - ``drop`` > - Traps packets that the device decided to drop in case they hit a > blackhole nexthop > + * - ``dmac_filter`` > + - ``drop`` > + - Traps incoming packets that the device decided to drop in case
s/in case/because/ > + the destination MAC is not configured in the MAC table ... and the interface is not in promiscuous mode > + Double new line > Driver-specific Packet Traps > ============================ Fix that up and applied from the list.
