aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ibmveth.h')
-rw-r--r--drivers/net/ibmveth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ibmveth.h b/drivers/net/ibmveth.h
index 84e4ab224124..e6d779471770 100644
--- a/drivers/net/ibmveth.h
+++ b/drivers/net/ibmveth.h
@@ -92,10 +92,10 @@ static inline long h_illan_attributes(unsigned long unit_address,
92#define h_change_logical_lan_mac(ua, mac) \ 92#define h_change_logical_lan_mac(ua, mac) \
93 plpar_hcall_norets(H_CHANGE_LOGICAL_LAN_MAC, ua, mac) 93 plpar_hcall_norets(H_CHANGE_LOGICAL_LAN_MAC, ua, mac)
94 94
95#define IbmVethNumBufferPools 5 95#define IBMVETH_NUM_BUFF_POOLS 5
96#define IBMVETH_IO_ENTITLEMENT_DEFAULT 4243456 /* MTU of 1500 needs 4.2Mb */ 96#define IBMVETH_IO_ENTITLEMENT_DEFAULT 4243456 /* MTU of 1500 needs 4.2Mb */
97#define IBMVETH_BUFF_OH 22 /* Overhead: 14 ethernet header + 8 opaque handle */ 97#define IBMVETH_BUFF_OH 22 /* Overhead: 14 ethernet header + 8 opaque handle */
98#define IBMVETH_MAX_MTU 68 98#define IBMVETH_MIN_MTU 68
99#define IBMVETH_MAX_POOL_COUNT 4096 99#define IBMVETH_MAX_POOL_COUNT 4096
100#define IBMVETH_BUFF_LIST_SIZE 4096 100#define IBMVETH_BUFF_LIST_SIZE 4096
101#define IBMVETH_FILT_LIST_SIZE 4096 101#define IBMVETH_FILT_LIST_SIZE 4096
@@ -142,7 +142,7 @@ struct ibmveth_adapter {
142 void * filter_list_addr; 142 void * filter_list_addr;
143 dma_addr_t buffer_list_dma; 143 dma_addr_t buffer_list_dma;
144 dma_addr_t filter_list_dma; 144 dma_addr_t filter_list_dma;
145 struct ibmveth_buff_pool rx_buff_pool[IbmVethNumBufferPools]; 145 struct ibmveth_buff_pool rx_buff_pool[IBMVETH_NUM_BUFF_POOLS];
146 struct ibmveth_rx_q rx_queue; 146 struct ibmveth_rx_q rx_queue;
147 int pool_config; 147 int pool_config;
148 int rx_csum; 148 int rx_csum;