#
711a06e8 |
| 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add datapath init for VF device
Add support for datapath init, including RX and TX unit init.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com>
|
#
3eba2f28 |
| 04-Nov-2024 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: add Tx descriptor error statistics
Count the number of packets not sent due to Tx descriptor error.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
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 ...
|
#
fea7422f |
| 18-Jun-2024 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: fix memory leaks
Fix some memory leaks caused by not release resource in time.
Fixes: 43b7e5ea60ac ("net/ngbe: support Rx queue setup/release") Fixes: a58e7c312c6b ("net/ngbe: support Tx
net/ngbe: fix memory leaks
Fix some memory leaks caused by not release resource in time.
Fixes: 43b7e5ea60ac ("net/ngbe: support Rx queue setup/release") Fixes: a58e7c312c6b ("net/ngbe: support Tx queue setup/release") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
5f1ab0d5 |
| 18-Jun-2024 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: add WOL and NCSI capability
Support WOL and NCSI capability for devices. And there is one OEM NCSI NIC which can not be identified from sub-system ID, it needs to check NCSI pin status in
net/ngbe: add WOL and NCSI capability
Support WOL and NCSI capability for devices. And there is one OEM NCSI NIC which can not be identified from sub-system ID, it needs to check NCSI pin status in firmware.
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 ...
|
#
27595cd8 |
| 15-Apr-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
drivers: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment
drivers: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for both C and C++. Additionally, it avoids confusion by Doxygen when generating documentation.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
a74c5001 |
| 01-Nov-2023 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: add proper memory barriers in Rx
Refer to commit 85e46c532bc7 ("net/ixgbe: add proper memory barriers in Rx"). Fix the same issue as ixgbe.
Although due to the testing schedule, the curre
net/ngbe: add proper memory barriers in Rx
Refer to commit 85e46c532bc7 ("net/ixgbe: add proper memory barriers in Rx"). Fix the same issue as ixgbe.
Although due to the testing schedule, the current test has not found this problem. We also do the same fix in ngbe, to ensure the read ordering be correct.
Fixes: 79f3128d4d98 ("net/ngbe: support scattered Rx") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
9179018e |
| 08-Sep-2023 |
Jie Hai <haijie1@huawei.com> |
net/ngbe: fix Rx and Tx queue state
The DPDK framework reports the queue state, which is stored in dev->data->tx_queue_state and dev->data->rx_queue_state. The state is maintained by the driver. Use
net/ngbe: fix Rx and Tx queue state
The DPDK framework reports the queue state, which is stored in dev->data->tx_queue_state and dev->data->rx_queue_state. The state is maintained by the driver. Users may determine whether a queue participates in packet forwarding based on the state. Therefore, the driver needs to modify the queue state in time according to the actual situation.
Fixes: 9ad9ff476cac ("ethdev: add queue state in queried queue information") Cc: stable@dpdk.org
Signed-off-by: Jie Hai <haijie1@huawei.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
4fbb5f20 |
| 20-Jul-2023 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: fix RSS offload capability
Fix missed RTE_ETH_RX_OFFLOAD_RSS_HASH flag in ngbe_get_rx_port_offloads().
Fixes: 0779d7f61991 ("net/ngbe: support RSS hash") Cc: stable@dpdk.org
Signed-off-b
net/ngbe: fix RSS offload capability
Fix missed RTE_ETH_RX_OFFLOAD_RSS_HASH flag in ngbe_get_rx_port_offloads().
Fixes: 0779d7f61991 ("net/ngbe: support RSS hash") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
fa402b1e |
| 02-Feb-2023 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: fix packet type to parse from offload flags
Context descriptors which contains the length of each packet layer and the packet type are needed when Tx checksum offload or TSO is on. If the
net/ngbe: fix packet type to parse from offload flags
Context descriptors which contains the length of each packet layer and the packet type are needed when Tx checksum offload or TSO is on. If the packet type and length do not strictly match, it will cause Tx ring hang.
In some external applications, developers may fill in wrong packet_type in rte_mbuf for Tx path. For example, they encap/decap the packets but did not refill the packet_type. To prevent this, change it to parse from ol_flags.
And remove redundant tunnel type since the NIC does not support it.
Fixes: 9f3206140274 ("net/ngbe: support TSO") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
60ad04e2 |
| 28-Sep-2022 |
Gagandeep Singh <g.singh@nxp.com> |
net/ngbe: use renamed IEEE 1588 offload flags
Flags for IEEE1588 with ``PKT_*`` prefix has been changed to ``RTE_MBUF_F_*``. So in this patch updating the old flags.
Fixes: b9b509246da2 ("mbuf: rem
net/ngbe: use renamed IEEE 1588 offload flags
Flags for IEEE1588 with ``PKT_*`` prefix has been changed to ``RTE_MBUF_F_*``. So in this patch updating the old flags.
Fixes: b9b509246da2 ("mbuf: remove deprecated offload flags")
Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@xilinx.com> Tested-by: Yu Jiang <yux.jiang@intel.com>
show more ...
|
#
25cf2630 |
| 17-Nov-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
net: add macro for VLAN header length
Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated drivers to use the new mac
net: add macro for VLAN header length
Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated drivers to use the new macro.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
d0759b50 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support Tx done cleanup
Add support for API rte_eth_tx_done_cleanup().
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
b7aad633 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support Rx and Tx descriptor status
Supports to get the number of used Rx descriptors, and check the status of Rx and Tx descriptors.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
eec3e736 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support Rx and Tx queue info
Add Rx and Tx queue information get operation.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
24cd85f7 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support timesync
Add to support IEEE1588/802.1AS timestamping, and IEEE1588 timestamp offload on Tx.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
60229dcf |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support SR-IOV
Initialize and configure PF module to support SRIOV.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
0779d7f6 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support RSS hash
Support RSS hashing on Rx, and configuration of RSS hash computation.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
d4a3fe69 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support loopback mode
Support loopback operation mode.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
59b46438 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support VLAN offload and VLAN filter
Support to set VLAN and QinQ offload, and filter of a VLAN tag identifier.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
586e6028 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support jumbo frame
Add to support Rx jumbo frames.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
64b36e4a |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support CRC offload
Support to strip or keep CRC in Rx path.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
d148a87e |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support Rx/Tx burst mode info
Support to get Rx/Tx burst mode info.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
9f320614 |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support TSO
Add transmit datapath with offloads, and support TCP segmentation offload.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|