mlx4_core: Read extended capabilities into the flags field
Query another dword containing up to 32 extended device capabilities and merge it into struct mlx4_caps.flags. Update the code that handles the current extended device capabilities (e.g UDP RSS, WoL, vep steering, etc) to use the extended device cap flags field instead of a field per extended capability. Initial patch done by Eli Cohen <eli@mellanox.co.il>. Signed-off-by:Or Gerlitz <ogerlitz@mellanox.co.il> Signed-off-by:
Roland Dreier <roland@purestorage.com>
Showing
- drivers/net/mlx4/en_ethtool.c 5 additions, 4 deletionsdrivers/net/mlx4/en_ethtool.c
- drivers/net/mlx4/en_main.c 2 additions, 1 deletiondrivers/net/mlx4/en_main.c
- drivers/net/mlx4/en_netdev.c 3 additions, 2 deletionsdrivers/net/mlx4/en_netdev.c
- drivers/net/mlx4/en_port.c 4 additions, 2 deletionsdrivers/net/mlx4/en_port.c
- drivers/net/mlx4/en_selftest.c 2 additions, 1 deletiondrivers/net/mlx4/en_selftest.c
- drivers/net/mlx4/fw.c 11 additions, 13 deletionsdrivers/net/mlx4/fw.c
- drivers/net/mlx4/fw.h 0 additions, 5 deletionsdrivers/net/mlx4/fw.h
- drivers/net/mlx4/main.c 0 additions, 5 deletionsdrivers/net/mlx4/main.c
- drivers/net/mlx4/mcg.c 10 additions, 7 deletionsdrivers/net/mlx4/mcg.c
- drivers/net/mlx4/port.c 4 additions, 4 deletionsdrivers/net/mlx4/port.c
- include/linux/mlx4/device.h 6 additions, 6 deletionsinclude/linux/mlx4/device.h
Loading
Please register or sign in to comment