The TILE-Gx chip includes a packet-processing network engine called mPIPE ("Multicore Programmable Intelligent Packet Engine"). This change adds support for using the mPIPE engine from within the kernel. The engine has more functionality than is exposed here, but to keep the kernel code and binary simpler, this is a subset of the full API designed to enable standard Linux networking only. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
* Copyright 2012 Tilera Corporation. 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
|
|
* as published by the Free Software Foundation, version 2.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
|
|
* NON INFRINGEMENT. See the GNU General Public License for
|
|
* more details.
|
|
*/
|
|
|
|
|
|
#ifndef __ARCH_MPIPE_CONSTANTS_H__
|
|
#define __ARCH_MPIPE_CONSTANTS_H__
|
|
|
|
#define MPIPE_NUM_CLASSIFIERS 10
|
|
#define MPIPE_CLS_MHZ 1200
|
|
|
|
#define MPIPE_NUM_EDMA_RINGS 32
|
|
|
|
#define MPIPE_NUM_SGMII_MACS 16
|
|
#define MPIPE_NUM_XAUI_MACS 4
|
|
#define MPIPE_NUM_LOOPBACK_CHANNELS 4
|
|
#define MPIPE_NUM_NON_LB_CHANNELS 28
|
|
|
|
#define MPIPE_NUM_IPKT_BLOCKS 1536
|
|
|
|
#define MPIPE_NUM_BUCKETS 4160
|
|
|
|
#define MPIPE_NUM_NOTIF_RINGS 256
|
|
|
|
#define MPIPE_NUM_NOTIF_GROUPS 32
|
|
|
|
#define MPIPE_NUM_TLBS_PER_ASID 16
|
|
#define MPIPE_TLB_IDX_WIDTH 4
|
|
|
|
#define MPIPE_MMIO_NUM_SVC_DOM 32
|
|
|
|
#endif /* __ARCH_MPIPE_CONSTANTS_H__ */
|