txheader.h (c7d77a7980e434c3af17de19e3348157f9b9ccce) | txheader.h (56ade8fe3fe1e134783f61d164305107ae01030f) |
---|---|
1/* 2 * drivers/net/ethernet/mellanox/mlxsw/txheader.h 3 * Copyright (c) 2015 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2015 Ido Schimmel <idosch@mellanox.com> 5 * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com> 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 24 unchanged lines hidden (view full) --- 33 * POSSIBILITY OF SUCH DAMAGE. 34 */ 35 36#ifndef _MLXSW_TXHEADER_H 37#define _MLXSW_TXHEADER_H 38 39#define MLXSW_TXHDR_LEN 0x10 40#define MLXSW_TXHDR_VERSION_0 0 | 1/* 2 * drivers/net/ethernet/mellanox/mlxsw/txheader.h 3 * Copyright (c) 2015 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2015 Ido Schimmel <idosch@mellanox.com> 5 * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com> 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 24 unchanged lines hidden (view full) --- 33 * POSSIBILITY OF SUCH DAMAGE. 34 */ 35 36#ifndef _MLXSW_TXHEADER_H 37#define _MLXSW_TXHEADER_H 38 39#define MLXSW_TXHDR_LEN 0x10 40#define MLXSW_TXHDR_VERSION_0 0 |
41#define MLXSW_TXHDR_VERSION_1 1 |
|
41 42enum { 43 MLXSW_TXHDR_ETH_CTL, 44 MLXSW_TXHDR_ETH_DATA, 45}; 46 47#define MLXSW_TXHDR_PROTO_ETH 1 48 --- 32 unchanged lines hidden --- | 42 43enum { 44 MLXSW_TXHDR_ETH_CTL, 45 MLXSW_TXHDR_ETH_DATA, 46}; 47 48#define MLXSW_TXHDR_PROTO_ETH 1 49 --- 32 unchanged lines hidden --- |