OSDN Git Service

mlxsw: cmd: Introduce FID-offset flooding tables
authorIdo Schimmel <idosch@mellanox.com>
Fri, 16 Oct 2015 12:01:25 +0000 (14:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 14:15:10 +0000 (07:15 -0700)
commit12fd35ab8af9fe32fce6b36881461d6f62408f70
tree6856b3e238752aeda236aa5fca6b585250ac8a79
parent453b6a8dd8338d692770bda89a52bc71c8fea2b8
mlxsw: cmd: Introduce FID-offset flooding tables

Packets destined to offloaded netdevs will be classified to FIDs in the
device and flooded in case of BUM.

The flooding table used is of type FID-offset, which allows one to
create different flooding domains for different FIDs and specify the
offset in the flooding table for each FID (not necessarily equal to FID
or VID).

Add support for this flooding table type, by exposing the configuration
of the number of tables from this type and their size.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/cmd.h
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/pci.c