#
c8f24b8a |
| 03-May-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: rely on ethdev mapping of Tx offloads to TxQ flags
There is no necessity to fill in TxQ flags since ethdev maps Tx offloads to TxQ flags on device info get for apps which are not converted
net/sfc: rely on ethdev mapping of Tx offloads to TxQ flags
There is no necessity to fill in TxQ flags since ethdev maps Tx offloads to TxQ flags on device info get for apps which are not converted yet to Tx offloads API.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
5a1ae82d |
| 19-Apr-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add Rx descriptor wait timeout
Add device argument to customize Rx descriptor wait timeout which is supported in DPDK firmware variant only in equal stride super-buffer Rx mode only.
Signe
net/sfc: add Rx descriptor wait timeout
Add device argument to customize Rx descriptor wait timeout which is supported in DPDK firmware variant only in equal stride super-buffer Rx mode only.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
08d23c67 |
| 19-Apr-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support callback to check if mempool is supported
The callback is a dummy yet since no Rx datapath provides its own callback, so all pools are supported.
Signed-off-by: Andrew Rybchenko <a
net/sfc: support callback to check if mempool is supported
The callback is a dummy yet since no Rx datapath provides its own callback, so all pools are supported.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
390f9b8d |
| 19-Apr-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support equal stride super-buffer Rx mode
HW Rx descriptor represents many contiguous packet buffers which follow each other. Number of buffers, stride and maximum DMA length are setup-time
net/sfc: support equal stride super-buffer Rx mode
HW Rx descriptor represents many contiguous packet buffers which follow each other. Number of buffers, stride and maximum DMA length are setup-time configurable per Rx queue based on provided mempool. The mempool must support contiguous block allocation and get info API to retrieve number of objects in the block.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
01764b20 |
| 25-Apr-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: convert to the advanced EFX RSS interface
The current code has the following drawbacks: - It is assumed that TCP 4-tuple hash is always supported, which is untrue in the case of pack
net/sfc: convert to the advanced EFX RSS interface
The current code has the following drawbacks: - It is assumed that TCP 4-tuple hash is always supported, which is untrue in the case of packed stream FW variant. - The driver is unaware of UDP hash support available with latest firmware.
In order to cope with the mentioned issues, this patch implements the new approach to handle hash settings using the advanced EFX RSS interface.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
d1482e21 |
| 25-Apr-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: factor out RSS fields from adapter info
RSS handling will need more sophisticated fields in the adapter context storage in future patches. This patch groups existing fields in a dedicated s
net/sfc: factor out RSS fields from adapter info
RSS handling will need more sophisticated fields in the adapter context storage in future patches. This patch groups existing fields in a dedicated structure and updates the rest of the code.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
5e23c249 |
| 25-Apr-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: remove conditional compilation for RSS
RSS is one of the most valuable features in the driver, and one would hardly need to disable it at build time. This patch withdraws unnecessary condit
net/sfc: remove conditional compilation for RSS
RSS is one of the most valuable features in the driver, and one would hardly need to disable it at build time. This patch withdraws unnecessary conditionals for RSS snippets.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
caccf8b3 |
| 11-Apr-2018 |
Olivier Matz <olivier.matz@6wind.com> |
ethdev: return diagnostic when setting MAC address
Change the prototype and the behavior of dev_ops->eth_mac_addr_set(): a return code is added to notify the caller (librte_ether) if an error occurr
ethdev: return diagnostic when setting MAC address
Change the prototype and the behavior of dev_ops->eth_mac_addr_set(): a return code is added to notify the caller (librte_ether) if an error occurred in the PMD.
The new default MAC address is now copied in dev->data->mac_addrs[0] only if the operation is successful.
The patch also updates all the PMDs accordingly.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
show more ...
|
#
cd8c7c7c |
| 09-Apr-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: replace bus specific struct with generic dev
Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it although it is common for all ethdev in all buses.
Replacing pci specif
ethdev: replace bus specific struct with generic dev
Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it although it is common for all ethdev in all buses.
Replacing pci specific struct with generic device struct and updating places that are using pci device in a way to get this information from generic device.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Reviewed-by: David Marchand <david.marchand@6wind.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
f3129efd |
| 21-Mar-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support Medford2 family adapters
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
|
#
f82e33af |
| 21-Mar-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support link speeds up to 100G
Add 25G, 50G and 100G.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
|
#
9e7fc8b8 |
| 26-Mar-2018 |
Roman Zhukov <roman.zhukov@oktetlabs.ru> |
net/sfc: add device parameter to choose FW variant
Add support of choice the preferred firmware variant to use in device parameters.
Signed-off-by: Roman Zhukov <roman.zhukov@oktetlabs.ru> Signed-o
net/sfc: add device parameter to choose FW variant
Add support of choice the preferred firmware variant to use in device parameters.
Signed-off-by: Roman Zhukov <roman.zhukov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
a6fae8f9 |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: add dynamic log level for MCDI messages
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@s
net/sfc: add dynamic log level for MCDI messages
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
3c344a5d |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: remove dedicated init log parameter
The previous patches in the set convert per-port logging to use NOTICE level and make this level default. This provides the possibility to remove the ded
net/sfc: remove dedicated init log parameter
The previous patches in the set convert per-port logging to use NOTICE level and make this level default. This provides the possibility to remove the dedicated toggle for init-related messages and merge init logging with the main log type. In order to keep these logs silent by default, INFO level should be used.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
91d16276 |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: prepare to merge init logs with main log type
Conversion to dynamic logging done in the previous patches makes it possible to simplify internal controls for init logging. This patch allows
net/sfc: prepare to merge init logs with main log type
Conversion to dynamic logging done in the previous patches makes it possible to simplify internal controls for init logging. This patch allows to prepare for such a change. It makes init-unrelated messages use NOTICE level so that the following patch will be able to convert init logging to use INFO level and remain silent by default.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
dad99d92 |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: support per-port dynamic logging
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarfla
net/sfc: support per-port dynamic logging
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
fdceb100 |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: support driver-wide dynamic logging
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solar
net/sfc: support driver-wide dynamic logging
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
4abe903e |
| 26-Jan-2018 |
Stephen Hemminger <stephen@networkplumber.org> |
net/sfc: use link status helper functions
Use new rte_eth_linkstatus_get/set helper functions to handle link status update.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by
net/sfc: use link status helper functions
Use new rte_eth_linkstatus_get/set helper functions to handle link status update.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
ffc905f3 |
| 22-Jan-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file.
There is no update in header content and since ethde
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file.
There is no update in header content and since ethdev.h included by ethdev_driver.h, nothing changed from driver point of view, only logically grouping of APIs. From applications point of view they can't access to driver specific APIs anymore and they shouldn't.
More PMD specific data structures still remain in ethdev.h because of inline functions in header use them. Those will be handled separately.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
c78d280e |
| 18-Jan-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: convert to new Tx offload API
Ethdev Tx offloads API has changed since: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new Tx offloads API.
The cod
net/sfc: convert to new Tx offload API
Ethdev Tx offloads API has changed since: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new Tx offloads API.
The code which fills in txq_flags in default_txconf is preserved because rte_eth_dev_info_get() lacks conversion between offloads and txq_flags fields which means that a legacy application which relies on default_txconf will fail to configure Tx queues in the case when some bits in txq_flags are mandatory.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
85069ade |
| 18-Jan-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: factor out function to report Tx capabilities
The patch adds a separate function to report supported Tx capabilities because this function will be required in more places across the code in
net/sfc: factor out function to report Tx capabilities
The patch adds a separate function to report supported Tx capabilities because this function will be required in more places across the code in the upcoming patches.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
ff6a1197 |
| 18-Jan-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: convert to new Rx offload API
Ethdev Rx offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") This commit support the new Rx offloads API.
Signed-
net/sfc: convert to new Rx offload API
Ethdev Rx offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") This commit support the new Rx offloads API.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
cd8da5e8 |
| 18-Jan-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: factor out function to report Rx capabilities
The patch adds a separate function to report supported Rx capabilities because this function will be required in more places across the code in
net/sfc: factor out function to report Rx capabilities
The patch adds a separate function to report supported Rx capabilities because this function will be required in more places across the code in the upcoming patches.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
44c0947b |
| 08-Jan-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: change license to BSD-3-Clause
Change license from BSD-2-Clause to BSD-3-Clause. Bump copyright year.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Hemant Agrawal <
net/sfc: change license to BSD-3-Clause
Change license from BSD-2-Clause to BSD-3-Clause. Bump copyright year.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
c7dadc9f |
| 09-Jan-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support more options for a number of Tx descriptors
The number of Tx descriptors is not used as HW Tx ring size any more. It simply defines maximum fill level.
Signed-off-by: Andrew Rybche
net/sfc: support more options for a number of Tx descriptors
The number of Tx descriptors is not used as HW Tx ring size any more. It simply defines maximum fill level.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|