mlxsw: reg: Fix missing op field fill-up
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 Aug 2016 14:39:34 +0000 (16:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2016 23:18:27 +0000 (19:18 -0400)
commit0e7df1a290abbcf3ecf697bbbbd4549c9a113db0
treec9be7b0de158e38e973eac61a9e31a0142544d89
parenta94a614fa2bd32848a67f8261228e193beb826ca
mlxsw: reg: Fix missing op field fill-up

Ralue pack function needs to set op, otherwise it is 0 for add always.

Fixes: d5a1c749d22 ("mlxsw: reg: Add Router Algorithmic LPM Unicast Entry Register definition")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h