bnx2x.h (4513f92576856c552212fb9608aca56b88022454) bnx2x.h (ad5afc89365e981cffafc241a4c46f56ca943370)
1/* bnx2x.h: Broadcom Everest network driver.
2 *
3 * Copyright (c) 2007-2012 Broadcom Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation.
8 *

--- 2207 unchanged lines hidden (view full) ---

2216#define VF_ACQUIRE_MC_FILTERS 10
2217
2218#define GOOD_ME_REG(me_reg) (((me_reg) & ME_REG_VF_VALID) && \
2219 (!((me_reg) & ME_REG_VF_ERR)))
2220int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id);
2221int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping);
2222int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);
2223int bnx2x_vfpf_release(struct bnx2x *bp);
1/* bnx2x.h: Broadcom Everest network driver.
2 *
3 * Copyright (c) 2007-2012 Broadcom Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation.
8 *

--- 2207 unchanged lines hidden (view full) ---

2216#define VF_ACQUIRE_MC_FILTERS 10
2217
2218#define GOOD_ME_REG(me_reg) (((me_reg) & ME_REG_VF_VALID) && \
2219 (!((me_reg) & ME_REG_VF_ERR)))
2220int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id);
2221int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping);
2222int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);
2223int bnx2x_vfpf_release(struct bnx2x *bp);
2224int bnx2x_nic_load_analyze_req(struct bnx2x *bp, u32 load_code);
2224/* Congestion management fairness mode */
2225#define CMNG_FNS_NONE 0
2226#define CMNG_FNS_MINMAX 1
2227
2228#define HC_SEG_ACCESS_DEF 0 /*Driver decision 0-3*/
2229#define HC_SEG_ACCESS_ATTN 4
2230#define HC_SEG_ACCESS_NORM 0 /*Driver decision 0-1*/
2231

--- 39 unchanged lines hidden ---
2225/* Congestion management fairness mode */
2226#define CMNG_FNS_NONE 0
2227#define CMNG_FNS_MINMAX 1
2228
2229#define HC_SEG_ACCESS_DEF 0 /*Driver decision 0-3*/
2230#define HC_SEG_ACCESS_ATTN 4
2231#define HC_SEG_ACCESS_NORM 0 /*Driver decision 0-1*/
2232

--- 39 unchanged lines hidden ---