summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
index ed237854939a..bacc8552bce1 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
@@ -1536,8 +1536,11 @@ void bnx2x_get_rss_ind_table(struct bnx2x_rss_config_obj *rss_obj,
((MAX_MAC_CREDIT_E2 - GET_NUM_VFS_PER_PATH(bp) * VF_MAC_CREDIT_CNT) / \
func_num + GET_NUM_VFS_PER_PF(bp) * VF_MAC_CREDIT_CNT)
+#define BNX2X_VFS_VLAN_CREDIT(bp) \
+ (GET_NUM_VFS_PER_PATH(bp) * VF_VLAN_CREDIT_CNT)
+
#define PF_VLAN_CREDIT_E2(bp, func_num) \
- ((MAX_VLAN_CREDIT_E2 - GET_NUM_VFS_PER_PATH(bp) * VF_VLAN_CREDIT_CNT) /\
+ ((MAX_VLAN_CREDIT_E2 - 1 - BNX2X_VFS_VLAN_CREDIT(bp)) / \
func_num + GET_NUM_VFS_PER_PF(bp) * VF_VLAN_CREDIT_CNT)
#endif /* BNX2X_SP_VERBS */
git/commit/net?id=ade274b23e41886091a7e105ab3de71baef112e7'>nl80211: Add support to configure TID specific AMPDU configurationTamizh chelvam 2020-02-24nl80211: Add support to configure TID specific retry configurationTamizh chelvam 2020-02-24nl80211: modify TID-config APIJohannes Berg 2020-02-24nl80211: Add NL command to support TID speicific configurationsTamizh chelvam 2020-02-24mac80211: Beacon protection using the new BIGTK (STA)Jouni Malinen 2020-02-24mac80211: Beacon protection using the new BIGTK (AP)Jouni Malinen 2020-02-24mac80211: Update BIP to support Beacon framesJouni Malinen 2020-02-24mac80211: Support BIGTK configuration for Beacon protectionJouni Malinen 2020-02-24cfg80211: Support key configuration for Beacon protection (BIGTK)Jouni Malinen 2020-02-24cfg80211: More error messages for key addition failuresJouni Malinen 2020-02-24Revert "nl80211: add src and dst addr attributes for control port tx/rx"Johannes Berg 2020-02-24Revert "mac80211: support NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_MAC_A...Johannes Berg 2020-02-23igmp: remove unused macro IGMP_Vx_UNSOLICITED_REPORT_INTERVALLi RongQing 2020-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller