commit | d5e556c6a158893d9e50de3d4e7638f753ffd520 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri Feb 03 10:28:52 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 03 16:35:38 2017 -0500 |
tree | 4756cc68c8aeba0abcabe13f8061c6e15be50105 | |
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>