Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/drivers/scsi/libfc/
H A Dfc_fcp.c134 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc() local
136 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc()
137 if (fsp) { in fc_fcp_pkt_alloc()
138 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc()
139 fsp->lp = lport; in fc_fcp_pkt_alloc()
140 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc()
141 refcount_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc()
142 timer_setup(&fsp->timer, NULL, 0); in fc_fcp_pkt_alloc()
143 INIT_LIST_HEAD(&fsp in fc_fcp_pkt_alloc()
158 fc_fcp_pkt_release(struct fc_fcp_pkt *fsp) fc_fcp_pkt_release() argument
171 fc_fcp_pkt_hold(struct fc_fcp_pkt *fsp) fc_fcp_pkt_hold() argument
187 fc_fcp_pkt_destroy(struct fc_seq *seq, void *fsp) fc_fcp_pkt_destroy() argument
209 fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp) fc_fcp_lock_pkt() argument
226 fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp) fc_fcp_unlock_pkt() argument
237 fc_fcp_timer_set(struct fc_fcp_pkt *fsp, unsigned long delay) fc_fcp_timer_set() argument
245 fc_fcp_abort_done(struct fc_fcp_pkt *fsp) fc_fcp_abort_done() argument
261 fc_fcp_send_abort(struct fc_fcp_pkt *fsp) fc_fcp_send_abort() argument
298 fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp, int status_code) fc_fcp_retry_cmd() argument
316 fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) fc_fcp_ddp_setup() argument
334 fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) fc_fcp_ddp_done() argument
457 get_fsp_rec_tov(struct fc_fcp_pkt *fsp) get_fsp_rec_tov() argument
472 fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_recv_data() argument
589 fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq, size_t offset, size_t seq_blen) fc_fcp_send_data() argument
736 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_abts_resp() argument
775 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; fc_fcp_recv() local
848 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_resp() argument
978 fc_fcp_complete_locked(struct fc_fcp_pkt *fsp) fc_fcp_complete_locked() argument
1041 fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp, int error) fc_fcp_cleanup_cmd() argument
1063 struct fc_fcp_pkt *fsp; fc_fcp_cleanup_each_cmd() local
1129 fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) fc_fcp_pkt_send() argument
1162 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) fc_fcp_cmd_send() argument
1215 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_error() argument
1244 fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp) fc_fcp_pkt_abort() argument
1286 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); fc_lun_reset_send() local
1308 fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, unsigned int id, unsigned int lun) fc_lun_reset() argument
1364 struct fc_fcp_pkt *fsp = arg; fc_tm_done() local
1419 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); fc_fcp_timeout() local
1455 fc_fcp_rec(struct fc_fcp_pkt *fsp) fc_fcp_rec() argument
1506 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; fc_fcp_rec_resp() local
1648 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_rec_error() argument
1692 fc_fcp_recovery(struct fc_fcp_pkt *fsp, u8 code) fc_fcp_recovery() argument
1714 fc_fcp_srr(struct fc_fcp_pkt *fsp, enum fc_rctl r_ctl, u32 offset) fc_fcp_srr() argument
1770 struct fc_fcp_pkt *fsp = arg; fc_fcp_srr_resp() local
1815 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_srr_error() argument
1861 struct fc_fcp_pkt *fsp; fc_queuecommand() local
1951 fc_io_compl(struct fc_fcp_pkt *fsp) fc_io_compl() argument
2098 struct fc_fcp_pkt *fsp; fc_eh_abort() local
2152 struct fc_fcp_pkt *fsp; fc_eh_device_reset() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/libfc/
H A Dfc_fcp.c138 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc() local
140 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc()
141 if (fsp) { in fc_fcp_pkt_alloc()
142 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc()
143 fsp->lp = lport; in fc_fcp_pkt_alloc()
144 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc()
145 refcount_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc()
146 timer_setup(&fsp->timer, NULL, 0); in fc_fcp_pkt_alloc()
147 INIT_LIST_HEAD(&fsp in fc_fcp_pkt_alloc()
163 fc_fcp_pkt_release(struct fc_fcp_pkt *fsp) fc_fcp_pkt_release() argument
176 fc_fcp_pkt_hold(struct fc_fcp_pkt *fsp) fc_fcp_pkt_hold() argument
192 fc_fcp_pkt_destroy(struct fc_seq *seq, void *fsp) fc_fcp_pkt_destroy() argument
214 fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp) fc_fcp_lock_pkt() argument
231 fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp) fc_fcp_unlock_pkt() argument
242 fc_fcp_timer_set(struct fc_fcp_pkt *fsp, unsigned long delay) fc_fcp_timer_set() argument
250 fc_fcp_abort_done(struct fc_fcp_pkt *fsp) fc_fcp_abort_done() argument
266 fc_fcp_send_abort(struct fc_fcp_pkt *fsp) fc_fcp_send_abort() argument
304 fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp, int status_code) fc_fcp_retry_cmd() argument
322 fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) fc_fcp_ddp_setup() argument
340 fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) fc_fcp_ddp_done() argument
464 get_fsp_rec_tov(struct fc_fcp_pkt *fsp) get_fsp_rec_tov() argument
479 fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_recv_data() argument
599 fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq, size_t offset, size_t seq_blen) fc_fcp_send_data() argument
746 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_abts_resp() argument
785 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; fc_fcp_recv() local
858 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_resp() argument
988 fc_fcp_complete_locked(struct fc_fcp_pkt *fsp) fc_fcp_complete_locked() argument
1051 fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp, int error) fc_fcp_cleanup_cmd() argument
1073 struct fc_fcp_pkt *fsp; fc_fcp_cleanup_each_cmd() local
1139 fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) fc_fcp_pkt_send() argument
1172 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) fc_fcp_cmd_send() argument
1225 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_error() argument
1254 fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp) fc_fcp_pkt_abort() argument
1296 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); fc_lun_reset_send() local
1318 fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, unsigned int id, unsigned int lun) fc_lun_reset() argument
1374 struct fc_fcp_pkt *fsp = arg; fc_tm_done() local
1429 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); fc_fcp_timeout() local
1465 fc_fcp_rec(struct fc_fcp_pkt *fsp) fc_fcp_rec() argument
1516 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; fc_fcp_rec_resp() local
1658 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_rec_error() argument
1702 fc_fcp_recovery(struct fc_fcp_pkt *fsp, u8 code) fc_fcp_recovery() argument
1724 fc_fcp_srr(struct fc_fcp_pkt *fsp, enum fc_rctl r_ctl, u32 offset) fc_fcp_srr() argument
1780 struct fc_fcp_pkt *fsp = arg; fc_fcp_srr_resp() local
1825 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) fc_fcp_srr_error() argument
1871 struct fc_fcp_pkt *fsp; fc_queuecommand() local
1964 fc_io_compl(struct fc_fcp_pkt *fsp) fc_io_compl() argument
2111 struct fc_fcp_pkt *fsp; fc_eh_abort() local
2165 struct fc_fcp_pkt *fsp; fc_eh_device_reset() local
[all...]
H 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);
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c9 aq_rule_is_approve(struct ethtool_rx_flow_spec *fsp) in aq_rule_is_approve() argument
11 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()
36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
68 struct ethtool_rx_flow_spec *fsp) in aq_rule_already_exists()
76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists()
78 if (aq_match_filter(&rule->aq_fsp, fsp)) { in aq_rule_already_exists()
90 struct ethtool_rx_flow_spec *fsp) in aq_check_approve_fl3l4()
95 if (fsp in aq_check_approve_fl3l4()
67 aq_rule_already_exists(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_rule_already_exists() argument
88 aq_check_approve_fl3l4(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) aq_check_approve_fl3l4() argument
125 aq_check_approve_fl2(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) aq_check_approve_fl2() argument
152 aq_check_approve_fvlan(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) aq_check_approve_fvlan() argument
185 aq_check_filter(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_check_filter() argument
234 aq_rule_is_not_support(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_rule_is_not_support() argument
264 aq_rule_is_not_correct(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_rule_is_not_correct() argument
293 aq_check_rule(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_check_rule() argument
312 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; aq_set_data_fl2() local
405 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; aq_set_data_fvlan() local
474 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; aq_set_data_fl3l4() local
682 struct ethtool_rx_flow_spec *fsp = aq_add_rxnfc_rule() local
743 struct ethtool_rx_flow_spec *fsp = aq_get_rxnfc_rule() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c9 aq_rule_is_approve(struct ethtool_rx_flow_spec *fsp) in aq_rule_is_approve() argument
11 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()
36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
68 struct ethtool_rx_flow_spec *fsp) in aq_rule_already_exists()
76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists()
78 if (aq_match_filter(&rule->aq_fsp, fsp)) { in aq_rule_already_exists()
90 struct ethtool_rx_flow_spec *fsp) in aq_check_approve_fl3l4()
95 if (fsp in aq_check_approve_fl3l4()
67 aq_rule_already_exists(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_rule_already_exists() argument
88 aq_check_approve_fl3l4(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) aq_check_approve_fl3l4() argument
125 aq_check_approve_fl2(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) aq_check_approve_fl2() argument
152 aq_check_approve_fvlan(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) aq_check_approve_fvlan() argument
185 aq_check_filter(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_check_filter() argument
234 aq_rule_is_not_support(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_rule_is_not_support() argument
264 aq_rule_is_not_correct(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_rule_is_not_correct() argument
293 aq_check_rule(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) aq_check_rule() argument
312 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; aq_set_data_fl2() local
405 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; aq_set_data_fvlan() local
474 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; aq_set_data_fl3l4() local
682 struct ethtool_rx_flow_spec *fsp = aq_add_rxnfc_rule() local
743 struct ethtool_rx_flow_spec *fsp = aq_get_rxnfc_rule() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c987 * @fsp: pointer to ethtool Rx flow specification
993 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data() argument
999 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data()
1007 u32 value = be32_to_cpu(fsp->h_ext.data[i]); in iavf_parse_rx_flow_user_data()
1008 u32 mask = be32_to_cpu(fsp->m_ext.data[i]); in iavf_parse_rx_flow_user_data()
1035 * @fsp: pointer to ethtool Rx flow specification
1039 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data() argument
1045 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data()
1047 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp in iavf_fill_rx_flow_ext_data()
1062 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; iavf_get_ethtool_fdir_entry() local
1239 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, struct iavf_fdir_fltr *fltr) iavf_add_fdir_fltr_info() argument
1395 struct ethtool_rx_flow_spec *fsp = &cmd->fs; iavf_add_fdir_ethtool() local
1468 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; iavf_del_fdir_ethtool() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c117 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local
122 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry()
126 rule = ice_fdir_find_fltr_by_idx(hw, fsp->location); in ice_get_ethtool_fdir_entry()
128 if (!rule || fsp->location != rule->fltr_id) { in ice_get_ethtool_fdir_entry()
133 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type); in ice_get_ethtool_fdir_entry()
135 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in ice_get_ethtool_fdir_entry()
136 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in ice_get_ethtool_fdir_entry()
138 switch (fsp in ice_get_ethtool_fdir_entry()
406 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, struct ice_rx_flow_userdef *data) ice_parse_rx_flow_user_data() argument
1057 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, struct ice_rx_flow_userdef *user) ice_cfg_fdir_xtrct_seq() argument
1440 struct ethtool_rx_flow_spec *fsp = ice_del_fdir_ethtool() local
1472 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct ice_fdir_fltr *input) ice_set_fdir_input_set() argument
1612 struct ethtool_rx_flow_spec *fsp; ice_add_fdir_ethtool() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c118 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local
123 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry()
127 rule = ice_fdir_find_fltr_by_idx(hw, fsp->location); in ice_get_ethtool_fdir_entry()
129 if (!rule || fsp->location != rule->fltr_id) { in ice_get_ethtool_fdir_entry()
134 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type); in ice_get_ethtool_fdir_entry()
136 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in ice_get_ethtool_fdir_entry()
137 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in ice_get_ethtool_fdir_entry()
139 switch (fsp in ice_get_ethtool_fdir_entry()
481 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, struct ice_rx_flow_userdef *data) ice_parse_rx_flow_user_data() argument
1203 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, struct ice_rx_flow_userdef *user) ice_cfg_fdir_xtrct_seq() argument
1629 struct ethtool_rx_flow_spec *fsp = ice_del_fdir_ethtool() local
1694 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct ice_fdir_fltr *input) ice_set_fdir_input_set() argument
1842 struct ethtool_rx_flow_spec *fsp; ice_add_fdir_ethtool() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c97 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in tsnep_rxnfc_get_rule() local
104 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_get_rule()
111 fsp->flow_type = ETHER_FLOW; in tsnep_rxnfc_get_rule()
112 fsp->ring_cookie = rule->queue_index; in tsnep_rxnfc_get_rule()
115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type); in tsnep_rxnfc_get_rule()
116 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in tsnep_rxnfc_get_rule()
172 const struct ethtool_rx_flow_spec *fsp) in tsnep_rxnfc_init_rule()
176 rule->queue_index = fsp->ring_cookie; in tsnep_rxnfc_init_rule()
177 rule->location = fsp->location; in tsnep_rxnfc_init_rule()
180 rule->filter.ether_type = ntohs(fsp in tsnep_rxnfc_init_rule()
171 tsnep_rxnfc_init_rule(struct tsnep_rxnfc_rule *rule, const struct ethtool_rx_flow_spec *fsp) tsnep_rxnfc_init_rule() argument
205 struct ethtool_rx_flow_spec *fsp = tsnep_rxnfc_add_rule() local
272 struct ethtool_rx_flow_spec *fsp = tsnep_rxnfc_del_rule() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c964 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() local
971 rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_get_nfc_rule()
975 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule()
976 fsp->ring_cookie = rule->action; in igc_ethtool_get_nfc_rule()
979 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule()
980 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule()
984 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
985 fsp->h_ext.vlan_etype = rule->filter.vlan_etype; in igc_ethtool_get_nfc_rule()
986 fsp->m_ext.vlan_etype = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule()
990 fsp in igc_ethtool_get_nfc_rule()
1217 igc_ethtool_init_nfc_rule(struct igc_nfc_rule *rule, const struct ethtool_rx_flow_spec *fsp) igc_ethtool_init_nfc_rule() argument
1327 struct ethtool_rx_flow_spec *fsp = igc_ethtool_add_nfc_rule() local
1404 struct ethtool_rx_flow_spec *fsp = igc_ethtool_del_nfc_rule() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c528 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow() argument
532 struct ethtool_usrip4_spec *ipv4_usr_mask = &fsp->m_u.usr_ip4_spec; in otx2_prepare_ipv4_flow()
533 struct ethtool_usrip4_spec *ipv4_usr_hdr = &fsp->h_u.usr_ip4_spec; in otx2_prepare_ipv4_flow()
534 struct ethtool_tcpip4_spec *ipv4_l4_mask = &fsp->m_u.tcp_ip4_spec; in otx2_prepare_ipv4_flow()
535 struct ethtool_tcpip4_spec *ipv4_l4_hdr = &fsp->h_u.tcp_ip4_spec; in otx2_prepare_ipv4_flow()
536 struct ethtool_ah_espip4_spec *ah_esp_hdr = &fsp->h_u.ah_ip4_spec; in otx2_prepare_ipv4_flow()
537 struct ethtool_ah_espip4_spec *ah_esp_mask = &fsp->m_u.ah_ip4_spec; in otx2_prepare_ipv4_flow()
687 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow() argument
691 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
692 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp in otx2_prepare_ipv6_flow()
813 otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, struct npc_install_flow_req *req) otx2_prepare_flow_request() argument
940 otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, struct ethtool_rx_flow_spec *fsp) otx2_is_flow_rule_dmacfilter() argument
1086 struct ethtool_rx_flow_spec *fsp = &nfc->fs; otx2_add_flow() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3235 * @fsp: pointer to rx flow specification
3252 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data() argument
3261 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3264 value = be64_to_cpu(*((__be64 *)fsp->h_ext.data)); in i40e_parse_rx_flow_user_data()
3265 mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); in i40e_parse_rx_flow_user_data()
3286 * @fsp: pointer to rx_flow specification
3292 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data() argument
3304 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3306 *((__be64 *)fsp->h_ext.data) = cpu_to_be64(value); in i40e_fill_rx_flow_user_data()
3307 *((__be64 *)fsp in i40e_fill_rx_flow_user_data()
3359 struct ethtool_rx_flow_spec *fsp = i40e_get_ethtool_fdir_entry() local
3868 struct ethtool_rx_flow_spec *fsp = i40e_del_fdir_entry() local
4135 i40e_flow_str(struct ethtool_rx_flow_spec *fsp) i40e_flow_str() argument
4285 i40e_check_fdir_input_set(struct i40e_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct i40e_rx_flow_userdef *userdef) i40e_check_fdir_input_set() argument
4792 struct ethtool_rx_flow_spec *fsp; i40e_add_fdir_ethtool() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c421 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local
425 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule()
430 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule()
433 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule()
439 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); in enic_grxclsrule()
440 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule()
442 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule()
443 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()
445 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule()
446 fsp in enic_grxclsrule()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c414 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local
418 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule()
423 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule()
426 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule()
432 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); in enic_grxclsrule()
433 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule()
435 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule()
436 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()
438 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule()
439 fsp in enic_grxclsrule()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c940 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() local
947 rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_get_nfc_rule()
951 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule()
952 fsp->ring_cookie = rule->action; in igc_ethtool_get_nfc_rule()
955 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule()
956 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule()
960 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
961 fsp->h_ext.vlan_tci = htons(rule->filter.vlan_tci); in igc_ethtool_get_nfc_rule()
962 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igc_ethtool_get_nfc_rule()
966 ether_addr_copy(fsp in igc_ethtool_get_nfc_rule()
1181 igc_ethtool_init_nfc_rule(struct igc_nfc_rule *rule, const struct ethtool_rx_flow_spec *fsp) igc_ethtool_init_nfc_rule() argument
1263 struct ethtool_rx_flow_spec *fsp = igc_ethtool_add_nfc_rule() local
1326 struct ethtool_rx_flow_spec *fsp = igc_ethtool_del_nfc_rule() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2515 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local
2525 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2529 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2537 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2540 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2543 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2546 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry()
2547 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2548 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2549 fsp in ixgbe_get_ethtool_fdir_entry()
2743 ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, u8 *flow_type) ixgbe_flowspec_to_flow_type() argument
2787 struct ethtool_rx_flow_spec *fsp = ixgbe_add_ethtool_fdir_entry() local
2917 struct ethtool_rx_flow_spec *fsp = ixgbe_del_ethtool_fdir_entry() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2537 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local
2547 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2551 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2559 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2562 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2565 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2568 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry()
2569 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2570 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2571 fsp in ixgbe_get_ethtool_fdir_entry()
2765 ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, u8 *flow_type) ixgbe_flowspec_to_flow_type() argument
2809 struct ethtool_rx_flow_spec *fsp = ixgbe_add_ethtool_fdir_entry() local
2939 struct ethtool_rx_flow_spec *fsp = ixgbe_del_ethtool_fdir_entry() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3131 * @fsp: pointer to rx flow specification
3148 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data() argument
3157 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3160 value = be64_to_cpu(*((__be64 *)fsp->h_ext.data)); in i40e_parse_rx_flow_user_data()
3161 mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); in i40e_parse_rx_flow_user_data()
3182 * @fsp: pointer to rx_flow specification
3188 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data() argument
3200 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3202 *((__be64 *)fsp->h_ext.data) = cpu_to_be64(value); in i40e_fill_rx_flow_user_data()
3203 *((__be64 *)fsp in i40e_fill_rx_flow_user_data()
3255 struct ethtool_rx_flow_spec *fsp = i40e_get_ethtool_fdir_entry() local
3713 struct ethtool_rx_flow_spec *fsp = i40e_del_fdir_entry() local
3980 i40e_flow_str(struct ethtool_rx_flow_spec *fsp) i40e_flow_str() argument
4122 i40e_check_fdir_input_set(struct i40e_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct i40e_rx_flow_userdef *userdef) i40e_check_fdir_input_set() argument
4510 struct ethtool_rx_flow_spec *fsp; i40e_add_fdir_ethtool() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1329 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry() local
1343 fsp->location); in qede_get_cls_rule_entry()
1346 fsp->location); in qede_get_cls_rule_entry()
1353 fsp->flow_type = TCP_V4_FLOW; in qede_get_cls_rule_entry()
1355 fsp->flow_type = UDP_V4_FLOW; in qede_get_cls_rule_entry()
1357 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1358 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1359 fsp->h_u.tcp_ip4_spec.ip4src = fltr->tuple.src_ipv4; in qede_get_cls_rule_entry()
1360 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry()
1363 fsp in qede_get_cls_rule_entry()
2026 struct ethtool_rx_flow_spec *fsp = &info->fs; qede_add_cls_rule() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dprobe-finder.c755 struct find_scope_param *fsp = data; in find_best_scope_cb() local
760 if (fsp->file) { in find_best_scope_cb()
762 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
766 if (fsp->function) { in find_best_scope_cb()
767 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb()
768 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
769 fsp->found = true; in find_best_scope_cb()
775 if (lno < fsp->line && fsp->diff > fsp in find_best_scope_cb()
788 struct find_scope_param *fsp = data; find_inner_scope_cb() local
798 struct find_scope_param fsp = { find_best_scope() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1320 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry() local
1334 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()
1348 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1349 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1350 fsp->h_u.tcp_ip4_spec.ip4src = fltr->tuple.src_ipv4; in qede_get_cls_rule_entry()
1351 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry()
1354 fsp in qede_get_cls_rule_entry()
2017 struct ethtool_rx_flow_spec *fsp = &info->fs; qede_add_cls_rule() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dprobe-finder.c760 struct find_scope_param *fsp = data; in find_best_scope_cb() local
765 if (fsp->file) { in find_best_scope_cb()
767 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
771 if (fsp->function) { in find_best_scope_cb()
772 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb()
773 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
774 fsp->found = true; in find_best_scope_cb()
780 if (lno < fsp->line && fsp->diff > fsp in find_best_scope_cb()
793 struct find_scope_param *fsp = data; find_inner_scope_cb() local
803 struct find_scope_param fsp = { find_best_scope() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2450 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry() local
2457 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2461 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2465 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry()
2466 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry()
2468 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry()
2469 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry()
2472 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2473 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; in igb_get_ethtool_nfc_entry()
2474 fsp in igb_get_ethtool_nfc_entry()
2913 struct ethtool_rx_flow_spec *fsp = igb_add_ethtool_nfc_entry() local
3009 struct ethtool_rx_flow_spec *fsp = igb_del_ethtool_nfc_entry() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2441 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry() local
2448 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2452 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2456 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry()
2457 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry()
2459 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry()
2460 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry()
2463 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2464 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; in igb_get_ethtool_nfc_entry()
2465 fsp in igb_get_ethtool_nfc_entry()
2904 struct ethtool_rx_flow_spec *fsp = igb_add_ethtool_nfc_entry() local
3000 struct ethtool_rx_flow_spec *fsp = igb_del_ethtool_nfc_entry() local
[all...]
/kernel/linux/linux-6.6/include/scsi/
H A Dlibfc.h355 * @fsp should be tested and set under the scsi_pkt_queue lock
358 struct fc_fcp_pkt *fsp; member
554 * Send a fcp cmd from fsp pkt.
887 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) in fc_fcp_is_read() argument
889 if (fsp && fsp->cmd) in fc_fcp_is_read()
890 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE; in fc_fcp_is_read()

Completed in 45 milliseconds

12