/* Reserve the first 2 entries for the use by the BMC so that we can * avoid allowing rules to get in the way of BMC unicast traffic.
*/ #define FBNIC_RPC_ACT_TBL_BMC_OFFSET 0 #define FBNIC_RPC_ACT_TBL_BMC_ALL_MULTI_OFFSET 1
/* This should leave us with 48 total entries in the TCAM that can be used * for NFC after also deducting the 14 needed for RSS table programming.
*/ #define FBNIC_RPC_ACT_TBL_NFC_OFFSET 2
/* We reserve the last 14 entries for RSS rules on the host. The BMC * unicast rule will need to be populated above these and is expected to * use MACDA TCAM entry 23 to store the BMC MAC address.
*/ #define FBNIC_RPC_ACT_TBL_RSS_OFFSET \
(FBNIC_RPC_ACT_TBL_NUM_ENTRIES - FBNIC_RSS_EN_NUM_ENTRIES)
/* Flags used to identify the owner for this MAC filter. Note that any * flags set for Broadcast thru Promisc indicate that the rule belongs * to the RSS filters for the host.
*/ enum {
FBNIC_MAC_ADDR_T_BMC = 0,
FBNIC_MAC_ADDR_T_BROADCAST = FBNIC_RPC_ACT_TBL_RSS_OFFSET, #define FBNIC_MAC_ADDR_T_HOST_START FBNIC_MAC_ADDR_T_BROADCAST
FBNIC_MAC_ADDR_T_MULTICAST,
FBNIC_MAC_ADDR_T_UNICAST,
FBNIC_MAC_ADDR_T_ALLMULTI, /* BROADCAST ... MULTICAST*/
FBNIC_MAC_ADDR_T_PROMISC, /* BROADCAST ... UNICAST */
FBNIC_MAC_ADDR_T_HOST_LAST
};
/* TCAM 0 - 3 reserved for BMC MAC addresses */ #define FBNIC_RPC_TCAM_MACDA_BMC_ADDR_IDX 0 /* TCAM 4 reserved for broadcast MAC address */ #define FBNIC_RPC_TCAM_MACDA_BROADCAST_IDX 4 /* TCAMs 5 - 30 will be used for multicast and unicast addresses. The * boundary between the two can be variable it is currently set to 24 * on which the unicast addresses start. The general idea is that we will * always go top-down with unicast, and bottom-up with multicast so that * there should be free-space in the middle between the two. * * The entry at MADCA_DEFAULT_BOUNDARY is a special case as it can be used * for the ALL MULTI address if the list is full, or the BMC has requested * it.
*/ #define FBNIC_RPC_TCAM_MACDA_MULTICAST_IDX 5 #define FBNIC_RPC_TCAM_MACDA_DEFAULT_BOUNDARY 24 #define FBNIC_RPC_TCAM_MACDA_HOST_ADDR_IDX 30 /* Reserved for use to record Multicast promisc, or Promiscuous */ #define FBNIC_RPC_TCAM_MACDA_PROMISC_IDX 31
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.