#
43fd3624 |
| 21-Jan-2025 |
Andre Muezerie <andremue@linux.microsoft.com> |
drivers: replace GCC pragma with cast
"GCC diagnostic ignored" pragmas have been commonly sprinkled over the code. Clang supports GCC's pragma for compatibility with existing source code, so #pragma
drivers: replace GCC pragma with cast
"GCC diagnostic ignored" pragmas have been commonly sprinkled over the code. Clang supports GCC's pragma for compatibility with existing source code, so #pragma GCC diagnostic and #pragma clang diagnostic are synonyms for Clang (https://clang.llvm.org/docs/UsersManual.html).
Now that effort is being made to make the code compatible with MSVC these expressions would become more complex. It makes sense to hide this complexity behind macros. This makes maintenance easier as these macros are defined in a single place. As a plus the code becomes more readable as well.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
8d75bf03 |
| 04-Nov-2024 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: check length of Tx packets
Add checking of the Tx packet length to avoid TDM fatal error as far as possible. Set the pkt_len=1518 for invalid packet in simple Tx code path, and drop it dir
net/ngbe: check length of Tx packets
Add checking of the Tx packet length to avoid TDM fatal error as far as possible. Set the pkt_len=1518 for invalid packet in simple Tx code path, and drop it directly in featured Tx code path. Although the hardware does not support TDM desc check.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
e94c20c3 |
| 19-Apr-2024 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: add SSE/NEON vectorized Rx/Tx
To optimize Rx/Tx burst process, add SSE/NEON vector instructions on x86/arm architecture.
The performance test results on Phytium D2000(ARM64) show that, th
net/ngbe: add SSE/NEON vectorized Rx/Tx
To optimize Rx/Tx burst process, add SSE/NEON vector instructions on x86/arm architecture.
The performance test results on Phytium D2000(ARM64) show that, throughput for 128-byte packets increased from 76.797% to 94.375%.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|