| #
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 ...
|
| #
3a4b87c8 |
| 05-Apr-2018 |
Stephen Hemminger <stephen@networkplumber.org> |
net/octeontx: fix uninitialized speed variable
This is fix for Coverity Defect 268319 about uninitialized speed in an error case. Also drop unnecessary assignment.
Coverity issue: 268319 Fixes: 4fa
net/octeontx: fix uninitialized speed variable
This is fix for Coverity Defect 268319 about uninitialized speed in an error case. Also drop unnecessary assignment.
Coverity issue: 268319 Fixes: 4fac7c0a147e ("net/octeontx: add link update") CC: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
| #
ecc3fa6d |
| 02-Apr-2018 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
net/octeontx: remove redundant driver name update
Cc: stable@dpdk.org
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Reviewed-by: David Marchand <david.marchand@6wind.com>
|
| #
a9287089 |
| 05-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: use the new offload APIs
Use the new Rx/Tx offload APIs and remove the old style offloads.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <s
net/octeontx: use the new offload APIs
Use the new Rx/Tx offload APIs and remove the old style offloads.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2 |
|
| #
2b4ab422 |
| 26-Jan-2018 |
Stephen Hemminger <stephen@networkplumber.org> |
net/octeontx: 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> Review
net/octeontx: 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 ...
|
| #
a371fd79 |
| 20-Feb-2018 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
net/octeontx: fix uninitialized variable in port open
Coverity issue: 195045 Fixes: f18b146c498d ("net/octeontx: create ethdev ports") Cc: stable@dpdk.org
Signed-off-by: Santosh Shukla <santosh.shu
net/octeontx: fix uninitialized variable in port open
Coverity issue: 195045 Fixes: f18b146c498d ("net/octeontx: create ethdev ports") Cc: stable@dpdk.org
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
a98122ef |
| 20-Feb-2018 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
net/octeontx: fix null pointer dereference
Coverity issue: 195040 Fixes: f18b146c498d ("net/octeontx: create ethdev ports") Cc: stable@dpdk.org
Signed-off-by: Santosh Shukla <santosh.shukla@caviumn
net/octeontx: fix null pointer dereference
Coverity issue: 195040 Fixes: f18b146c498d ("net/octeontx: create ethdev ports") Cc: stable@dpdk.org
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
dfb0c75b |
| 05-Feb-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: register fpa as platform HW mempool
Register octeontx-fpavf as platform HW mempool when net/octeontx pmd is used.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acke
net/octeontx: register fpa as platform HW mempool
Register octeontx-fpavf as platform HW mempool when net/octeontx pmd is used.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
1a0eab3a |
| 25-Jan-2018 |
Harry van Haaren <harry.van.haaren@intel.com> |
drivers/octeontx: align dynamic log names with standard
This commit aligns the names for dynamic logging with the newly defined logging format.
Signed-off-by: Harry van Haaren <harry.van.haaren@int
drivers/octeontx: align dynamic log names with standard
This commit aligns the names for dynamic logging with the newly defined logging format.
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v18.02-rc1 |
|
| #
1e3a958f |
| 05-Jan-2018 |
Thomas Monjalon <thomas@monjalon.net> |
ethdev: fix link autonegotiation value
There are 3 kind of link data in ethdev: - capabilities (rte_eth_dev_info) - configuration (rte_eth_conf) - status (rte_eth_link)
A bit-field is used for c
ethdev: fix link autonegotiation value
There are 3 kind of link data in ethdev: - capabilities (rte_eth_dev_info) - configuration (rte_eth_conf) - status (rte_eth_link)
A bit-field is used for capabilities (rte_eth_dev_info.speed_capa) and configuration (rte_eth_conf.link_speeds). Bits are defined in ETH_LINK_SPEED_*.
Some numerical (ETH_SPEED_NUM_*) and boolean (ETH_LINK_*) values are used for the link status (rte_eth_link.*).
There was a mistake in the comment of rte_eth_link.link_autoneg, suggesting ETH_LINK_SPEED_[AUTONEG/FIXED] which are 0/1, instead of ETH_LINK_[AUTONEG/FIXED] which are 1/0.
The drivers are fixed to use ETH_LINK_[AUTONEG/FIXED].
Fixes: 82113036e4e5 ("ethdev: redesign link speed config")
Suggested-by: Andrew Rybchenko <arybchenko@solarflare.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
| #
989d4926 |
| 19-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: add channel to port id mapping
The channel to port id map is used by event octeontx to map the received wqe to the respective ethdev port.
Signed-off-by: Pavan Nikhilesh <pbhagavatula
net/octeontx: add channel to port id mapping
The channel to port id map is used by event octeontx to map the received wqe to the respective ethdev port.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
4d35a276 |
| 19-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: implement dynamic logging
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Stephen Hemminger <ste
net/octeontx: implement dynamic logging
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
| #
5452a17d |
| 14-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: advertise supported mbuf pool ops
Advertise mempool/octeontx as the only supported mempool ops when the application checks using `rte_eth_dev_pool_ops_supported`.
Signed-off-by: Pavan
net/octeontx: advertise supported mbuf pool ops
Advertise mempool/octeontx as the only supported mempool ops when the application checks using `rte_eth_dev_pool_ops_supported`.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
aaf4363e |
| 08-Jan-2018 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
drivers: use SPDX tag for Cavium copyright files
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3 |
|
| #
d4a586d2 |
| 07-Nov-2017 |
Jianfeng Tan <jianfeng.tan@intel.com> |
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those help
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those helper function into drivers/bus too.
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
show more ...
|
|
Revision tags: v17.11-rc2 |
|
| #
d0d65498 |
| 24-Oct-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: support event Rx adapter
Add functions to modify and delete qos responsible for mapping eth queues to event queues used for configuring event Rx adapter. The mbox functions have been m
net/octeontx: support event Rx adapter
Add functions to modify and delete qos responsible for mapping eth queues to event queues used for configuring event Rx adapter. The mbox functions have been moved from octeontx_pkivf.c to octeontx_pkivf.h to allow event_octeontx to access them.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|
|
Revision tags: v17.11-rc1 |
|
| #
d5b0924b |
| 10-Oct-2017 |
Matan Azrad <matan@mellanox.com> |
ethdev: add return value to stats get dev op
The stats_get dev op API doesn't include return value, so PMD cannot return an error in case of failure at stats getting process time.
Since PCI devices
ethdev: add return value to stats get dev op
The stats_get dev op API doesn't include return value, so PMD cannot return an error in case of failure at stats getting process time.
Since PCI devices can be removed and there is a time between the physical removal to the RMV interrupt, the user may get invalid stats without any indication.
This patch changes the stats_get API return value to be int instead of void.
All the net PMDs stats_get dev ops are adjusted by this patch.
Signed-off-by: Matan Azrad <matan@mellanox.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| #
da6c6874 |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add start and stop support
add start, stop and close support.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.
net/octeontx: add start and stop support
add start, stop and close support.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
20186d43 |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add packet type parsing support
Mark packet type parsing in features.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumn
net/octeontx: add packet type parsing support
Mark packet type parsing in features.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
150cbc84 |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add Tx queue setup and release ops
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
|
| #
7fe7c98f |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add Tx queue start and stop
Mark "Queue start/stop" as P as its been implemented only for tx queue.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh
net/octeontx: add Tx queue start and stop
Mark "Queue start/stop" as P as its been implemented only for tx queue.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
197438ee |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add Rx queue setup and release ops
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
|
| #
ef7308fc |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add MAC addr set op
Implement "mac_addr_set" op and mark "Unicast MAC filter" feature as "P" as "mac_addr_add" and "mac_addr_remove" are not implemented.
Signed-off-by: Jerin Jacob <j
net/octeontx: add MAC addr set op
Implement "mac_addr_set" op and mark "Unicast MAC filter" feature as "P" as "mac_addr_add" and "mac_addr_remove" are not implemented.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
| #
55389909 |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add basic stats support
Mark Basic stats support in features.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.
net/octeontx: add basic stats support
Mark Basic stats support in features.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|