summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
diff options
context:
space:
mode:
authorPetr Machata2019-06-30 08:04:52 +0200
committerDavid S. Miller2019-07-02 03:58:34 +0200
commitd7cd206dbfb25efc5f06ea3c595074a51d48d00a (patch)
treed603ff49faafb1047f87b48ed426e032055f9aeb /drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
parentmlxsw: spectrum: PTP: Hook into packet receive path (diff)
downloadkernel-qcow2-linux-d7cd206dbfb25efc5f06ea3c595074a51d48d00a.tar.gz
kernel-qcow2-linux-d7cd206dbfb25efc5f06ea3c595074a51d48d00a.tar.xz
kernel-qcow2-linux-d7cd206dbfb25efc5f06ea3c595074a51d48d00a.zip
mlxsw: core: Add support for using SKB control buffer
The SKB control buffer is useful (and used) for bookkeeping of information related to that SKB. Add helpers so that the mlxsw driver(s) can safely use the buffer as well. The structure is currently empty, individual users will add members to it as necessary. Note that SKB allocation functions already clear the buffer, so the cleanup is only necessary when ndo_start_xmit is called. Signed-off-by: Petr Machata <petrm@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c')
0 files changed, 0 insertions, 0 deletions