Searched refs:hw_feat (Results 1 - 6 of 6) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c129 ets->ets_cap = pdata->hw_feat.tc_cnt;
158 (i >= pdata->hw_feat.tc_cnt))
161 if (ets->prio_tc[i] >= pdata->hw_feat.tc_cnt)
201 pfc->pfc_cap = pdata->hw_feat.tc_cnt;
H A Dxgbe-drv.c353 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; local
361 memset(hw_feat, 0, sizeof(*hw_feat));
363 hw_feat->version = XGMAC_IOREAD(pdata, MAC_VR);
366 hw_feat->gmii = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, GMIISEL);
367 hw_feat->vlhash = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, VLHASH);
368 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL);
369 hw_feat->rwk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, RWKSEL);
370 hw_feat
[all...]
H A Dxgbe-ethtool.c364 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; local
371 XGMAC_GET_BITS(hw_feat->version, MAC_VR, USERVER),
372 XGMAC_GET_BITS(hw_feat->version, MAC_VR, DEVID),
373 XGMAC_GET_BITS(hw_feat->version, MAC_VR, SNPSVER));
H A Dxgbe-main.c368 pdata->hw_feat.tx_ch_cnt);
378 pdata->hw_feat.rx_ch_cnt);
379 pdata->rx_q_count = pdata->hw_feat.rx_q_cnt;
H A Dxgbe-dev.c490 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt);
603 addn_macs = pdata->hw_feat.addn_mac;
638 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7);
639 hash_table_count = pdata->hw_feat.hash_table_size / 32;
665 if (pdata->hw_feat.hash_table_size)
1143 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt;
1148 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) {
1179 for (tc = 0; tc < pdata->hw_feat.tc_cnt; tc++) {
1635 if (XGMAC_GET_BITS(pdata->hw_feat
[all...]
H A Dxgbe.h682 struct xgbe_hw_features hw_feat; member in struct:xgbe_prv_data

Completed in 60 milliseconds