diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-03 10:28:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-03 16:35:38 -0500 |
commit | d5e556c6a158893d9e50de3d4e7638f753ffd520 (patch) | |
tree | 4756cc68c8aeba0abcabe13f8061c6e15be50105 /drivers | |
parent | 2946fde9fd7f6c38beaaf581514b706d07c7aec0 (diff) |
mlxsw: item: Add helpers for getting pointer into payload for char buffer item
Sometimes it is handy to get a pointer to a char buffer item and use it
direcly to write/read data. So add these helpers.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')