[ofa-general][PATCH] mlx4: Setting the correct offset for default mac address
Jeff Garzik
jeff at garzik.org
Mon Oct 27 11:52:57 PDT 2008
Yevgeny Petrilin wrote:
> Signed-off-by: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
> ---
> drivers/net/mlx4/fw.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/mlx4/fw.c b/drivers/net/mlx4/fw.c
> index be09fdb..cee199c 100644
> --- a/drivers/net/mlx4/fw.c
> +++ b/drivers/net/mlx4/fw.c
> @@ -360,9 +360,9 @@ int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap)
> #define QUERY_PORT_ETH_MTU_OFFSET 0x02
> #define QUERY_PORT_WIDTH_OFFSET 0x06
> #define QUERY_PORT_MAX_GID_PKEY_OFFSET 0x07
> -#define QUERY_PORT_MAC_OFFSET 0x08
> #define QUERY_PORT_MAX_MACVLAN_OFFSET 0x0a
> #define QUERY_PORT_MAX_VL_OFFSET 0x0b
> +#define QUERY_PORT_MAC_OFFSET 0x10
applied
More information about the general
mailing list