X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnx2x%2Fbnx2x.h;h=3cadb5d82476963338551923a0acb6c60fa5b869;hb=d789705873d47d70a3ba0a6a4dfb83fb629d3464;hp=3383c76759b0194ac1f9e7a0f216d21448c1e7dd;hpb=a3d1111a778e9b3093093db253c43b0e520e58d5;p=dpdk.git diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 3383c76759..3cadb5d824 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h @@ -360,6 +360,9 @@ struct bnx2x_fastpath { /* pointer back to parent structure */ struct bnx2x_softc *sc; + /* Used to synchronize fastpath Rx access */ + rte_spinlock_t rx_mtx; + /* status block */ struct bnx2x_dma sb_dma; union bnx2x_host_hc_status_block status_block; @@ -1373,6 +1376,10 @@ struct bnx2x_softc { uint8_t prio_to_cos[BNX2X_MAX_PRIORITY]; int panic; + /* Array of Multicast addrs */ + struct rte_ether_addr mc_addrs[VF_MAX_MULTICAST_PER_VF]; + /* Multicast mac addresses number */ + uint16_t mc_addrs_num; }; /* struct bnx2x_softc */ /* IOCTL sub-commands for edebug and firmware upgrade */