Lines Matching refs:tx_tbl
320 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbe_ipsec_restore()
374 if (!ipsec->tx_tbl[i].used) in ixgbe_ipsec_find_empty_idx()
729 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbe_ipsec_add_sa()
796 if (!ipsec->tx_tbl[sa_idx].used) { in ixgbe_ipsec_del_sa()
803 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbe_ipsec_del_sa()
864 if (!ipsec->tx_tbl[i].used) in ixgbe_ipsec_vf_clear()
866 if (ipsec->tx_tbl[i].mode & IXGBE_RXTXMOD_VF && in ixgbe_ipsec_vf_clear()
867 ipsec->tx_tbl[i].vf == vf) in ixgbe_ipsec_vf_clear()
868 ixgbe_ipsec_del_sa(ipsec->tx_tbl[i].xs); in ixgbe_ipsec_vf_clear()
959 ipsec->tx_tbl[sa_idx].vf = vf; in ixgbe_ipsec_vf_add_sa()
960 ipsec->tx_tbl[sa_idx].mode |= IXGBE_RXTXMOD_VF; in ixgbe_ipsec_vf_add_sa()
1038 tsa = &ipsec->tx_tbl[sa_idx]; in ixgbe_ipsec_vf_del_sa()
1049 xs = ipsec->tx_tbl[sa_idx].xs; in ixgbe_ipsec_vf_del_sa()
1097 tsa = &ipsec->tx_tbl[itd->sa_idx]; in ixgbe_ipsec_tx()
1257 ipsec->tx_tbl = kzalloc(size, GFP_KERNEL); in ixgbe_init_ipsec_offload()
1258 if (!ipsec->tx_tbl) in ixgbe_init_ipsec_offload()
1280 kfree(ipsec->tx_tbl); in ixgbe_init_ipsec_offload()
1298 kfree(ipsec->tx_tbl); in ixgbe_stop_ipsec_offload()