aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2021-12-01 10:12:36 +0200
committerDavid S. Miller <davem@davemloft.net>2021-12-01 14:52:34 +0000
commit242e696e035fca96e972773023f20adfba124d10 (patch)
tree1bc8c66b2c2f686617569a60abfb7560e3f9b6d0 /drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
parentmlxsw: reg: Increase 'port_num' field in PMTDB register (diff)
downloadwireguard-linux-242e696e035fca96e972773023f20adfba124d10.tar.xz
wireguard-linux-242e696e035fca96e972773023f20adfba124d10.zip
mlxsw: reg: Adjust PPCNT register to support local port 255
Local port 255 has a special meaning in PPCNT register, it is used to refer to all local ports. This wild card ability is not currently used by the driver. Special casing local port 255 in Spectrum-4 systems where it is a valid port is going to be a problem. Work around this issue by adding and always setting the 'lp_gl' bit which instructs the device's firmware to treat this local port like an ordinary port. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c')
0 files changed, 0 insertions, 0 deletions