* [dpdk-dev] [PATCH 1/2] net/iavf: fix build error
@ 2021-10-29 11:14 Radu Nicolau
2021-10-29 11:14 ` [dpdk-dev] [PATCH 2/2] " Radu Nicolau
2021-10-29 13:19 ` [dpdk-dev] [PATCH 1/2] " Ferruh Yigit
0 siblings, 2 replies; 4+ messages in thread
From: Radu Nicolau @ 2021-10-29 11:14 UTC (permalink / raw)
To: Jingjing Wu, Beilei Xing; +Cc: dev, qi.z.zhang, ferruh.yigit, Radu Nicolau
Fix clang build error, remove unused function
Fixes: f12d8bf150f5 ("net/iavf: rework Tx path")
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
drivers/net/iavf/iavf_rxtx.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index c782cacc6e..bef2891835 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -2396,13 +2396,6 @@ iavf_build_data_desc_cmd_offset_fields(volatile uint64_t *qw1,
((uint64_t)l2tag1 << IAVF_TXD_DATA_QW1_L2TAG1_SHIFT));
}
-static inline void
-iavf_fill_data_desc_buffer_sz_field(volatile uint64_t *field, uint16_t value)
-{
- *field |= (((uint64_t)value << IAVF_TXD_DATA_QW1_TX_BUF_SZ_SHIFT) &
- IAVF_TXD_DATA_QW1_TX_BUF_SZ_MASK);
- }
-
static inline void
iavf_fill_data_desc(volatile struct iavf_tx_desc *desc,
struct rte_mbuf *m, uint64_t desc_template,
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dpdk-dev] [PATCH 2/2] net/iavf: fix build error
2021-10-29 11:14 [dpdk-dev] [PATCH 1/2] net/iavf: fix build error Radu Nicolau
@ 2021-10-29 11:14 ` Radu Nicolau
2021-10-29 13:19 ` Ferruh Yigit
2021-10-29 13:19 ` [dpdk-dev] [PATCH 1/2] " Ferruh Yigit
1 sibling, 1 reply; 4+ messages in thread
From: Radu Nicolau @ 2021-10-29 11:14 UTC (permalink / raw)
To: Jingjing Wu, Beilei Xing; +Cc: dev, qi.z.zhang, ferruh.yigit, Radu Nicolau
Fix build error and wrong parameter used for function call
Fixes: 7dd3f3e43732 ("net/iavf: add iAVF IPsec inline crypto support")
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
drivers/net/iavf/iavf_ipsec_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c
index a8022f8ed7..19e703e689 100644
--- a/drivers/net/iavf/iavf_ipsec_crypto.c
+++ b/drivers/net/iavf/iavf_ipsec_crypto.c
@@ -613,7 +613,7 @@ set_session_parameter(struct iavf_security_ctx *iavf_sctx,
} else if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_AUTH) {
if (conf->crypto_xform->auth.algo == RTE_CRYPTO_AUTH_AES_GMAC) {
sess->block_sz = get_auth_blocksize(iavf_sctx,
- (enum rte_crypto_auth_algorithm)RTE_CRYPTO_SYM_XFORM_AUTH);
+ conf->crypto_xform->auth.algo);
sess->iv_sz = conf->crypto_xform->auth.iv.length;
sess->icv_sz = conf->crypto_xform->auth.digest_length;
} else {
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH 2/2] net/iavf: fix build error
2021-10-29 11:14 ` [dpdk-dev] [PATCH 2/2] " Radu Nicolau
@ 2021-10-29 13:19 ` Ferruh Yigit
0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2021-10-29 13:19 UTC (permalink / raw)
To: Radu Nicolau, Jingjing Wu, Beilei Xing; +Cc: dev, qi.z.zhang
On 10/29/2021 12:14 PM, Radu Nicolau wrote:
> Fix build error and wrong parameter used for function call
> Fixes: 7dd3f3e43732 ("net/iavf: add iAVF IPsec inline crypto support")
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Squashed into relevant commit in next-net, thanks.
net/iavf: support IPsec inline crypto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH 1/2] net/iavf: fix build error
2021-10-29 11:14 [dpdk-dev] [PATCH 1/2] net/iavf: fix build error Radu Nicolau
2021-10-29 11:14 ` [dpdk-dev] [PATCH 2/2] " Radu Nicolau
@ 2021-10-29 13:19 ` Ferruh Yigit
1 sibling, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2021-10-29 13:19 UTC (permalink / raw)
To: Radu Nicolau, Jingjing Wu, Beilei Xing; +Cc: dev, qi.z.zhang
On 10/29/2021 12:14 PM, Radu Nicolau wrote:
> Fix clang build error, remove unused function
> Fixes: f12d8bf150f5 ("net/iavf: rework Tx path")
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Squashed into relevant commit in next-net, thanks.
net/iavf: rework Tx path
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-29 13:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 11:14 [dpdk-dev] [PATCH 1/2] net/iavf: fix build error Radu Nicolau
2021-10-29 11:14 ` [dpdk-dev] [PATCH 2/2] " Radu Nicolau
2021-10-29 13:19 ` Ferruh Yigit
2021-10-29 13:19 ` [dpdk-dev] [PATCH 1/2] " Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).