Searched refs:sa_idx (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 266 u16 sa_idx; in ixgbevf_ipsec_add_sa() local 297 sa_idx = (u16)ret; in ixgbevf_ipsec_add_sa() 333 memcpy(&ipsec->rx_tbl[sa_idx], &rsa, sizeof(rsa)); in ixgbevf_ipsec_add_sa() 335 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbevf_ipsec_add_sa() 340 hash_add_rcu(ipsec->rx_sa_list, &ipsec->rx_tbl[sa_idx].hlist, in ixgbevf_ipsec_add_sa() 351 sa_idx = (u16)ret; in ixgbevf_ipsec_add_sa() 373 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbevf_ipsec_add_sa() 375 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_add_sa() 392 u16 sa_idx; in ixgbevf_ipsec_del_sa() local 398 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; in ixgbevf_ipsec_del_sa() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 568 u16 sa_idx; in ixgbe_ipsec_add_sa() local 602 sa_idx = (u16)ret; in ixgbe_ipsec_add_sa() 688 memcpy(&ipsec->rx_tbl[sa_idx], &rsa, sizeof(rsa)); in ixgbe_ipsec_add_sa() 690 ixgbe_ipsec_set_rx_sa(hw, sa_idx, rsa.xs->id.spi, rsa.key, in ixgbe_ipsec_add_sa() 692 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_add_sa() 697 hash_add_rcu(ipsec->rx_sa_list, &ipsec->rx_tbl[sa_idx].hlist, in ixgbe_ipsec_add_sa() 712 sa_idx = (u16)ret; in ixgbe_ipsec_add_sa() 729 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbe_ipsec_add_sa() 731 ixgbe_ipsec_set_tx_sa(hw, sa_idx, tsa.key, tsa.salt); in ixgbe_ipsec_add_sa() 733 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_add_sa() [all …]
|
D | ixgbe_ipsec.h | 63 u16 sa_idx; member
|
D | ixgbe_main.c | 8044 fceof_saidx |= itd->sa_idx; in ixgbe_tso() 8114 fceof_saidx |= itd->sa_idx; in ixgbe_tx_csum()
|
/drivers/net/netdevsim/ |
D | ipsec.c | 134 u16 sa_idx; in nsim_ipsec_add_sa() local 158 sa_idx = (u16)ret; in nsim_ipsec_add_sa() 184 memcpy(&ipsec->sa[sa_idx], &sa, sizeof(sa)); in nsim_ipsec_add_sa() 189 xs->xso.offload_handle = sa_idx | NSIM_IPSEC_VALID; in nsim_ipsec_add_sa() 199 u16 sa_idx; in nsim_ipsec_del_sa() local 201 sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; in nsim_ipsec_del_sa() 202 if (!ipsec->sa[sa_idx].used) { in nsim_ipsec_del_sa() 204 sa_idx); in nsim_ipsec_del_sa() 208 memset(&ipsec->sa[sa_idx], 0, sizeof(struct nsim_sa)); in nsim_ipsec_del_sa() 234 u32 sa_idx; in nsim_ipsec_tx() local [all …]
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 192 static int aq_get_rxsa_stats(struct aq_hw_s *hw, const int sa_idx, in aq_get_rxsa_stats() argument 198 ret = aq_mss_get_ingress_sa_counters(hw, &i_sa_counters, sa_idx); in aq_get_rxsa_stats() 222 static int aq_get_txsa_stats(struct aq_hw_s *hw, const int sa_idx, in aq_get_txsa_stats() argument 228 ret = aq_mss_get_egress_sa_counters(hw, &e_sa_counters, sa_idx); in aq_get_txsa_stats() 244 static int aq_get_txsa_next_pn(struct aq_hw_s *hw, const int sa_idx, u32 *pn) in aq_get_txsa_next_pn() argument 249 ret = aq_mss_get_egress_sa_record(hw, &sa_rec, sa_idx); in aq_get_txsa_next_pn() 256 static int aq_get_rxsa_next_pn(struct aq_hw_s *hw, const int sa_idx, u32 *pn) in aq_get_rxsa_next_pn() argument 261 ret = aq_mss_get_ingress_sa_record(hw, &sa_rec, sa_idx); in aq_get_rxsa_next_pn() 564 const unsigned int sa_idx = sc_idx | an; in aq_update_txsa() local 574 ret = aq_mss_set_egress_sa_record(hw, &sa_rec, sa_idx); in aq_update_txsa() [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | rx_desc.h | 912 __le16 sa_idx; member
|
/drivers/crypto/ |
D | hifn_795x.c | 1117 int cmd_len, sa_idx; in hifn_setup_cmd_desc() local 1121 sa_idx = dma->cmdi; in hifn_setup_cmd_desc() 1205 dev->sa[sa_idx] = priv; in hifn_setup_cmd_desc()
|