#
552979df |
| 24-Jan-2025 |
Bruce Richardson <bruce.richardson@intel.com> |
net/intel: create common Tx queue mbuf cleanup
The function to loop over the Tx queue and clean up all the mbufs on it, e.g. for queue shutdown, is not device specific and so can move into the commo
net/intel: create common Tx queue mbuf cleanup
The function to loop over the Tx queue and clean up all the mbufs on it, e.g. for queue shutdown, is not device specific and so can move into the common/intel headers. Only complication is ensuring that the correct ring format, either minimal vector or full structure, is used. Ice driver currently uses two functions and a function pointer to help with this - though actually one of those functions uses a further check inside it - so we can simplify this down to just one common function, with a flag set in the appropriate place. This avoids checking for AVX-512-specific functions, which were the only function using the smaller struct in this driver.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Praveen Shetty <praveen.shetty@intel.com>
show more ...
|
#
c038157a |
| 24-Jan-2025 |
Bruce Richardson <bruce.richardson@intel.com> |
net/intel: merge ice and i40e Tx queue struct
The queue structures of i40e and ice drivers are virtually identical, so merge them into a common struct. This should allow easier function merging in f
net/intel: merge ice and i40e Tx queue struct
The queue structures of i40e and ice drivers are virtually identical, so merge them into a common struct. This should allow easier function merging in future using that common struct.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Praveen Shetty <praveen.shetty@intel.com>
show more ...
|
#
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 ...
|