/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_mps.c | 82 int cxgb4_free_mac_filt(struct adapter *adap, unsigned int viid, in cxgb4_free_mac_filt() argument 89 ret = t4_free_mac_filt(adap, adap->mbox, viid, in cxgb4_free_mac_filt() 100 int cxgb4_alloc_mac_filt(struct adapter *adap, unsigned int viid, in cxgb4_alloc_mac_filt() argument 106 ret = t4_alloc_mac_filt(adap, adap->mbox, viid, free, in cxgb4_alloc_mac_filt() 122 cxgb4_free_mac_filt(adap, viid, naddr, addr, sleep_ok); in cxgb4_alloc_mac_filt() 129 int cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid, in cxgb4_update_mac_filt() argument 135 ret = cxgb4_change_mac(pi, viid, tcam_idx, in cxgb4_update_mac_filt() 145 unsigned int viid, in cxgb4_free_raw_mac_filt() argument 156 ret = t4_free_raw_mac_filt(adap, viid, addr, in cxgb4_free_raw_mac_filt() 164 unsigned int viid, in cxgb4_alloc_raw_mac_filt() argument [all …]
|
D | cxgb4.h | 571 u16 viid; member 1686 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, 1690 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, 1791 unsigned int viid); 1792 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, 1795 int t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, 1798 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, int idx, 1800 int t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, 1804 int t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, 1808 unsigned int viid, bool free, unsigned int naddr, [all …]
|
D | t4_hw.c | 5156 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_rss_range() argument 5167 FW_RSS_IND_TBL_CMD_VIID_V(viid)); in t4_config_rss_range() 5245 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_vi_rss() argument 5253 FW_RSS_VI_CONFIG_CMD_VIID_V(viid)); in t4_config_vi_rss() 7687 unsigned int vf, unsigned int viid) in t4_free_vi() argument 7698 c.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(viid)); in t4_free_vi() 7717 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode() argument 7738 FW_VI_RXMODE_CMD_VIID_V(viid)); in t4_set_rxmode() 7760 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_encap_mac_filt() argument 7773 FW_VI_MAC_CMD_VIID_V(viid)); in t4_free_encap_mac_filt() [all …]
|
D | cxgb4_main.c | 358 return t4_set_addr_hash(adap, adap->mbox, pi->viid, ucast, in cxgb4_set_addr_hash() 380 ret = cxgb4_alloc_mac_filt(adap, pi->viid, free, 1, maclist, in cxgb4_mac_sync() 419 ret = cxgb4_free_mac_filt(adap, pi->viid, 1, maclist, false); in cxgb4_mac_unsync() 435 return t4_set_rxmode(adapter, adapter->mbox, pi->viid, mtu, in set_rxmode() 458 int cxgb4_change_mac(struct port_info *pi, unsigned int viid, in cxgb4_change_mac() argument 466 ret = t4_change_mac(adapter, adapter->mbox, viid, in cxgb4_change_mac() 511 ret = t4_set_rxmode(pi->adapter, mb, pi->viid, dev->mtu, -1, -1, -1, in link_start() 514 ret = cxgb4_update_mac_filt(pi, pi->viid, &pi->xact_addr_filt, in link_start() 850 err = t4_config_rss_range(adapter, adapter->pf, pi->viid, 0, in cxgb4_write_rss() 858 err = t4_config_vi_rss(adapter, adapter->mbox, pi->viid, in cxgb4_write_rss() [all …]
|
D | cxgb4_uld.h | 399 unsigned int cxgb4_tp_smt_idx(enum chip_type chip, unsigned int viid);
|
D | cxgb4_filter.c | 730 t4_free_encap_mac_filt(adap, pi->viid, in clear_filter() 1169 ret = t4_alloc_encap_mac_filt(adapter, pi->viid, in cxgb4_set_hash_filter() 1222 t4_free_encap_mac_filt(adapter, pi->viid, f->fs.val.ovlan, 1); in cxgb4_set_hash_filter() 1411 ret = t4_alloc_encap_mac_filt(adapter, pi->viid, in __cxgb4_set_filter()
|
D | cxgb4_ethtool.c | 346 return t4_identify_port(adap, adap->pf, netdev2pinfo(dev)->viid, val); in identify_port()
|
D | sge.c | 3570 FW_IQ_CMD_IQASYNCH_V(fwevtq) | FW_IQ_CMD_VIID_V(pi->viid) | in t4_sge_alloc_rxq() 3795 FW_EQ_ETH_CMD_VIID_V(pi->viid)); in t4_sge_alloc_eth_txq()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 534 vi_cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(pi->viid)); in t4vf_port_init() 1144 int t4vf_read_rss_vi_config(struct adapter *adapter, unsigned int viid, in t4vf_read_rss_vi_config() argument 1154 FW_RSS_VI_CONFIG_CMD_VIID(viid)); in t4vf_read_rss_vi_config() 1195 int t4vf_write_rss_vi_config(struct adapter *adapter, unsigned int viid, in t4vf_write_rss_vi_config() argument 1204 FW_RSS_VI_CONFIG_CMD_VIID(viid)); in t4vf_write_rss_vi_config() 1248 int t4vf_config_rss_range(struct adapter *adapter, unsigned int viid, in t4vf_config_rss_range() argument 1262 FW_RSS_IND_TBL_CMD_VIID_V(viid)); in t4vf_config_rss_range() 1370 int t4vf_free_vi(struct adapter *adapter, int viid) in t4vf_free_vi() argument 1383 cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(viid)); in t4vf_free_vi() 1396 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, in t4vf_enable_vi() argument [all …]
|
D | cxgb4vf_main.c | 254 return t4vf_set_addr_hash(adapter, pi->viid, ucast, vec, false); in cxgb4vf_set_addr_hash() 274 static int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, in cxgb4vf_change_mac() argument 281 ret = t4vf_change_mac(adapter, viid, *tcam_idx, addr, persistent); in cxgb4vf_change_mac() 330 ret = t4vf_set_rxmode(pi->adapter, pi->viid, dev->mtu, -1, -1, -1, 1, in link_start() 333 ret = cxgb4vf_change_mac(pi, pi->viid, in link_start() 714 err = t4vf_config_rss_range(adapter, pi->viid, in setup_rss() 734 pi->viid, in setup_rss() 741 pi->viid, in setup_rss() 949 ret = t4vf_alloc_mac_filt(adapter, pi->viid, free, 1, maclist, in cxgb4vf_mac_sync() 988 ret = t4vf_free_mac_filt(adapter, pi->viid, 1, maclist, false); in cxgb4vf_mac_unsync() [all …]
|
D | t4vf_common.h | 394 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en,
|
D | adapter.h | 96 u16 viid; /* virtual interface ID */ member
|
D | sge.c | 2259 FW_IQ_CMD_VIID_V(pi->viid) | in t4vf_sge_alloc_rxq() 2455 FW_EQ_ETH_CMD_VIID_V(pi->viid)); in t4vf_sge_alloc_eth_txq()
|
/Linux-v5.4/drivers/scsi/csiostor/ |
D | csio_wr.h | 126 uint8_t viid; member
|
D | csio_wr.c | 457 iqp.viid = 0; in csio_wr_iq_create()
|
D | csio_mb.c | 457 FW_IQ_CMD_VIID_V(iq_params->viid) | in csio_mb_iq_alloc()
|