bnx2x: feature patch series
cover bnx2x: feature patch series
Hello Dave,
This patch series contains several small features, including a fix of the consistent statistics for boards with old bc firmware (this feature still exists only in 'net-next', hence why it isn't being submitted to 'net'), as well as several semantic changes - mostly the revision of the bnx2x's prints.
Please consider applying this series to 'net-next'.
Thanks,
Yuval
PATCH 1/9 bnx2x: added 'likely' to fast-path skb existence
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +2 -1
@@ -120,10 +120,11 @@ static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata,/* release skb */ WARN_ON (!skb); -if (skb) { +if (likely (skb)) { (*pkts_compl)++; (*bytes_compl) += skb->len; } +dev_kfree_skb_any (skb); tx_buf->first_bd =0 ; tx_buf->skb =NULL ;
Signature · 1 line
1.7.9.rc2
PATCH 2/9 bnx2x: revised driver prints
In reply to Yuval MintzFrom: Merav Sicron <[email protected]>
We've revised driver prints, changing the mask of existing prints to allow better control over the debug messages, added prints to error scenarios, removed unnecessary prints and corrected some spelling. Please note that this patch contains lines with over 80 characters, as string messages were kept in a single line.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 26 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 197 ++++---- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 38 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 221 +++++---- .../net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 189 +++++--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 530 +++++++++----------- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 150 +++--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 9 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c | 63 +-- 9 files changed, 695 insertions(+), 728 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +15 -11
@@ -58,18 +58,22 @@#define DRV_MODULE_NAME "bnx2x"/* for messages that are currently off */ -#define BNX2X_MSG_OFF 0 -#define BNX2X_MSG_MCP 0x010000/* was: NETIF_MSG_HW */ -#define BNX2X_MSG_STATS 0x020000/* was: NETIF_MSG_TIMER */ -#define BNX2X_MSG_NVM 0x040000/* was: NETIF_MSG_HW */ -#define BNX2X_MSG_DMAE 0x080000/* was: NETIF_MSG_HW */ -#define BNX2X_MSG_SP 0x100000/* was: NETIF_MSG_INTR */ -#define BNX2X_MSG_FP 0x200000/* was: NETIF_MSG_INTR */ +#define BNX2X_MSG_OFF 0x0 +#define BNX2X_MSG_MCP 0x0010000/* was: NETIF_MSG_HW */ +#define BNX2X_MSG_STATS 0x0020000/* was: NETIF_MSG_TIMER */ +#define BNX2X_MSG_NVM 0x0040000/* was: NETIF_MSG_HW */ +#define BNX2X_MSG_DMAE 0x0080000/* was: NETIF_MSG_HW */ +#define BNX2X_MSG_SP 0x0100000/* was: NETIF_MSG_INTR */ +#define BNX2X_MSG_FP 0x0200000/* was: NETIF_MSG_INTR */ +#define BNX2X_MSG_IOV 0x0800000 +#define BNX2X_MSG_IDLE 0x2000000/* used for idle check*/ +#define BNX2X_MSG_ETHTOOL 0x4000000 +#define BNX2X_MSG_DCB 0x8000000/* regular debug print */ #define DP (__mask, fmt, ...) \ do { \ - if (bp->msg_enable & (__mask)) \ + if (unlikely(bp->msg_enable & (__mask))) \ pr_notice("[%s:%d(%s)]" fmt, \ __func__, __LINE__, \ bp->dev ? (bp->dev->name) : "?", \
@@ -78,14 +82,14 @@ do { \#define DP_CONT (__mask, fmt, ...) \ do { \ - if (bp->msg_enable & (__mask)) \ + if (unlikely(bp->msg_enable & (__mask))) \ pr_cont(fmt, ##__VA_ARGS__); \ } while (0)/* errors debug print */ #define BNX2X_DBG_ERR (fmt, ...) \ do { \ - if (netif_msg_probe(bp)) \ + if (unlikely(netif_msg_probe(bp))) \ pr_err("[%s:%d(%s)]" fmt, \ __func__, __LINE__, \ bp->dev ? (bp->dev->name) : "?", \
@@ -108,7 +112,7 @@ do { \/* before we have a dev->name use dev_info() */ #define BNX2X_DEV_INFO (fmt, ...) \ do { \ - if (netif_msg_probe(bp)) \ + if (unlikely(netif_msg_probe(bp))) \ dev_info(&bp->pdev->dev, fmt, ##__VA_ARGS__); \ } while (0)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +103 -94
559 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +18 -20
@@ -598,7 +598,7 @@ static inline void bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, (update <<IGU_REGULAR_BUPDATE_SHIFT ) | (op << IGU_REGULAR_ENABLE_INT_SHIFT)); -DP (NETIF_MSG_HW ,"write 0x%08x to IGU addr 0x%x\n" , +DP (NETIF_MSG_INTR ,"write 0x%08x to IGU addr 0x%x\n" , cmd_data.sb_id_and_flags, igu_addr);REG_WR (bp, igu_addr, cmd_data.sb_id_and_flags);
@@ -648,8 +648,8 @@ static inline void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func,if (!(REG_RD (bp, igu_addr_ack) & sb_bit)) { -DP (NETIF_MSG_HW ,"Unable to finish IGU cleanup: " -"idu_sb_id %d offset %d bit %d (cnt %d)\n" , +DP (NETIF_MSG_HW , +"Unable to finish IGU cleanup: idu_sb_id %d offset %d bit %d (cnt %d)\n" , idu_sb_id, idu_sb_id/32 , idu_sb_id%32 , cnt); } }
@@ -668,8 +668,6 @@ static inline void bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, (update <<IGU_ACK_REGISTER_UPDATE_INDEX_SHIFT ) | (op << IGU_ACK_REGISTER_INTERRUPT_MODE_SHIFT)); -DP (BNX2X_MSG_OFF ,"write 0x%08x to HC addr 0x%x\n" , - (*(u32 *)&igu_ack), hc_addr);REG_WR (bp, hc_addr, (*(u32 *)&igu_ack));/* Make sure that ACK is written */
@@ -703,9 +701,6 @@ static inline u16 bnx2x_hc_ack_int(struct bnx2x *bp) COMMAND_REG_SIMD_MASK);u32 result =REG_RD (bp, hc_addr); -DP (BNX2X_MSG_OFF ,"read 0x%08x from HC addr 0x%x\n" , - result, hc_addr); -barrier ();return result; }
@@ -715,7 +710,7 @@ static inline u16 bnx2x_igu_ack_int(struct bnx2x *bp)u32 igu_addr = (BAR_IGU_INTMEM +IGU_REG_SISR_MDPC_WMASK_LSB_UPPER *8 );u32 result =REG_RD (bp, igu_addr); -DP (NETIF_MSG_HW ,"read 0x%08x from IGU addr 0x%x\n" , +DP (NETIF_MSG_INTR ,"read 0x%08x from IGU addr 0x%x\n" , result, igu_addr);barrier ();
@@ -893,13 +888,16 @@ static inline int bnx2x_alloc_rx_sge(struct bnx2x *bp,struct eth_rx_sge *sge = &fp->rx_sge_ring[index];dma_addr_t mapping; -if (unlikely (page ==NULL )) +if (unlikely (page ==NULL )) { +BNX2X_ERR ("Can't alloc sge\n" );return -ENOMEM ; + } mapping =dma_map_page (&bp->pdev->dev, page,0 ,SGE_PAGE_SIZE *PAGES_PER_SGE ,DMA_FROM_DEVICE );if (unlikely (dma_mapping_error (&bp->pdev->dev, mapping))) {__free_pages (page,PAGES_PER_SGE_SHIFT ); +BNX2X_ERR ("Can't map sge\n" );return -ENOMEM ; }
@@ -929,6 +927,7 @@ static inline int bnx2x_alloc_rx_data(struct bnx2x *bp, DMA_FROM_DEVICE);if (unlikely (dma_mapping_error (&bp->pdev->dev, mapping))) {kfree (data); +BNX2X_ERR ("Can't map rx data\n" );return -ENOMEM ; }
@@ -1293,7 +1292,7 @@ static inline void bnx2x_init_txdata(struct bnx2x *bp, txdata->txq_index = txq_index; txdata->tx_cons_sb = tx_cons_sb; -DP (BNX2X_MSG_SP ,"created tx data cid %d, txq %d\n" , +DP (NETIF_MSG_IFUP ,"created tx data cid %d, txq %d\n" , txdata->cid, txdata->txq_index); }
@@ -1338,7 +1337,7 @@ static inline void bnx2x_init_fcoe_fp(struct bnx2x *bp)bnx2x_init_txdata (bp, &bnx2x_fcoe (bp, txdata[0 ]), fp->cid,FCOE_TXQ_IDX (bp),BNX2X_FCOE_L2_TX_INDEX ); -DP (BNX2X_MSG_SP ,"created fcoe tx data (fp index %d)\n" , fp->index); +DP (NETIF_MSG_IFUP ,"created fcoe tx data (fp index %d)\n" , fp->index);/* qZone id equals to FW (per path) client id */ bnx2x_fcoe (bp, cl_qzone_id) =bnx2x_fp_qzone_id (fp);
@@ -1357,8 +1356,8 @@ static inline void bnx2x_init_fcoe_fp(struct bnx2x *bp)BP_FUNC (bp),bnx2x_sp (bp, q_rdata), bnx2x_sp_mapping(bp, q_rdata), q_type); -DP (NETIF_MSG_IFUP ,"queue[%d]: bnx2x_init_sb(%p,%p) cl_id %d fw_sb %d " -"igu_sb %d\n" , +DP (NETIF_MSG_IFUP , +"queue[%d]: bnx2x_init_sb(%p,%p) cl_id %d fw_sb %d igu_sb %d\n" , fp->index, bp, fp->status_blk.e2_sb, fp->cl_id, fp->fw_sb_id, fp->igu_sb_id); }
@@ -1371,8 +1370,7 @@ static inline int bnx2x_clean_tx_queue(struct bnx2x *bp,while (bnx2x_has_tx_work_unload (txdata)) {if (!cnt) { -BNX2X_ERR ("timeout waiting for queue[%d]: " -"txdata->tx_pkt_prod(%d) != txdata->tx_pkt_cons(%d)\n" , +BNX2X_ERR ("timeout waiting for queue[%d]: txdata->tx_pkt_prod(%d) != txdata->tx_pkt_cons(%d)\n" , txdata->txq_index, txdata->tx_pkt_prod, txdata->tx_pkt_cons);#ifdef BNX2X_STOP_ON_ERROR
@@ -1449,8 +1447,8 @@ static inline bool bnx2x_wait_sp_comp(struct bnx2x *bp, unsigned long mask)netif_addr_lock_bh (bp->dev);if (bp->sp_state & mask) { -BNX2X_ERR ("Filtering completion timed out. sp_state 0x%lx, " -"mask 0x%lx\n" , bp->sp_state, mask); +BNX2X_ERR ("Filtering completion timed out. sp_state 0x%lx, mask 0x%lx\n" , + bp->sp_state, mask);netif_addr_unlock_bh (bp->dev);return false; }
@@ -1486,7 +1484,7 @@ static inline u16 bnx2x_extract_max_cfg(struct bnx2x *bp, u32 mf_cfg)u16 max_cfg = (mf_cfg &FUNC_MF_CFG_MAX_BW_MASK ) >>FUNC_MF_CFG_MAX_BW_SHIFT ;if (!max_cfg) { -DP (NETIF_MSG_LINK , +DP (NETIF_MSG_IFUP |BNX2X_MSG_ETHTOOL ,"Max BW configured to 0 - using 100 instead\n" ); max_cfg =100 ; }
@@ -1649,7 +1647,7 @@ static inline void bnx2x_update_drv_flags(struct bnx2x *bp, u32 flags, u32 set)RESET_FLAGS (drv_flags, flags);SHMEM2_WR (bp, drv_flags, drv_flags); -DP (NETIF_MSG_HW ,"drv_flags 0x%08x\n" , drv_flags); +DP (NETIF_MSG_IFUP ,"drv_flags 0x%08x\n" , drv_flags);bnx2x_release_hw_lock (bp,HW_LOCK_RESOURCE_DRV_FLAGS ); } }
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c +118 -103
648 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +116 -73
566 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +229 -301
1,045 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c +80 -70
150 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h +6 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c +10 -53
63 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.9.rc2
Part of the diff is not shown here. View the raw message.
PATCH 3/9 bnx2x: reduced sparse warnings
In reply to Yuval MintzThis patch reduces sparse warnings in the bnx2x code, mostly by changing functions into static and changing initialization of structures.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 6 +++--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 5 +++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 6 +++--- .../net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 2 +- .../net/ethernet/broadcom/bnx2x/bnx2x_fw_defs.h | 12 ------------ drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 16 ++++++++-------- 6 files changed, 18 insertions(+), 29 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +3 -3
@@ -1574,7 +1574,7 @@ static inline int bnx2x_init_rss_pf(struct bnx2x *bp)int bnx2x_config_rss_pf (struct bnx2x *bp,u8 *ind_table,bool config_hash) { -struct bnx2x_config_rss_params params = {0 }; +struct bnx2x_config_rss_params params = {NULL };int i;/* Although RSS is meaningless when there is a single HW queue we
@@ -1637,7 +1637,7 @@ int bnx2x_config_rss_pf(struct bnx2x *bp, u8 *ind_table, bool config_hash)static inline int bnx2x_init_hw (struct bnx2x *bp,u32 load_code) { -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL };/* Prepare parameters for function state transitions */ __set_bit (RAMROD_COMP_WAIT , &func_params.ramrod_flags);
@@ -1658,7 +1658,7 @@ static void bnx2x_squeeze_objects(struct bnx2x *bp) {int rc;unsigned long ramrod_flags =0 , vlan_mac_flags =0 ; -struct bnx2x_mcast_ramrod_params rparam = {0 }; +struct bnx2x_mcast_ramrod_params rparam = {NULL };struct bnx2x_vlan_mac_obj *mac_obj = &bp->fp->mac_obj;/***************** Cleanup MACs' object first *************************/
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +3 -2
@@ -970,7 +970,7 @@ static inline void bnx2x_reuse_rx_data(struct bnx2x_fastpath *fp,*/ static inline int bnx2x_func_start (struct bnx2x *bp) { -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL };struct bnx2x_func_start_params *start_params = &func_params.params.start;
@@ -1590,6 +1590,7 @@ static inline void bnx2x_bz_fp(struct bnx2x *bp, int index)#endif } +#ifdef BCM_CNIC /** * bnx2x_get_iscsi_info - update iSCSI params according to licensing info. *
@@ -1597,7 +1598,7 @@ static inline void bnx2x_bz_fp(struct bnx2x *bp, int index)* */ void bnx2x_get_iscsi_info (struct bnx2x *bp); - +#endif /* returns func by VN for current port */ static inline int func_by_vn (struct bnx2x *bp,int vn) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c +3 -3
@@ -443,7 +443,7 @@ static void bnx2x_pfc_set_pfc(struct bnx2x *bp)static int bnx2x_dcbx_stop_hw_tx (struct bnx2x *bp) { -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL }; func_params.f_obj = &bp->func_obj; func_params.cmd =BNX2X_F_CMD_TX_STOP ;
@@ -454,7 +454,7 @@ static int bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp)static int bnx2x_dcbx_resume_hw_tx (struct bnx2x *bp) { -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL };struct bnx2x_func_tx_start_params *tx_params = &func_params.params.tx_start;
@@ -529,7 +529,7 @@ static void bnx2x_dcbx_2cos_limit_update_ets_config(struct bnx2x *bp)/* * In E3B0 the configuration may have more than 2 COS. */ -void bnx2x_dcbx_update_ets_config (struct bnx2x *bp) +static void bnx2x_dcbx_update_ets_config (struct bnx2x *bp) {struct bnx2x_dcbx_pg_params *ets = &(bp->dcbx_port_params.ets);struct bnx2x_ets_params ets_params = {0 };
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +1 -1
@@ -2107,7 +2107,7 @@ test_nvram_exit:/* Send an EMPTY ramrod on the first queue */ static int bnx2x_test_intr (struct bnx2x *bp) { -struct bnx2x_queue_state_params params = {0 }; +struct bnx2x_queue_state_params params = {NULL };if (!netif_running (bp->dev)) { DP(BNX2X_MSG_ETHTOOL | BNX2X_MSG_NVM,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_fw_defs.h +0 -12
@@ -243,18 +243,6 @@ (IRO[48].base + ((funcId) * IRO[48].m1))#define COMMON_ASM_INVALID_ASSERT_OPCODE 0x0 -/** -* This file defines HSI constants for the ETH flow -*/ -#ifdef _EVEREST_MICROCODE -#include "Microcode\Generated\DataTypes\eth_rx_bd.h" -#include "Microcode\Generated\DataTypes\eth_tx_bd.h" -#include "Microcode\Generated\DataTypes\eth_rx_cqe.h" -#include "Microcode\Generated\DataTypes\eth_rx_sge.h" -#include "Microcode\Generated\DataTypes\eth_rx_cqe_next_page.h" -#endif - -/* Ethernet Ring parameters */ #define X_ETH_LOCAL_RING_SIZE 13#define FIRST_BD_IN_PKT 0
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +8 -8
@@ -7446,7 +7446,7 @@ int bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp,int bnx2x_setup_queue (struct bnx2x *bp,struct bnx2x_fastpath *fp,bool leading) { -struct bnx2x_queue_state_params q_params = {0 }; +struct bnx2x_queue_state_params q_params = {NULL };struct bnx2x_queue_setup_params *setup_params = &q_params.params.setup; struct bnx2x_queue_setup_tx_only_params *tx_only_params =
@@ -7529,7 +7529,7 @@ static int bnx2x_stop_queue(struct bnx2x *bp, int index) {struct bnx2x_fastpath *fp = &bp->fp[index];struct bnx2x_fp_txdata *txdata; -struct bnx2x_queue_state_params q_params = {0 }; +struct bnx2x_queue_state_params q_params = {NULL };int rc, tx_index;DP (NETIF_MSG_IFDOWN ,"stopping queue %d cid %d\n" , index, fp->cid);
@@ -7705,7 +7705,7 @@ static void bnx2x_reset_port(struct bnx2x *bp)static inline int bnx2x_reset_hw (struct bnx2x *bp,u32 load_code) { -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL };/* Prepare parameters for function state transitions */ __set_bit (RAMROD_COMP_WAIT , &func_params.ramrod_flags);
@@ -7720,7 +7720,7 @@ static inline int bnx2x_reset_hw(struct bnx2x *bp, u32 load_code)static inline int bnx2x_func_stop (struct bnx2x *bp) { -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL };int rc;/* Prepare parameters for function state transitions */
@@ -7877,7 +7877,7 @@ static inline int bnx2x_func_wait_started(struct bnx2x *bp)* Failed to complete the transaction in a "good way" * Force both transactions with CLR bit */ -struct bnx2x_func_state_params func_params = {0 }; +struct bnx2x_func_state_params func_params = {NULL };DP (NETIF_MSG_IFDOWN ,"Hmmm... unexpected function state! Forcing STARTED-->TX_ST0PPED-->STARTED\n" );
@@ -7904,7 +7904,7 @@ void bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode)int port =BP_PORT (bp);int i, rc =0 ;u8 cos; -struct bnx2x_mcast_ramrod_params rparam = {0 }; +struct bnx2x_mcast_ramrod_params rparam = {NULL };u32 reset_code;/* Wait until tx fastpath tasks complete */
@@ -10309,7 +10309,7 @@ static inline int bnx2x_set_uc_list(struct bnx2x *bp)static inline int bnx2x_set_mc_list (struct bnx2x *bp) {struct net_device *dev = bp->dev; -struct bnx2x_mcast_ramrod_params rparam = {0 }; +struct bnx2x_mcast_ramrod_params rparam = {NULL };int rc =0 ; rparam.mcast_obj = &bp->mcast_obj;
@@ -10830,7 +10830,7 @@ do { \ (u8 *)bp->arr, len); \ }while (0 ) -int bnx2x_init_firmware(struct bnx2x *bp) +static int bnx2x_init_firmware(struct bnx2x *bp) {struct bnx2x_fw_file_hdr *fw_hdr;int rc;
Signature · 1 line
1.7.9.rc2
PATCH 4/9 bnx2x: removed dcb unused code
In reply to Yuval Mintz--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 20 -------------------- 1 files changed, 0 insertions(+), 20 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c +0 -20
@@ -121,26 +121,6 @@ static void bnx2x_pfc_clear(struct bnx2x *bp) {struct bnx2x_nig_brb_pfc_port_params nig_params = {0 }; nig_params.pause_enable =1 ; -#ifdef BNX2X_SAFC -if (bp->flags &SAFC_TX_FLAG ) { -u32 high =0 , low =0 ; -int i; - -for (i =0 ; i <BNX2X_MAX_PRIORITY ; i++) { -if (bp->pri_map[i] ==1 ) - high |= (1 << i); -if (bp->pri_map[i] ==0 ) - low |= (1 << i); - } - - nig_params.llfc_low_priority_classes = high; - nig_params.llfc_low_priority_classes = low; - - nig_params.pause_enable =0 ; - nig_params.llfc_enable =1 ; - nig_params.llfc_out_en =1 ; - } -#endif /* BNX2X_SAFC */ bnx2x_acquire_phy_lock (bp); bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_PFC_ENABLED ;bnx2x_update_pfc (&bp->link_params, &bp->link_vars, &nig_params);
Signature · 1 line
1.7.9.rc2
PATCH 5/9 bnx2x: changed initial dcb configuration
In reply to Yuval MintzFrom: Dmitry Kravkov <[email protected]>
The changes were mostly made to enable back-to-back data flow with dcb. Other changes were simply deemed as a better 'clean' initial configuration.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 45 ++++++++--------------- 1 files changed, 16 insertions(+), 29 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c +16 -29
@@ -923,30 +923,30 @@ void bnx2x_dcbx_init_params(struct bnx2x *bp) bp->dcbx_config_params.admin_application_priority_tx_enable =1 ; bp->dcbx_config_params.admin_ets_reco_valid =1 ; bp->dcbx_config_params.admin_app_priority_willing =1 ; - bp->dcbx_config_params.admin_configuration_bw_precentage[0 ] =00 ; - bp->dcbx_config_params.admin_configuration_bw_precentage[1 ] =50 ; - bp->dcbx_config_params.admin_configuration_bw_precentage[2 ] =50 ; + bp->dcbx_config_params.admin_configuration_bw_precentage[0 ] =100 ; + bp->dcbx_config_params.admin_configuration_bw_precentage[1 ] =0 ; + bp->dcbx_config_params.admin_configuration_bw_precentage[2 ] =0 ; bp->dcbx_config_params.admin_configuration_bw_precentage[3 ] =0 ; bp->dcbx_config_params.admin_configuration_bw_precentage[4 ] =0 ; bp->dcbx_config_params.admin_configuration_bw_precentage[5 ] =0 ; bp->dcbx_config_params.admin_configuration_bw_precentage[6 ] =0 ; bp->dcbx_config_params.admin_configuration_bw_precentage[7 ] =0 ; - bp->dcbx_config_params.admin_configuration_ets_pg[0 ] =1 ; + bp->dcbx_config_params.admin_configuration_ets_pg[0 ] =0 ; bp->dcbx_config_params.admin_configuration_ets_pg[1 ] =0 ; bp->dcbx_config_params.admin_configuration_ets_pg[2 ] =0 ; - bp->dcbx_config_params.admin_configuration_ets_pg[3 ] =2 ; + bp->dcbx_config_params.admin_configuration_ets_pg[3 ] =0 ; bp->dcbx_config_params.admin_configuration_ets_pg[4 ] =0 ; bp->dcbx_config_params.admin_configuration_ets_pg[5 ] =0 ; bp->dcbx_config_params.admin_configuration_ets_pg[6 ] =0 ; bp->dcbx_config_params.admin_configuration_ets_pg[7 ] =0 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[0 ] =0 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[1 ] =1 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[2 ] =2 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[0 ] =100 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[1 ] =0 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[2 ] =0 ; bp->dcbx_config_params.admin_recommendation_bw_precentage[3 ] =0 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[4 ] =7 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[5 ] =5 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[6 ] =6 ; - bp->dcbx_config_params.admin_recommendation_bw_precentage[7 ] =7 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[4 ] =0 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[5 ] =0 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[6 ] =0 ; + bp->dcbx_config_params.admin_recommendation_bw_precentage[7 ] =0 ; bp->dcbx_config_params.admin_recommendation_ets_pg[0 ] =0 ; bp->dcbx_config_params.admin_recommendation_ets_pg[1 ] =1 ; bp->dcbx_config_params.admin_recommendation_ets_pg[2 ] =2 ;
@@ -955,25 +955,12 @@ void bnx2x_dcbx_init_params(struct bnx2x *bp) bp->dcbx_config_params.admin_recommendation_ets_pg[5 ] =5 ; bp->dcbx_config_params.admin_recommendation_ets_pg[6 ] =6 ; bp->dcbx_config_params.admin_recommendation_ets_pg[7 ] =7 ; - bp->dcbx_config_params.admin_pfc_bitmap =0x8 ;/* FCoE(3) enable */ - bp->dcbx_config_params.admin_priority_app_table[0 ].valid =1 ; - bp->dcbx_config_params.admin_priority_app_table[1 ].valid =1 ; + bp->dcbx_config_params.admin_pfc_bitmap =0x0 ; + bp->dcbx_config_params.admin_priority_app_table[0 ].valid =0 ; + bp->dcbx_config_params.admin_priority_app_table[1 ].valid =0 ; bp->dcbx_config_params.admin_priority_app_table[2 ].valid =0 ; bp->dcbx_config_params.admin_priority_app_table[3 ].valid =0 ; - bp->dcbx_config_params.admin_priority_app_table[0 ].priority =3 ; - bp->dcbx_config_params.admin_priority_app_table[1 ].priority =0 ; - bp->dcbx_config_params.admin_priority_app_table[2 ].priority =0 ; - bp->dcbx_config_params.admin_priority_app_table[3 ].priority =0 ; - bp->dcbx_config_params.admin_priority_app_table[0 ].traffic_type =0 ; - bp->dcbx_config_params.admin_priority_app_table[1 ].traffic_type =1 ; - bp->dcbx_config_params.admin_priority_app_table[2 ].traffic_type =0 ; - bp->dcbx_config_params.admin_priority_app_table[3 ].traffic_type =0 ; - bp->dcbx_config_params.admin_priority_app_table[0 ].app_id =0x8906 ; - bp->dcbx_config_params.admin_priority_app_table[1 ].app_id =3260 ; - bp->dcbx_config_params.admin_priority_app_table[2 ].app_id =0 ; - bp->dcbx_config_params.admin_priority_app_table[3 ].app_id =0 ; - bp->dcbx_config_params.admin_default_priority = - bp->dcbx_config_params.admin_priority_app_table[1 ].priority; + bp->dcbx_config_params.admin_default_priority =0 ; }void bnx2x_dcbx_init (struct bnx2x *bp)
Signature · 1 line
1.7.9.rc2
PATCH 6/9 bnx2x: added TLV_NOT_FOUND flags to the dcb
In reply to Yuval MintzFrom: Dmitry Kravkov <[email protected]>
The new error flags are supported by the bnx2x FW.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 21 ++++++++++++++------- drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | 3 +++ 2 files changed, 17 insertions(+), 7 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c +14 -7
@@ -206,8 +206,11 @@ static void bnx2x_dcbx_get_ap_feature(struct bnx2x *bp,if (GET_FLAGS (error,DCBX_LOCAL_APP_MISMATCH ))DP (BNX2X_MSG_DCB ,"DCBX_LOCAL_APP_MISMATCH\n" ); +if (GET_FLAGS (error,DCBX_REMOTE_APP_TLV_NOT_FOUND )) +DP (BNX2X_MSG_DCB ,"DCBX_REMOTE_APP_TLV_NOT_FOUND\n" );if (app->enabled && - !GET_FLAGS (error,DCBX_LOCAL_APP_ERROR |DCBX_LOCAL_APP_MISMATCH )) { + !GET_FLAGS (error,DCBX_LOCAL_APP_ERROR |DCBX_LOCAL_APP_MISMATCH | +DCBX_REMOTE_APP_TLV_NOT_FOUND )) { bp->dcbx_port_params.app.enabled = true;
@@ -258,6 +261,8 @@ static void bnx2x_dcbx_get_ets_feature(struct bnx2x *bp,if (GET_FLAGS (error,DCBX_LOCAL_ETS_ERROR ))DP (BNX2X_MSG_DCB ,"DCBX_LOCAL_ETS_ERROR\n" ); +if (GET_FLAGS (error,DCBX_REMOTE_ETS_TLV_NOT_FOUND )) +DP (BNX2X_MSG_DCB ,"DCBX_REMOTE_ETS_TLV_NOT_FOUND\n" );/* Clean up old settings of ets on COS */ for (i =0 ; i <ARRAY_SIZE (bp->dcbx_port_params.ets.cos_params) ; i++) {
@@ -267,9 +272,9 @@ static void bnx2x_dcbx_get_ets_feature(struct bnx2x *bp, cos_params[i].pri_bitmask =0 ; } -if (bp->dcbx_port_params.app.enabled && - !GET_FLAGS (error,DCBX_LOCAL_ETS_ERROR ) && - ets->enabled) { +if (bp->dcbx_port_params.app.enabled && ets->enabled && + !GET_FLAGS (error, +DCBX_LOCAL_ETS_ERROR |DCBX_REMOTE_ETS_TLV_NOT_FOUND )) {DP (BNX2X_MSG_DCB ,"DCBX_LOCAL_ETS_ENABLE\n" ); bp->dcbx_port_params.ets.enabled = true;
@@ -301,9 +306,11 @@ static void bnx2x_dcbx_get_pfc_feature(struct bnx2x *bp,if (GET_FLAGS (error,DCBX_LOCAL_PFC_ERROR ))DP (BNX2X_MSG_DCB ,"DCBX_LOCAL_PFC_ERROR\n" ); -if (bp->dcbx_port_params.app.enabled && - !GET_FLAGS (error,DCBX_LOCAL_PFC_ERROR |DCBX_LOCAL_PFC_MISMATCH ) && - pfc->enabled) { +if (GET_FLAGS (error,DCBX_REMOTE_PFC_TLV_NOT_FOUND )) +DP (BNX2X_MSG_DCB ,"DCBX_REMOTE_PFC_TLV_NOT_FOUND\n" ); +if (bp->dcbx_port_params.app.enabled && pfc->enabled && + !GET_FLAGS (error,DCBX_LOCAL_PFC_ERROR |DCBX_LOCAL_PFC_MISMATCH | +DCBX_REMOTE_PFC_TLV_NOT_FOUND )) { bp->dcbx_port_params.pfc.enabled = true; bp->dcbx_port_params.pfc.priority_non_pauseable_mask = ~(pfc->pri_en_bitmap);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h +3 -0
@@ -1833,6 +1833,9 @@ struct lldp_local_mib {#define DCBX_LOCAL_PFC_MISMATCH 0x00000010#define DCBX_LOCAL_APP_MISMATCH 0x00000020#define DCBX_REMOTE_MIB_ERROR 0x00000040 +#define DCBX_REMOTE_ETS_TLV_NOT_FOUND 0x00000080 +#define DCBX_REMOTE_PFC_TLV_NOT_FOUND 0x00000100 +#define DCBX_REMOTE_APP_TLV_NOT_FOUND 0x00000200struct dcbx_features features;u32 suffix_seq_num; };
Signature · 1 line
1.7.9.rc2
PATCH 7/9 bnx2x: changed iscsi/fcoe mac init and macros
In reply to Yuval MintzFrom: Dmitry Kravkov <[email protected]>
This includes changes in macros to better distinguish between the two protocols, and slightly changed the way their macs are set. Notice this file contains string print lines with more than 80 characters, as to not break prints.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 16 +++- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 8 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 82 ++++++++++++--------- 4 files changed, 64 insertions(+), 44 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +12 -4
@@ -2117,14 +2117,22 @@ void bnx2x_set_ethtool_ops(struct net_device *netdev);void bnx2x_notify_link_changed (struct bnx2x *bp); -#define BNX2X_MF_PROTOCOL (bp) \ +#define BNX2X_MF_SD_PROTOCOL (bp) \ ((bp)->mf_config[BP_VN(bp)] & FUNC_MF_CFG_PROTOCOL_MASK)#ifdef BCM_CNIC -#define BNX2X_IS_MF_PROTOCOL_ISCSI (bp) \ - (BNX2X_MF_PROTOCOL(bp) == FUNC_MF_CFG_PROTOCOL_ISCSI) +#define BNX2X_IS_MF_SD_PROTOCOL_ISCSI (bp) \ + (BNX2X_MF_SD_PROTOCOL(bp) == FUNC_MF_CFG_PROTOCOL_ISCSI) -#define IS_MF_ISCSI_SD (bp) (IS_MF_SD(bp) && BNX2X_IS_MF_PROTOCOL_ISCSI(bp)) +#define BNX2X_IS_MF_SD_PROTOCOL_FCOE (bp) \ + (BNX2X_MF_SD_PROTOCOL(bp) == FUNC_MF_CFG_PROTOCOL_FCOE) + +#define IS_MF_ISCSI_SD (bp) (IS_MF_SD(bp) && BNX2X_IS_MF_SD_PROTOCOL_ISCSI(bp)) +#define IS_MF_FCOE_SD (bp) (IS_MF_SD(bp) && BNX2X_IS_MF_SD_PROTOCOL_FCOE(bp)) + +#define IS_MF_STORAGE_SD (bp) (IS_MF_SD(bp) && \ + (BNX2X_IS_MF_SD_PROTOCOL_ISCSI(bp) || \ + BNX2X_IS_MF_SD_PROTOCOL_FCOE(bp)))#endif #endif /* bnx2x.h */
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +4 -4
@@ -1453,8 +1453,8 @@ void bnx2x_set_num_queues(struct bnx2x *bp) }#ifdef BCM_CNIC -/* override in ISCSI SD mod */ -if (IS_MF_ISCSI_SD (bp)) +/* override in STORAGE SD mode */ +if (IS_MF_STORAGE_SD (bp)) bp->num_queues =1 ;#endif /* Add special queues */
@@ -3077,7 +3077,7 @@ int bnx2x_change_mac_addr(struct net_device *dev, void *p) }#ifdef BCM_CNIC -if (IS_MF_ISCSI_SD (bp) && !is_zero_ether_addr (addr->sa_data)) { +if (IS_MF_STORAGE_SD (bp) && !is_zero_ether_addr (addr->sa_data)) {BNX2X_ERR ("Can't configure non-zero address on iSCSI or FCoE functions in MF-SD mode\n" );return -EINVAL ; }
@@ -3199,7 +3199,7 @@ static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index)int rx_ring_size =0 ;#ifdef BCM_CNIC -if (!bp->rx_ring_size &&IS_MF_ISCSI_SD (bp)) { +if (!bp->rx_ring_size &&IS_MF_STORAGE_SD (bp)) { rx_ring_size =MIN_RX_SIZE_NONTPA ; bp->rx_ring_size = rx_ring_size; }else
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +1 -1
@@ -1658,7 +1658,7 @@ static inline bool bnx2x_is_valid_ether_addr(struct bnx2x *bp, u8 *addr)if (is_valid_ether_addr (addr))return true;#ifdef BCM_CNIC -if (is_zero_ether_addr (addr) &&IS_MF_ISCSI_SD (bp)) +if (is_zero_ether_addr (addr) &&IS_MF_STORAGE_SD (bp))return true;#endif return false;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +47 -35
137 lines not on this page · raw message
Signature · 1 line
1.7.9.rc2
PATCH 8/9 bnx2x: consistent statistics for old FW
In reply to Yuval MintzPreviously applied patch making the bnx2x statistics consistent did not apply to old FWs. This remedies it, extending the consistent behaviour to all drivers.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 + drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c | 39 ++------------------ drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h | 7 +--- 3 files changed, 6 insertions(+), 41 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +1 -0
@@ -1482,6 +1482,7 @@ struct bnx2x {u16 stats_counter;struct bnx2x_eth_stats eth_stats; +struct host_func_stats func_stats;struct bnx2x_eth_stats_old eth_stats_old;struct bnx2x_net_stats_old net_stats_old;struct bnx2x_fw_port_stats_old fw_stats_old;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c +4 -35
@@ -128,6 +128,8 @@ static void bnx2x_hw_stats_post(struct bnx2x *bp) }else if (bp->func_stx) { *stats_comp =0 ; +memcpy (bnx2x_sp (bp, func_stats), &bp->func_stats, +sizeof (bp->func_stats));bnx2x_post_dmae (bp, dmae,INIT_DMAE_C (bp)); } }
@@ -814,7 +816,7 @@ static int bnx2x_storm_stats_update(struct bnx2x *bp) &bp->fw_stats_data->port.tstorm_port_statistics;struct tstorm_per_pf_stats *tfunc = &bp->fw_stats_data->pf.tstorm_pf_statistics; -struct host_func_stats *fstats =bnx2x_sp (bp, func_stats); +struct host_func_stats *fstats = &bp->func_stats;struct bnx2x_eth_stats *estats = &bp->eth_stats;struct bnx2x_eth_stats_old *estats_old = &bp->eth_stats_old;struct stats_counter *counters = &bp->fw_stats_data->storm_counters;
@@ -1319,36 +1321,6 @@ static void bnx2x_port_stats_base_init(struct bnx2x *bp)bnx2x_stats_comp (bp); } -static void bnx2x_func_stats_base_update (struct bnx2x *bp) -{ -struct dmae_command *dmae = &bp->stats_dmae; -u32 *stats_comp =bnx2x_sp (bp, stats_comp); - -/* sanity */ -if (!bp->func_stx) { -BNX2X_ERR ("BUG!\n" ); -return ; - } - - bp->executer_idx =0 ; -memset (dmae,0 ,sizeof (struct dmae_command )); - - dmae->opcode =bnx2x_dmae_opcode (bp,DMAE_SRC_GRC ,DMAE_DST_PCI , - true,DMAE_COMP_PCI ); - dmae->src_addr_lo = bp->func_stx >>2 ; - dmae->src_addr_hi =0 ; - dmae->dst_addr_lo =U64_LO (bnx2x_sp_mapping (bp, func_stats)); - dmae->dst_addr_hi =U64_HI (bnx2x_sp_mapping (bp, func_stats)); - dmae->len =sizeof (struct host_func_stats ) >>2 ; - dmae->comp_addr_lo =U64_LO (bnx2x_sp_mapping (bp, stats_comp)); - dmae->comp_addr_hi =U64_HI (bnx2x_sp_mapping (bp, stats_comp)); - dmae->comp_val =DMAE_COMP_VAL ; - - *stats_comp =0 ; -bnx2x_hw_stats_post (bp); -bnx2x_stats_comp (bp); -} -/** * This function will prepare the statistics ramrod data the way * we will only have to increment the statistics counter and
@@ -1540,6 +1512,7 @@ void bnx2x_stats_init(struct bnx2x *bp)memset (&bp->fw_stats_old,0 ,sizeof (bp->fw_stats_old));memset (&bp->eth_stats_old,0 ,sizeof (bp->eth_stats_old));memset (&bp->eth_stats,0 ,sizeof (bp->eth_stats)); +memset (&bp->func_stats,0 ,sizeof (bp->func_stats));/* Clean SP from previous statistics */ if (bp->func_stx) {
@@ -1556,10 +1529,6 @@ void bnx2x_stats_init(struct bnx2x *bp)if (bp->port.pmf && bp->port.port_stx)bnx2x_port_stats_base_init (bp); -/* On a non-init, retrieve previous statistics from SP */ -if (!bp->stats_init && bp->func_stx) -bnx2x_func_stats_base_update (bp); -/* mark the end of statistics initializiation */ bp->stats_init = false; }
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h +1 -6
@@ -421,12 +421,7 @@ struct bnx2x_fw_port_stats_old {do { \ diff =le32_to_cpu (uclient->s) -le32_to_cpu (old_uclient->s); \ old_uclient->s = uclient->s; \ - } while (0) - -#define UPDATE_EXTEND_E_USTAT (s, t) \ - do { \ - UPDATE_EXTEND_USTAT(s, t); \ - ADD_EXTEND_64(estats->t##_hi, estats->t##_lo, diff); \ + ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ } while (0)#define UPDATE_EXTEND_E_USTAT (s, t) \
Signature · 1 line
1.7.9.rc2
Re: [net-next 8/9] bnx2x: consistent statistics for old FW
Quoted 4 lines
Previously applied patch making the bnx2x statistics consistent
did not apply to old FWs. This remedies it, extending the consistent behaviour to all drivers.
Oops, forgot to thank Michal for finding this one.
PATCH 9/9 bnx2x: validate FW trace prior to its printing
In reply to Yuval MintzFrom: Dmitry Kravkov <[email protected]>
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | 2 ++ drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h +2 -0
@@ -1129,6 +1129,8 @@ struct shm_dev_info { /* size */#define FW_ACK_NUM_OF_POLL (FW_ACK_TIME_OUT_MS/FW_ACK_POLL_TIME_MS) +#define MFW_TRACE_SIGNATURE 0x54524342 +/**************************************************************************** * Driver <-> FW Mailbox * ****************************************************************************/
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +11 -1
@@ -719,7 +719,17 @@ void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl) trace_shmem_base = bp->common.shmem_base; else trace_shmem_base =SHMEM2_RD (bp, other_shmem_base_addr); - addr = trace_shmem_base -0x0800 +4 ; + addr = trace_shmem_base -0x800 ; + +/* validate TRCB signature */ + mark =REG_RD (bp, addr); +if (mark !=MFW_TRACE_SIGNATURE ) { +BNX2X_ERR ("Trace buffer signature is missing." ); +return ; + } + +/* read cyclic buffer pointer */ + addr +=4 ; mark =REG_RD (bp, addr); mark = (CHIP_IS_E1x (bp) ?MCP_REG_MCPR_SCRATCH :MCP_A_REG_MCPR_SCRATCH ) + ((mark +0x3 ) & ~0x3 ) -0x08000000 ;
Signature · 1 line
1.7.9.rc2
David Miller
maintainerFrom: "Yuval Mintz" <[email protected]>
Date: Sun, 18 Mar 2012 16:33:36 -0400
Quoted 7 lines
This patch series contains several small features, including a fix of the consistent statistics for boards with old bc firmware (this feature still exists only in 'net-next', hence why it isn't being submitted to 'net'), as well as several semantic changes - mostly the revision of the bnx2x's prints.
Please consider applying this series to 'net-next'.
Series applied, thanks.