diff --git a/0057-refactor-pkt-read-send-performance.patch b/0057-refactor-pkt-read-send-performance.patch index 9c686e0..8f9b965 100644 --- a/0057-refactor-pkt-read-send-performance.patch +++ b/0057-refactor-pkt-read-send-performance.patch @@ -121,7 +121,7 @@ index 595e85f..4a7bd37 100644 + } + + -+ __rte_ring_enqueue_elems(r, head, obj_table, sizeof(void *), n); ++ ENQUEUE_PTRS(r, &r[1], head, obj_table, n, void *); + + __atomic_store_n(&r->cons.head, head + n, __ATOMIC_RELEASE); + @@ -142,7 +142,7 @@ index 595e85f..4a7bd37 100644 + } + + -+ __rte_ring_dequeue_elems(r, cons, obj_table, sizeof(void *), n); ++ DEQUEUE_PTRS(r, &r[1], cons, obj_table, n, void *); + + __atomic_store_n(&r->cons.tail, cons + n, __ATOMIC_RELEASE); + @@ -162,7 +162,7 @@ index 595e85f..4a7bd37 100644 + return 0; + } + -+ __rte_ring_dequeue_elems(r, prod, obj_table, sizeof(void *), n); ++ DEQUEUE_PTRS(r, &r[1], prod, obj_table, n, void *); + + r->prod.head = prod + n; + @@ -2765,7 +2765,7 @@ index c1d1d35..8a6aa9d 100644 + char pad __rte_cache_aligned; + struct netif netif; -+ struct eth_dev_ops *dev_ops; ++ struct lstack_eth_dev_ops *dev_ops; uint32_t rx_ring_used; uint32_t tx_ring_used; - struct lstack_eth_dev_ops *dev_ops; diff --git a/gazelle.spec b/gazelle.spec index 0d9981f..8d8ff60 100644 --- a/gazelle.spec +++ b/gazelle.spec @@ -2,7 +2,7 @@ Name: gazelle Version: 1.0.1 -Release: 12 +Release: 13 Summary: gazelle is a high performance user-mode stack License: Mulan PSL v2 URL: https://gitee.com/openeuler/gazelle @@ -113,6 +113,13 @@ install -Dpm 0640 %{_builddir}/%{name}-%{version}/src/ltran/ltran.conf %{b %config(noreplace) %{conf_path}/ltran.conf %changelog +* Fri Jul 8 2022 jiangheng - 1.0.1-13 +- Type:bugfix +- CVE: +- SUG:NA +- DESC:modify eth_dev_ops to lstack_eth_dev_ops + adapt dpdk19.11 + * Thu Jul 7 2022 jiangheng - 1.0.1-12 - Type:bugfix - CVE: