aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/benet/descriptors.h
blob: 8da438c407d2c0a90da45562e506479c0e5e919c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 * Copyright (C) 2005 - 2008 ServerEngines
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2
 * as published by the Free Software Foundation.  The full GNU General
 * Public License is included in this distribution in the file called COPYING.
 *
 * Contact Information:
 * linux-drivers@serverengines.com
 *
 * ServerEngines
 * 209 N. Fair Oaks Ave
 * Sunnyvale, CA 94085
 */
/*
 * Autogenerated by srcgen version: 0127
 */
#ifndef __descriptors_amap_h__
#define __descriptors_amap_h__

/*
 * --- IPC_NODE_ID_ENUM ---
 * IPC processor id values
 */
#define TPOST_NODE_ID                   (0)	/* TPOST ID */
#define TPRE_NODE_ID                    (1)	/* TPRE ID */
#define TXULP0_NODE_ID                  (2)	/* TXULP0 ID */
#define TXULP1_NODE_ID                  (3)	/* TXULP1 ID */
#define TXULP2_NODE_ID                  (4)	/* TXULP2 ID */
#define RXULP0_NODE_ID                  (5)	/* RXULP0 ID */
#define RXULP1_NODE_ID                  (6)	/* RXULP1 ID */
#define RXULP2_NODE_ID                  (7)	/* RXULP2 ID */
#define MPU_NODE_ID                     (15)	/* MPU ID */

/*
 * --- MAC_ID_ENUM ---
 * Meaning of the mac_id field in rxpp_eth_d
 */
#define PORT0_HOST_MAC0    (0)  /* PD 0, Port 0, host networking, MAC 0. */
#define PORT0_HOST_MAC1    (1)	/* PD 0, Port 0, host networking, MAC 1. */
#define PORT0_STORAGE_MAC0 (2)	/* PD 0, Port 0, host storage, MAC 0. */
#define PORT0_STORAGE_MAC1 (3)	/* PD 0, Port 0, host storage, MAC 1. */
#define PORT1_HOST_MAC0    (4)	/* PD 0, Port 1 host networking, MAC 0. */
#define PORT1_HOST_MAC1    (5)	/* PD 0, Port 1 host networking, MAC 1. */
#define PORT1_STORAGE_MAC0 (6)	/* PD 0, Port 1 host storage, MAC 0. */
#define PORT1_STORAGE_MAC1 (7)	/* PD 0, Port 1 host storage, MAC 1. */
#define FIRST_VM_MAC       (8)	/* PD 1 MAC. Protection domains have IDs */
				/* from 0x8-0x26, one per PD. */
#define LAST_VM_MAC        (38)	/* PD 31 MAC. */
#define MGMT_MAC           (39)	/* Management port MAC. */
#define MARBLE_MAC0        (59)	/* Used for flushing function 0 receive */
				  /*
				   * queues before re-using a torn-down
				   * receive ring. the DA =
				   * 00-00-00-00-00-00, and the MSB of the
				   * SA = 00
				   */
#define MARBLE_MAC1        (60)	/* Used for flushing function 1 receive */
				  /*
				   * queues before re-using a torn-down
				   * receive ring. the DA =
				   * 00-00-00-00-00-00, and the MSB of the
				   * SA != 00
				   */
#define NULL_MAC           (61)	/* Promiscuous mode, indicates no match */
#define MCAST_MAC          (62)	/* Multicast match. */
#define BCAST_MATCH        (63)	/* Broadcast match. */

#endif /* __descriptors_amap_h__ */