Home
last modified time | relevance | path

Searched refs:viid (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_mps.c82 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 …]
Dcxgb4.h655 u16 viid; member
1895 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid,
1899 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid,
2000 unsigned int viid);
2001 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid,
2004 int t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid,
2007 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, int idx,
2009 int t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid,
2013 int t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid,
2017 unsigned int viid, bool free, unsigned int naddr,
[all …]
Dt4_hw.c5144 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_rss_range() argument
5155 FW_RSS_IND_TBL_CMD_VIID_V(viid)); in t4_config_rss_range()
5233 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_vi_rss() argument
5241 FW_RSS_VI_CONFIG_CMD_VIID_V(viid)); in t4_config_vi_rss()
7678 unsigned int vf, unsigned int viid) in t4_free_vi() argument
7689 c.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(viid)); in t4_free_vi()
7709 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode() argument
7731 FW_VI_RXMODE_CMD_VIID_V(viid)); in t4_set_rxmode()
7770 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_encap_mac_filt() argument
7782 FW_VI_MAC_CMD_VIID_V(viid)); in t4_free_encap_mac_filt()
[all …]
Dcxgb4_main.c360 return t4_set_addr_hash(adap, adap->mbox, pi->viid, ucast, in cxgb4_set_addr_hash()
382 ret = cxgb4_alloc_mac_filt(adap, pi->viid, free, 1, maclist, in cxgb4_mac_sync()
421 ret = cxgb4_free_mac_filt(adap, pi->viid, 1, maclist, false); in cxgb4_mac_unsync()
437 return t4_set_rxmode(adapter, adapter->mbox, pi->viid, pi->viid_mirror, in set_rxmode()
460 int cxgb4_change_mac(struct port_info *pi, unsigned int viid, in cxgb4_change_mac() argument
468 ret = t4_change_mac(adapter, adapter->mbox, viid, in cxgb4_change_mac()
513 ret = t4_set_rxmode(pi->adapter, mb, pi->viid, pi->viid_mirror, in link_start()
517 ret = cxgb4_update_mac_filt(pi, pi->viid, &pi->xact_addr_filt, in link_start()
826 u16 rss_size, u16 viid) in cxgb4_config_rss() argument
831 ret = t4_config_rss_range(adap, adap->mbox, viid, 0, rss_size, rss, in cxgb4_config_rss()
[all …]
Dcxgb4_uld.h511 unsigned int cxgb4_tp_smt_idx(enum chip_type chip, unsigned int viid);
Dcxgb4_filter.c993 t4_free_encap_mac_filt(adap, pi->viid, in clear_filter()
1447 ret = t4_alloc_encap_mac_filt(adapter, pi->viid, in cxgb4_set_hash_filter()
1500 t4_free_encap_mac_filt(adapter, pi->viid, f->fs.val.ovlan, 1); in cxgb4_set_hash_filter()
1694 ret = t4_alloc_encap_mac_filt(adapter, pi->viid, in __cxgb4_set_filter()
Dcxgb4_ethtool.c416 return t4_identify_port(adap, adap->pf, netdev2pinfo(dev)->viid, val); in identify_port()
Dsge.c4400 FW_IQ_CMD_IQASYNCH_V(fwevtq) | FW_IQ_CMD_VIID_V(pi->viid) | in t4_sge_alloc_rxq()
4627 FW_EQ_ETH_CMD_VIID_V(pi->viid)); in t4_sge_alloc_eth_txq()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c533 vi_cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(pi->viid)); in t4vf_port_init()
1143 int t4vf_read_rss_vi_config(struct adapter *adapter, unsigned int viid, in t4vf_read_rss_vi_config() argument
1153 FW_RSS_VI_CONFIG_CMD_VIID(viid)); in t4vf_read_rss_vi_config()
1194 int t4vf_write_rss_vi_config(struct adapter *adapter, unsigned int viid, in t4vf_write_rss_vi_config() argument
1203 FW_RSS_VI_CONFIG_CMD_VIID(viid)); in t4vf_write_rss_vi_config()
1247 int t4vf_config_rss_range(struct adapter *adapter, unsigned int viid, in t4vf_config_rss_range() argument
1261 FW_RSS_IND_TBL_CMD_VIID_V(viid)); in t4vf_config_rss_range()
1369 int t4vf_free_vi(struct adapter *adapter, int viid) in t4vf_free_vi() argument
1382 cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(viid)); in t4vf_free_vi()
1395 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, in t4vf_enable_vi() argument
[all …]
Dcxgb4vf_main.c253 return t4vf_set_addr_hash(adapter, pi->viid, ucast, vec, false); in cxgb4vf_set_addr_hash()
272 static int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, in cxgb4vf_change_mac() argument
279 ret = t4vf_change_mac(adapter, viid, *tcam_idx, addr, persistent); in cxgb4vf_change_mac()
328 ret = t4vf_set_rxmode(pi->adapter, pi->viid, dev->mtu, -1, -1, -1, 1, in link_start()
331 ret = cxgb4vf_change_mac(pi, pi->viid, in link_start()
712 err = t4vf_config_rss_range(adapter, pi->viid, in setup_rss()
732 pi->viid, in setup_rss()
739 pi->viid, in setup_rss()
947 ret = t4vf_alloc_mac_filt(adapter, pi->viid, free, 1, maclist, in cxgb4vf_mac_sync()
986 ret = t4vf_free_mac_filt(adapter, pi->viid, 1, maclist, false); in cxgb4vf_mac_unsync()
[all …]
Dadapter.h97 u16 viid; /* virtual interface ID */ member
Dt4vf_common.h395 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en,
Dsge.c2256 FW_IQ_CMD_VIID_V(pi->viid) | in t4vf_sge_alloc_rxq()
2453 FW_EQ_ETH_CMD_VIID_V(pi->viid)); in t4vf_sge_alloc_eth_txq()
/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_wr.h126 uint8_t viid; member
Dcsio_wr.c457 iqp.viid = 0; in csio_wr_iq_create()
Dcsio_mb.c457 FW_IQ_CMD_VIID_V(iq_params->viid) | in csio_mb_iq_alloc()
/linux-6.6.21/drivers/net/ethernet/fungible/funcore/
Dfun_hci.h757 __be32 viid; /* VI flow id */ member
778 .id = cpu_to_be32(_id), .viid = cpu_to_be32(_viid), \