Home
last modified time | relevance | path

Searched refs:fsp (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/scsi/libfc/
A Dfc_fcp.c138 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc()
567 fsp->xfer_len == fsp->data_len - fsp->scsi_resid) { in fc_fcp_recv_data()
997 fsp->xfer_len < fsp->data_len && !fsp->io_status && in fc_fcp_complete_locked()
999 fsp->xfer_len < fsp->data_len - fsp->scsi_resid)) { in fc_fcp_complete_locked()
1001 fsp->xfer_len, fsp->data_len); in fc_fcp_complete_locked()
1135 libfc_priv(fsp->cmd)->fsp = fsp; in fc_fcp_pkt_send()
1140 memcpy(fsp->cdb_cmd.fc_cdb, fsp->cmd->cmnd, fsp->cmd->cmd_len); in fc_fcp_pkt_send()
1148 libfc_priv(fsp->cmd)->fsp = NULL; in fc_fcp_pkt_send()
1658 fsp, fsp->rport->port_id); in fc_fcp_rec_error()
1674 fsp, fsp->rport->port_id, fsp->recov_retry, in fc_fcp_rec_error()
[all …]
A Dfc_libfc.h98 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid);
99 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
A Dfc_exch.c2186 struct fc_fcp_pkt *fsp = NULL; in fc_exch_seq_send() local
2210 fsp = fr_fsp(fp); in fc_exch_seq_send()
2226 if (fsp) in fc_exch_seq_send()
2227 fc_fcp_ddp_done(fsp); in fc_exch_seq_send()
/linux/drivers/net/ethernet/google/gve/
A Dgve_flow_rule.c33 memset(&fsp->h_u, 0, sizeof(fsp->h_u)); in gve_fill_ethtool_flow_spec()
34 memset(&fsp->h_ext, 0, sizeof(fsp->h_ext)); in gve_fill_ethtool_flow_spec()
35 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in gve_fill_ethtool_flow_spec()
36 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in gve_fill_ethtool_flow_spec()
38 switch (fsp->flow_type) { in gve_fill_ethtool_flow_spec()
123 if (fsp->ring_cookie == RX_CLS_FLOW_DISC) in gve_generate_flow_rule()
129 rule->action = cpu_to_be16(fsp->ring_cookie); in gve_generate_flow_rule()
154 rule->key.spi = fsp->h_u.ah_ip4_spec.spi; in gve_generate_flow_rule()
157 rule->mask.spi = fsp->m_u.ah_ip4_spec.spi; in gve_generate_flow_rule()
181 rule->key.spi = fsp->h_u.ah_ip6_spec.spi; in gve_generate_flow_rule()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c11 if (fsp->flow_type & FLOW_MAC_EXT) in aq_rule_is_approve()
14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve()
26 switch (fsp->h_u.usr_ip4_spec.proto) { in aq_rule_is_approve()
186 struct ethtool_rx_flow_spec *fsp) in aq_check_filter() argument
191 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter()
249 (fsp->h_u.tcp_ip4_spec.tos || in aq_rule_is_not_support()
275 fsp->location); in aq_rule_is_not_correct()
319 data->queue = fsp->ring_cookie; in aq_set_data_fl2()
493 switch (fsp->flow_type) { in aq_set_data_fl3l4()
697 memcpy(&aq_rx_fltr->aq_fsp, fsp, sizeof(*fsp)); in aq_add_rxnfc_rule()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_ethtool.c859 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data()
904 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data()
906 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp->h_ext.data)); in iavf_fill_rx_flow_ext_data()
907 memcpy(fsp->m_ext.data, fltr->ext_mask.usr_def, sizeof(fsp->m_ext.data)); in iavf_fill_rx_flow_ext_data()
938 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in iavf_get_ethtool_fdir_entry()
939 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in iavf_get_ethtool_fdir_entry()
941 switch (fsp->flow_type) { in iavf_get_ethtool_fdir_entry()
1044 fsp->ring_cookie = rule->q_index; in iavf_get_ethtool_fdir_entry()
1111 q_index = fsp->ring_cookie; in iavf_add_fdir_fltr_info()
1119 fltr->loc = fsp->location; in iavf_add_fdir_fltr_info()
[all …]
/linux/drivers/net/ethernet/intel/ice/
A Dice_ethtool_fdir.c122 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local
140 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in ice_get_ethtool_fdir_entry()
141 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in ice_get_ethtool_fdir_entry()
143 switch (fsp->flow_type) { in ice_get_ethtool_fdir_entry()
145 fsp->h_u.ether_spec = rule->eth; in ice_get_ethtool_fdir_entry()
1214 if (fsp->m_ext.vlan_etype && !eth_type_vlan(fsp->h_ext.vlan_etype)) in ice_fdir_vlan_valid()
1217 if (fsp->m_ext.vlan_tci && ntohs(fsp->h_ext.vlan_tci) >= VLAN_N_VID) in ice_fdir_vlan_valid()
1221 if (fsp->m_u.ether_spec.h_proto && fsp->m_ext.vlan_tci && in ice_fdir_vlan_valid()
1222 !fsp->m_ext.vlan_etype) { in ice_fdir_vlan_valid()
1391 if (!ret && (fsp->m_ext.vlan_etype || fsp->m_ext.vlan_tci)) { in ice_cfg_fdir_xtrct_seq()
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_ethtool.c86 struct ethtool_rx_flow_spec *fsp = in txgbe_get_ethtool_fdir_entry() local
107 fsp->flow_type = TCP_V4_FLOW; in txgbe_get_ethtool_fdir_entry()
110 fsp->flow_type = UDP_V4_FLOW; in txgbe_get_ethtool_fdir_entry()
113 fsp->flow_type = SCTP_V4_FLOW; in txgbe_get_ethtool_fdir_entry()
116 fsp->flow_type = IP_USER_FLOW; in txgbe_get_ethtool_fdir_entry()
118 fsp->h_u.usr_ip4_spec.proto = 0; in txgbe_get_ethtool_fdir_entry()
119 fsp->m_u.usr_ip4_spec.proto = 0; in txgbe_get_ethtool_fdir_entry()
137 fsp->flow_type |= FLOW_EXT; in txgbe_get_ethtool_fdir_entry()
143 fsp->ring_cookie = rule->action; in txgbe_get_ethtool_fdir_entry()
366 input->sw_idx = fsp->location; in txgbe_add_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/engleder/
A Dtsnep_rxnfc.c111 fsp->flow_type = ETHER_FLOW; in tsnep_rxnfc_get_rule()
112 fsp->ring_cookie = rule->queue_index; in tsnep_rxnfc_get_rule()
176 rule->queue_index = fsp->ring_cookie; in tsnep_rxnfc_init_rule()
177 rule->location = fsp->location; in tsnep_rxnfc_init_rule()
205 struct ethtool_rx_flow_spec *fsp = in tsnep_rxnfc_add_rule() local
211 if (fsp->flow_type != ETHER_FLOW || in tsnep_rxnfc_add_rule()
220 if (fsp->ring_cookie > in tsnep_rxnfc_add_rule()
227 if (fsp->location != RX_CLS_LOC_ANY && in tsnep_rxnfc_add_rule()
244 fsp->location = retval; in tsnep_rxnfc_add_rule()
247 tsnep_rxnfc_init_rule(rule, fsp); in tsnep_rxnfc_add_rule()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c870 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request()
873 if (fsp->m_ext.vlan_etype) { in otx2_prepare_flow_request()
903 if (fsp->m_ext.vlan_tci) { in otx2_prepare_flow_request()
911 if (fsp->m_ext.data[1]) { in otx2_prepare_flow_request()
919 } else if (fsp->h_ext.data[1] == in otx2_prepare_flow_request()
929 if (fsp->flow_type & FLOW_MAC_EXT && in otx2_prepare_flow_request()
947 u64 ring_cookie = fsp->ring_cookie; in otx2_is_flow_rule_dmacfilter()
1131 flow->location = fsp->location; in otx2_add_flow()
1136 flow->flow_spec = *fsp; in otx2_add_flow()
1138 if (fsp->flow_type & FLOW_RSS) in otx2_add_flow()
[all …]
/linux/drivers/net/ethernet/intel/igc/
A Digc_ethtool.c974 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule()
983 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
989 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
1008 memcpy(fsp->h_ext.data, rule->filter.user_data, sizeof(fsp->h_ext.data)); in igc_ethtool_get_nfc_rule()
1009 memcpy(fsp->m_ext.data, rule->filter.user_mask, sizeof(fsp->m_ext.data)); in igc_ethtool_get_nfc_rule()
1224 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule()
1251 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule()
1258 (fsp->h_ext.data[0] || fsp->h_ext.data[1])) { in igc_ethtool_init_nfc_rule()
1260 memcpy(rule->filter.user_data, fsp->h_ext.data, sizeof(fsp->h_ext.data)); in igc_ethtool_init_nfc_rule()
1261 memcpy(rule->filter.user_mask, fsp->m_ext.data, sizeof(fsp->m_ext.data)); in igc_ethtool_init_nfc_rule()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c3263 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3306 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3379 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry()
3487 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry()
3500 fsp->ring_cookie |= ring_vf; in i40e_get_ethtool_fdir_entry()
4530 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set()
4535 fsp->h_ext.vlan_etype != 0) in i40e_check_fdir_input_set()
4638 i40e_flow_str(fsp)); in i40e_check_fdir_input_set()
4665 i40e_flow_str(fsp), in i40e_check_fdir_input_set()
4873 input->fd_id = fsp->location; in i40e_add_fdir_ethtool()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ethtool.c2560 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2563 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2566 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2569 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry()
2571 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2572 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2592 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry()
2598 fsp->ring_cookie = rule->action; in ixgbe_get_ethtool_fdir_entry()
2858 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry()
2883 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
A Denic_ethtool.c496 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local
500 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule()
505 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule()
508 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule()
515 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule()
518 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()
520 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule()
521 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule()
523 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule()
524 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule()
[all …]
/linux/tools/perf/util/
A Dprobe-finder.c645 if (fsp->file) { in find_best_scope_cb()
651 if (fsp->function) { in find_best_scope_cb()
654 fsp->found = true; in find_best_scope_cb()
660 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb()
662 fsp->diff = fsp->line - lno; in find_best_scope_cb()
664 fsp->found = true; in find_best_scope_cb()
676 fsp->found = true; in find_inner_scope_cb()
683 struct find_scope_param fsp = { in find_best_scope() local
694 &fsp); in find_best_scope()
695 if (!ret && !fsp.found) in find_best_scope()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_filter.c1334 fsp->location); in qede_get_cls_rule_entry()
1337 fsp->location); in qede_get_cls_rule_entry()
1344 fsp->flow_type = TCP_V4_FLOW; in qede_get_cls_rule_entry()
1346 fsp->flow_type = UDP_V4_FLOW; in qede_get_cls_rule_entry()
1354 fsp->flow_type = TCP_V6_FLOW; in qede_get_cls_rule_entry()
1356 fsp->flow_type = UDP_V6_FLOW; in qede_get_cls_rule_entry()
1359 memcpy(&fsp->h_u.tcp_ip6_spec.ip6src, in qede_get_cls_rule_entry()
1361 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry()
1365 fsp->ring_cookie = fltr->rxq_id; in qede_get_cls_rule_entry()
1373 fsp->ring_cookie = RX_CLS_FLOW_DISC; in qede_get_cls_rule_entry()
[all …]
/linux/drivers/net/ethernet/intel/igb/
A Digb_ethtool.c2440 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2448 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry()
2449 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry()
2455 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2895 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry() local
2934 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry()
2941 fsp->h_u.ether_spec.h_dest); in igb_add_ethtool_nfc_entry()
2944 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
2953 input->action = fsp->ring_cookie; in igb_add_ethtool_nfc_entry()
2954 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()
[all …]
/linux/include/scsi/
A Dlibfc.h364 struct fc_fcp_pkt *fsp; member
899 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) in fc_fcp_is_read() argument
901 if (fsp && fsp->cmd) in fc_fcp_is_read()
902 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE; in fc_fcp_is_read()
/linux/drivers/net/ethernet/sun/
A Dniu.c7115 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key()
7154 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key()
7157 fsp->m_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key()
7197 if (fsp->flow_type == AH_V4_FLOW || fsp->flow_type == AH_V6_FLOW) { in niu_get_ethtool_tcam_entry()
7201 if (fsp->flow_type == AH_V4_FLOW) in niu_get_ethtool_tcam_entry()
7202 fsp->flow_type = ESP_V4_FLOW; in niu_get_ethtool_tcam_entry()
7204 fsp->flow_type = ESP_V6_FLOW; in niu_get_ethtool_tcam_entry()
7208 switch (fsp->flow_type) { in niu_get_ethtool_tcam_entry()
7387 switch (fsp->flow_type) { in niu_get_tcamkey_from_ip4fs()
7522 switch (fsp->flow_type) { in niu_add_ethtool_tcam_entry()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
A Drestrack.c139 struct t4_swsqe *fsp = NULL, *lsp = NULL; in c4iw_fill_res_qp_entry() local
162 fsp = &first_sqe; in c4iw_fill_res_qp_entry()
176 if (fill_swsqes(msg, &wq.sq, first_sq_idx, fsp, last_sq_idx, lsp)) in c4iw_fill_res_qp_entry()
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.c2932 (fsp->location > 1)) in mtk_hwlro_add_ipaddr()
2935 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr()
2954 if (fsp->location > 1) in mtk_hwlro_del_ipaddr()
2957 mac->hwlro_ip[fsp->location] = 0; in mtk_hwlro_del_ipaddr()
2994 fsp->flow_type = TCP_V4_FLOW; in mtk_hwlro_get_fdir_entry()
2995 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]); in mtk_hwlro_get_fdir_entry()
2996 fsp->m_u.tcp_ip4_spec.ip4dst = 0; in mtk_hwlro_get_fdir_entry()
2998 fsp->h_u.tcp_ip4_spec.ip4src = 0; in mtk_hwlro_get_fdir_entry()
3000 fsp->h_u.tcp_ip4_spec.psrc = 0; in mtk_hwlro_get_fdir_entry()
3002 fsp->h_u.tcp_ip4_spec.pdst = 0; in mtk_hwlro_get_fdir_entry()
[all …]
/linux/drivers/hwmon/pmbus/
A DMakefile15 obj-$(CONFIG_SENSORS_FSP_3Y) += fsp-3y.o
A DKconfig106 be called fsp-3y.
/linux/Documentation/hwmon/
A Dindex.rst76 fsp-3y
/linux/drivers/scsi/
A Dscsi_debug.c3653 u8 *fsp; in do_device_access() local
3678 fsp = sip->storep; in do_device_access()
3688 fsp + (block * sdebug_sector_size), in do_device_access()
3726 u8 *fsp = sip->storep; in comp_write_worker() local
4156 u8 *fsp = sip->storep; in unmap_region() local
4166 memset(fsp + lba * sdebug_sector_size, in unmap_region()
4516 u8 *fsp; in resp_write_same() local
4535 fsp = sip->storep; in resp_write_same()
4536 fs1p = fsp + (block * lb_size); in resp_write_same()
4931 u8 *fsp = sip->storep; in resp_pre_fetch() local
[all …]

Completed in 138 milliseconds