c1d14583 | 24-Jan-2025 |
Bruce Richardson <bruce.richardson@intel.com> |
net/intel: move Intel drivers to a subdirectory
Consolidate all Intel HW NIC drivers into a drivers/net/intel directory. This matches the layout used for drivers in the kernel, and potentially enabl
net/intel: move Intel drivers to a subdirectory
Consolidate all Intel HW NIC drivers into a drivers/net/intel directory. This matches the layout used for drivers in the kernel, and potentially enables easier sharing among drivers.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Praveen Shetty <praveen.shetty@intel.com>
show more ...
|
186f8e8c | 24-Jan-2025 |
Jesna K E <jesna.k.e@amd.com> |
net/axgbe: support TSO
Added TSO (Transmit Segmentation offload) support for axgbe PMD.
Signed-off-by: Jesna K E <jesna.k.e@amd.com> |
d3bc77ab | 20-Jan-2025 |
Tudor Cornea <tudor.cornea@gmail.com> |
net/af_packet: allow changing fanout mode
This allows us to control the algorithm used to spread traffic between sockets, adding more fine grained control. If the user does not specify a fanout mode
net/af_packet: allow changing fanout mode
This allows us to control the algorithm used to spread traffic between sockets, adding more fine grained control. If the user does not specify a fanout mode, the PMD driver will default to PACKET_FANOUT_HASH.
Signed-off-by: Tudor Cornea <tudor.cornea@gmail.com>
show more ...
|
551b556c | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add some ops to VF shared with PF
Some RXTX operations like queue setup and release, packet type get, and Tx done cleanup have been supported on PF device. There are ops functions directly
net/ngbe: add some ops to VF shared with PF
Some RXTX operations like queue setup and release, packet type get, and Tx done cleanup have been supported on PF device. There are ops functions directly added.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com>
show more ...
|
54670a16 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: support registers dump for VF device
Add support to dump registers for VF device. Currently we only support a small number of registers. More registers will be added as needed.
Signed-off
net/ngbe: support registers dump for VF device
Add support to dump registers for VF device. Currently we only support a small number of registers. More registers will be added as needed.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com>
show more ...
|
e0c29b2f | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add multicast MAC filter ops for VF device
Add support to update multicast MAC filter.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
1d13283a | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add stats for VF device
Add support to get stats and extended stats by reading hardware registers.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
62c072c0 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add link update ops for VF device
Add support to check link feature for VF device, including link speed, duplex mode and link state.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
fda42583 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: support interrupt for VF device
Add VF device interrupt handler, support to enable and disable RX queue interrupt, and configure misx interrupt.
Signed-off-by: Zaiyu Wang <zaiyuwang@trust
net/ngbe: support interrupt for VF device
Add VF device interrupt handler, support to enable and disable RX queue interrupt, and configure misx interrupt.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com>
show more ...
|
f47dc03c | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add VLAN ops for VF device
Add support for VLAN filter, offload and strip set feature.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
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> |
2aba42f6 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add MAC address ops for VF device
Generate a random MAC address if none was assigned by PF during the initialization of VF device. And support to add and remove MAC address.
Signed-off-by
net/ngbe: add MAC address ops for VF device
Generate a random MAC address if none was assigned by PF during the initialization of VF device. And support to add and remove MAC address.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com>
show more ...
|
77102375 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add MTU ops for VF device
Support to update MTU for VF device.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
7744e908 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add promiscuous and allmulticast ops for VF device
Support to enable and disable promiscuous and allmulticast mode on VF device.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
66070ca4 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add hardware configuration for VF device
Add basic hardware configure flow and device information statement.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com> |
950820f1 | 20-Jan-2025 |
Zaiyu Wang <zaiyuwang@trustnetic.com> |
net/ngbe: add probe and remove for VF device
Introduce virtual function driver in ngbe PMD, add simple init and uninit function to probe and remove the device.
Signed-off-by: Zaiyu Wang <zaiyuwang@
net/ngbe: add probe and remove for VF device
Introduce virtual function driver in ngbe PMD, add simple init and uninit function to probe and remove the device.
Signed-off-by: Zaiyu Wang <zaiyuwang@trustnetic.com>
show more ...
|
e7750639 | 10-Jan-2025 |
Andre Muezerie <andremue@linux.microsoft.com> |
drivers: replace packed attributes
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro
drivers: replace packed attributes
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro __rte_packed_end to restore the pack value prior to the push.
Macro __rte_packed_end is deliberately utilized to trigger a MSVC compiler warning if no existing packing has been pushed allowing easy identification of locations where the __rte_packed_begin is missing.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com> Reviewed-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
show more ...
|
4843aacb | 31-Oct-2024 |
Viacheslav Ovsiienko <viacheslavo@nvidia.com> |
doc: describe send scheduling counters in mlx5 guide
The mlx5 provides the scheduling send on time capability. To check the operating status of this feature the extended statistics counters are prov
doc: describe send scheduling counters in mlx5 guide
The mlx5 provides the scheduling send on time capability. To check the operating status of this feature the extended statistics counters are provided. This patch adds the counter descriptions and provides some meaningful information how to interpret the counter values in runtime.
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
show more ...
|
71eae7fe | 11-Oct-2024 |
Stephen Hemminger <stephen@networkplumber.org> |
doc: correct definition of stats per queue feature
Change the documentation to match current usage of this feature in the NIC table. Moved this sub heading to be after basic stats because the queue
doc: correct definition of stats per queue feature
Change the documentation to match current usage of this feature in the NIC table. Moved this sub heading to be after basic stats because the queue stats reported now are in the same structure.
Although the "Stats per Queue" feature was originally intended to be related to stats mapping, the overwhelming majority of drivers report this feature with a different meaning.
Hopefully in later release the per-queue stats limitations can be fixed, but this requires and API, ABI, and lots of driver changes.
Fixes: dad1ec72a377 ("doc: document NIC features") Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
ae52bdf2 | 25-Nov-2024 |
Hailin Xu <hailinx.xu@intel.com> |
doc: update recommended versions for ice
Update the lists of recommended versions of firmware and DDP for use with the DPDK release.
Signed-off-by: Hailin Xu <hailinx.xu@intel.com> |
0fdf973c | 25-Nov-2024 |
Hailin Xu <hailinx.xu@intel.com> |
doc: update recommended versions for i40e
Update the lists of recommended versions of firmware and DDP for use with the DPDK release.
Signed-off-by: Hailin Xu <hailinx.xu@intel.com> |
c07dbef7 | 06-Nov-2024 |
Suanming Mou <suanmingm@nvidia.com> |
doc: update mlx5 limitations for match with compare item
In switch mode with enabled "repr_matching_en" devarg flag, the match with compare result item is not supported for "ingress" rules. This is
doc: update mlx5 limitations for match with compare item
In switch mode with enabled "repr_matching_en" devarg flag, the match with compare result item is not supported for "ingress" rules. This is due to an implicit "REPRESENTED_PORT" being added to the matcher, which conflicts with the single item limitation for match with compare result item.
Update the documentation to reflect this limitation in the MLX5 driver guide.
Fixes: cb25df7ce9d6 ("net/mlx5: support comparison matching") Cc: stable@dpdk.org
Signed-off-by: Suanming Mou <suanmingm@nvidia.com> Acked-by: Bing Zhao <bingz@nvidia.com>
show more ...
|
82caf3da | 28-Oct-2024 |
Viacheslav Ovsiienko <viacheslavo@nvidia.com> |
doc: clarify PCI Virtual Function MTU behavior in mlx5
The mlx5 NIC has a limitation regarding MTU configuration for PCI Virtual Functions (VFs), setting the MTU on a VF has no effect on the actual
doc: clarify PCI Virtual Function MTU behavior in mlx5
The mlx5 NIC has a limitation regarding MTU configuration for PCI Virtual Functions (VFs), setting the MTU on a VF has no effect on the actual maximum packet size that can be received. Instead, the maximum receivable packet size for a VF is determined by the MTU configured on its associated Physical Function (PF).
DPDK applications using VFs should be prepared to handle packets up to the size of the PF's configured MTU, regardless of any MTU settings applied to the VF itself.
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
show more ...
|
c0e29968 | 30-Oct-2024 |
Dariusz Sosnowski <dsosnowski@nvidia.com> |
net/mlx5: fix counter query loop getting stuck
Counter service thread, responsible for refreshing counter values stored in host memory, is running an "infinite loop" with the following logic:
- For
net/mlx5: fix counter query loop getting stuck
Counter service thread, responsible for refreshing counter values stored in host memory, is running an "infinite loop" with the following logic:
- For each port: - Refresh port's counter pool - call to __mlx5_hws_cnt_svc(). - Perform aging checks. - Go to sleep if time left in current cycle. - Repeat.
__mlx5_hws_cnt_svc() used to perform counter value refresh implemented the following logic:
1. Store number of counters waiting for reset. 2. Issue ASO WQEs to refresh all counters values. 3. Move counters from reset to reuse list. Number of moved counters is limited by number stored in step 1 or step 4. 4. Store number of counters waiting for reset. 5. If number of counters waiting for reset > 0, go to step 2.
Now, if an application constantly creates/destroys flow rules with counters and even a single counter is added to reset list during step 2, counter service thread might end up issuing ASO WQEs endlessly, without going to sleep and respecting the configured cycle time.
This patch fixes that by remove the loop inside __mlx5_hws_cnt_svc().
As a drawback of this fix, the application must allocate enough counters to accommodate for the cycle time. This number if roughly equal to the expected counter release rate.
This patch also:
- Ensures that proper counter related error code is returned, when flow rule create failed due to counter allocation problem. - Adds debug logging to counter service thread. - Adds documentation for counter service thread.
Fixes: 4d368e1da3a4 ("net/mlx5: support flow counter action for HWS") Cc: stable@dpdk.org
Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
b2e17252 | 13-Nov-2024 |
Howard Wang <howard_wang@realsil.com.cn> |
net/r8169: support getting FW version
Signed-off-by: Howard Wang <howard_wang@realsil.com.cn> Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com> |