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

/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c82 int cxgb4_free_mac_filt(struct adapter *adap, unsigned int viid, argument
89 ret = t4_free_mac_filt(adap, adap->mbox, viid,
100 int cxgb4_alloc_mac_filt(struct adapter *adap, unsigned int viid, argument
106 ret = t4_alloc_mac_filt(adap, adap->mbox, viid, free,
122 cxgb4_free_mac_filt(adap, viid, naddr, addr, sleep_ok);
129 int cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid, argument
135 ret = cxgb4_change_mac(pi, viid, tcam_idx,
145 unsigned int viid,
156 ret = t4_free_raw_mac_filt(adap, viid, addr,
164 unsigned int viid,
144 cxgb4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) argument
163 cxgb4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) argument
190 cxgb4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, int idx, bool sleep_ok) argument
201 cxgb4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int vni, unsigned int vni_mask, u8 dip_hit, u8 lookup_type, bool sleep_ok) argument
[all...]
H A Dcxgb4.h655 u16 viid; member in struct:port_info
682 /* viid and smt fields either returned by fw
683 * or decoded by parsing viid by driver.
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,
[all...]
H A Dt4_hw.c5131 * @viid: virtual interface whose RSS subtable is to be written
5142 * @viid.
5144 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, argument
5155 FW_RSS_IND_TBL_CMD_VIID_V(viid));
5227 * @viid: the VI id
5233 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, argument
5241 FW_RSS_VI_CONFIG_CMD_VIID_V(viid));
7673 * @viid: virtual interface identifiler
7678 unsigned int vf, unsigned int viid)
7689 c.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(viid));
7677 t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int viid) argument
7709 t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, unsigned int viid_mirror, int mtu, int promisc, int all_multi, int bcast, int vlanex, bool sleep_ok) argument
7770 t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, int idx, bool sleep_ok) argument
7810 t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) argument
7861 t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int vni, unsigned int vni_mask, u8 dip_hit, u8 lookup_type, bool sleep_ok) argument
7909 t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) argument
7972 t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, unsigned int viid, bool free, unsigned int naddr, const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok) argument
8057 t4_free_mac_filt(struct adapter *adap, unsigned int mbox, unsigned int viid, unsigned int naddr, const u8 **addr, bool sleep_ok) argument
8138 t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, int idx, const u8 *addr, bool persist, u8 *smt_idx) argument
8197 t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, bool ucast, u64 vec, bool sleep_ok) argument
8225 t4_enable_vi_params(struct adapter *adap, unsigned int mbox, unsigned int viid, bool rx_en, bool tx_en, bool dcb_en) argument
8251 t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, bool rx_en, bool tx_en) argument
8294 t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, unsigned int nblinks) argument
[all...]
H A Dcxgb4_main.c360 return t4_set_addr_hash(adap, adap->mbox, pi->viid, ucast,
382 ret = cxgb4_alloc_mac_filt(adap, pi->viid, free, 1, maclist,
421 ret = cxgb4_free_mac_filt(adap, pi->viid, 1, maclist, false);
437 return t4_set_rxmode(adapter, adapter->mbox, pi->viid, pi->viid_mirror,
446 * @viid: the VI id
460 int cxgb4_change_mac(struct port_info *pi, unsigned int viid, argument
468 ret = t4_change_mac(adapter, adapter->mbox, viid,
513 ret = t4_set_rxmode(pi->adapter, mb, pi->viid, pi->viid_mirror,
517 ret = cxgb4_update_mac_filt(pi, pi->viid, &pi->xact_addr_filt,
826 u16 rss_size, u16 viid)
825 cxgb4_config_rss(const struct port_info *pi, u16 *rss, u16 rss_size, u16 viid) argument
[all...]
H A Dcxgb4_uld.h511 unsigned int cxgb4_tp_smt_idx(enum chip_type chip, unsigned int viid);
H A Dcxgb4_filter.c993 t4_free_encap_mac_filt(adap, pi->viid,
1447 ret = t4_alloc_encap_mac_filt(adapter, pi->viid,
1500 t4_free_encap_mac_filt(adapter, pi->viid, f->fs.val.ovlan, 1);
1694 ret = t4_alloc_encap_mac_filt(adapter, pi->viid,
H A Dcxgb4_ethtool.c416 return t4_identify_port(adap, adap->pf, netdev2pinfo(dev)->viid, val);
H A Dsge.c4386 FW_IQ_CMD_IQASYNCH_V(fwevtq) | FW_IQ_CMD_VIID_V(pi->viid) |
4613 FW_EQ_ETH_CMD_VIID_V(pi->viid));
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c533 vi_cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(pi->viid));
1137 * @viid: Virtual Interface ID
1143 int t4vf_read_rss_vi_config(struct adapter *adapter, unsigned int viid, argument
1153 FW_RSS_VI_CONFIG_CMD_VIID(viid));
1188 * @viid: Virtual Interface ID
1194 int t4vf_write_rss_vi_config(struct adapter *adapter, unsigned int viid, argument
1203 FW_RSS_VI_CONFIG_CMD_VIID(viid));
1235 * @viid: Virtual Interface of RSS Table Slice
1247 int t4vf_config_rss_range(struct adapter *adapter, unsigned int viid, argument
1261 FW_RSS_IND_TBL_CMD_VIID_V(viid));
1369 t4vf_free_vi(struct adapter *adapter, int viid) argument
1395 t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en, bool tx_en) argument
1443 t4vf_identify_port(struct adapter *adapter, unsigned int viid, unsigned int nblinks) argument
1473 t4vf_set_rxmode(struct adapter *adapter, unsigned int viid, int mtu, int promisc, int all_multi, int bcast, int vlanex, bool sleep_ok) argument
1527 t4vf_alloc_mac_filt(struct adapter *adapter, unsigned int viid, bool free, unsigned int naddr, const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok) argument
1613 t4vf_free_mac_filt(struct adapter *adapter, unsigned int viid, unsigned int naddr, const u8 **addr, bool sleep_ok) argument
1690 t4vf_change_mac(struct adapter *adapter, unsigned int viid, int idx, const u8 *addr, bool persist) argument
1737 t4vf_set_addr_hash(struct adapter *adapter, unsigned int viid, bool ucast, u64 vec, bool sleep_ok) argument
[all...]
H A Dcxgb4vf_main.c253 return t4vf_set_addr_hash(adapter, pi->viid, ucast, vec, false);
259 * @viid: the VI id
272 static int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, argument
279 ret = t4vf_change_mac(adapter, viid, *tcam_idx, addr, persistent);
328 ret = t4vf_set_rxmode(pi->adapter, pi->viid, dev->mtu, -1, -1, -1, 1,
331 ret = cxgb4vf_change_mac(pi, pi->viid,
712 err = t4vf_config_rss_range(adapter, pi->viid,
732 pi->viid,
739 pi->viid,
947 ret = t4vf_alloc_mac_filt(adapter, pi->viid, fre
3032 int port_id, viid; local
[all...]
H A Dt4vf_common.h395 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en,
H A Dadapter.h97 u16 viid; /* virtual interface ID */ member in struct:port_info
H A Dsge.c2256 FW_IQ_CMD_VIID_V(pi->viid) |
2453 FW_EQ_ETH_CMD_VIID_V(pi->viid));
/linux-master/drivers/scsi/csiostor/
H A Dcsio_wr.h126 uint8_t viid; member in struct:csio_iq_params
H A Dcsio_mb.c457 FW_IQ_CMD_VIID_V(iq_params->viid) |
H A Dcsio_wr.c457 iqp.viid = 0;
/linux-master/drivers/net/ethernet/fungible/funcore/
H A Dfun_hci.h757 __be32 viid; /* VI flow id */ member in struct:fun_admin_rss_req::rss_req_subop::fun_admin_rss_create_req
778 .id = cpu_to_be32(_id), .viid = cpu_to_be32(_viid), \

Completed in 486 milliseconds