mlxsw: item: Add MLXSW_ITEM_BUF_INDEXED helper
authorJiri Pirko <jiri@mellanox.com>
Fri, 16 Oct 2015 12:01:27 +0000 (14:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 14:15:14 +0000 (07:15 -0700)
commitd64b1592535e390cdc0605a5b8d4b6665be47003
tree3d929fc9c32530facddc36e1c83a9c22a536f276
parent7b0989b5bcac950c05d72dee5f6dcad38d355b3f
mlxsw: item: Add MLXSW_ITEM_BUF_INDEXED helper

Add missing item helper which allows to access char bufs on multiple
offsets. This is needed by SFD and SFN register definitions.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/item.h