|
@@ -3069,9 +3069,7 @@ static void bnx2x_self_test(struct net_device *dev,
|
|
#define IS_PORT_STAT(i) \
|
|
#define IS_PORT_STAT(i) \
|
|
((bnx2x_stats_arr[i].flags & STATS_FLAGS_BOTH) == STATS_FLAGS_PORT)
|
|
((bnx2x_stats_arr[i].flags & STATS_FLAGS_BOTH) == STATS_FLAGS_PORT)
|
|
#define IS_FUNC_STAT(i) (bnx2x_stats_arr[i].flags & STATS_FLAGS_FUNC)
|
|
#define IS_FUNC_STAT(i) (bnx2x_stats_arr[i].flags & STATS_FLAGS_FUNC)
|
|
-#define HIDE_PORT_STAT(bp) \
|
|
|
|
- ((IS_MF(bp) && !(bp->msg_enable & BNX2X_MSG_STATS)) || \
|
|
|
|
- IS_VF(bp))
|
|
|
|
|
|
+#define HIDE_PORT_STAT(bp) IS_VF(bp)
|
|
|
|
|
|
/* ethtool statistics are displayed for all regular ethernet queues and the
|
|
/* ethtool statistics are displayed for all regular ethernet queues and the
|
|
* fcoe L2 queue if not disabled
|
|
* fcoe L2 queue if not disabled
|