#
00a3d810 |
| 24-Oct-2017 |
Gaetan Rivet <gaetan.rivet@6wind.com> |
ethdev: remove detachable device flag
This flag is not necessary at the ether layer anymore. Buses are able to advertise their hotplug support. The ether layer can rely upon this capability instead
ethdev: remove detachable device flag
This flag is not necessary at the ether layer anymore. Buses are able to advertise their hotplug support. The ether layer can rely upon this capability instead of a special flag.
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
e6bea83e |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix a pointer deref before null check
Coverity issue: 195015 Fixes: b7435d660a8c ("net/bnxt: add ntuple filtering support")
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
1498060f |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix a potential null pointer dereference
Fix a potential null pointer reported by Coverity.
Coverity issue: 195001 Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops")
Signed-off-by
net/bnxt: fix a potential null pointer dereference
Fix a potential null pointer reported by Coverity.
Coverity issue: 195001 Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops")
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
9c7b0242 |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix a bit shift operation
We are left shifting more bits than we should be doing. This patch fixes that.
Coverity issue: 127546 Fixes: 778b759ba10e ("net/bnxt: add MAC address") Cc: stabl
net/bnxt: fix a bit shift operation
We are left shifting more bits than we should be doing. This patch fixes that.
Coverity issue: 127546 Fixes: 778b759ba10e ("net/bnxt: add MAC address") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
8103a57a |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: handle Rx multi queue creation properly
This patch simplifies logic for RSS queue creation. 1) Do not hardcode number of VNIC pools in case of RSS 2) Log a message if Number of queues is >
net/bnxt: handle Rx multi queue creation properly
This patch simplifies logic for RSS queue creation. 1) Do not hardcode number of VNIC pools in case of RSS 2) Log a message if Number of queues is > RTE_ETHDEV_QUEUE_STAT_CNTRS 3) Move the check for allocation of l2_filter inside the for loop.
Fixes: 6133f207970c ("net/bnxt: add Rx queue create/destroy") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
0489c654 |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix Rx offload capability
We are not setting the rx_offload capabilities. Fixing that.
Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde
net/bnxt: fix Rx offload capability
We are not setting the rx_offload capabilities. Fixing that.
Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
1a54416d |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix Tx offload capability
We are not indicating VLAN insert capability of HW. Fixing it.
Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org
Signed-off-by: Ajit Khapar
net/bnxt: fix Tx offload capability
We are not indicating VLAN insert capability of HW. Fixing it.
Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
2bc51301 |
| 24-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: update HWRM to 1.8.2
This patch updates the HWRM API to version 1.8.2
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
2d64da09 |
| 10-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support FDIR
This patch brings support for Flow Director.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
f8244c63 |
| 29-Sep-2017 |
Zhiyong Yang <zhiyong.yang@intel.com> |
ethdev: increase port id range
Extend port_id definition from uint8_t to uint16_t in lib and drivers data structures, specifically rte_eth_dev_data. Modify the APIs, drivers and app using port_id at
ethdev: increase port id range
Extend port_id definition from uint8_t to uint16_t in lib and drivers data structures, specifically rte_eth_dev_data. Modify the APIs, drivers and app using port_id at the same time.
Fix some checkpatch issues from the original code and remove some unnecessary cast operations.
release_17_11 and deprecation docs have been updated in this patch.
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
a2033fda |
| 05-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix number of MAC addresses for VMDq
We were hardcoding the max MAC addresses to 32, while the HW can support more than that. This was restricting the number of VMDQ pools that we could su
net/bnxt: fix number of MAC addresses for VMDq
We were hardcoding the max MAC addresses to 32, while the HW can support more than that. This was restricting the number of VMDQ pools that we could support. Use the value obtained from FW instead.
Fixes: 804e746c7b73 ("net/bnxt: add hardware resource manager init code") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
b7435d66 |
| 05-Oct-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: add ntuple filtering support
Add support for ntuple filtering. Only RTE_5TUPLE_FLAGS is supported currently. RTE_2TUPLE_FLAGS is not supported.
Signed-off-by: Ajit Khaparde <ajit.khaparde
net/bnxt: add ntuple filtering support
Add support for ntuple filtering. Only RTE_5TUPLE_FLAGS is supported currently. RTE_2TUPLE_FLAGS is not supported.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
1fe427fd |
| 28-Sep-2017 |
Somnath Kotur <somnath.kotur@broadcom.com> |
net/bnxt: support enable/disable interrupt
Implement Rx Queue interrupt enable/disable functions
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khapard
net/bnxt: support enable/disable interrupt
Implement Rx Queue interrupt enable/disable functions
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
19e6af01 |
| 28-Sep-2017 |
Somnath Kotur <somnath.kotur@broadcom.com> |
net/bnxt: support get/set EEPROM
Add support for get/set_eeprom, get_eeprom_length dev_ops. Defined the structures required to get/set the eeprom length/data in hsi_struct_defs hdr file along with i
net/bnxt: support get/set EEPROM
Add support for get/set_eeprom, get_eeprom_length dev_ops. Defined the structures required to get/set the eeprom length/data in hsi_struct_defs hdr file along with implementation.
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
3d2a6644 |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support getting ptypes
This patch adds support for dev_supported_ptypes_get
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
5ef3b79f |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support flow filter ops
This patch adds support for flow validate/create/destroy/flush, ethertype add/del ops
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
478ed3bb |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support Tx descriptor status
Add support for tx_descriptor_status dev_op
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
0fe613bb |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support Rx descriptor status
Add support for rx_descriptor_status dev_op
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
1b7ceba3 |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support Rx queue count
add support for rx_queue_count dev_op
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
2ba07b7d |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: set the hash key size
We were not setting the dev_info.hash_key_size. Setting it now.
Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde
net/bnxt: set the hash key size
We were not setting the dev_info.hash_key_size. Setting it now.
Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
1ebb7650 |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix config RSS update
We are not configuring the RSS settings updated by rss_hash_update(). Fixing it.
Fixes: fcc0aa1edc10 ("net/bnxt: add RSS hash configuration") Cc: stable@dpdk.org
Si
net/bnxt: fix config RSS update
We are not configuring the RSS settings updated by rss_hash_update(). Fixing it.
Fixes: fcc0aa1edc10 ("net/bnxt: add RSS hash configuration") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
88920136 |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support xstats get by id
This patch adds support for xstats_get_by_id/xstats_get_names_by_id.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
|
#
4191bc8f |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: handle multi queue mode properly
We are currently not handling multi queue RX/RSS modes correctly. If RSS is not requested, create one VNIC per RXQ.
Fixes: 6133f207970c ("net/bnxt: add Rx
net/bnxt: handle multi queue mode properly
We are currently not handling multi queue RX/RSS modes correctly. If RSS is not requested, create one VNIC per RXQ.
Fixes: 6133f207970c ("net/bnxt: add Rx queue create/destroy") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
1cd45aeb |
| 30-Jun-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support Stratus VF device
This patch adds support for Stratus VF devices. Other than adding the VF device ID, we also are adding support for short message format.
The new short firmware m
net/bnxt: support Stratus VF device
This patch adds support for Stratus VF devices. Other than adding the VF device ID, we also are adding support for short message format.
The new short firmware message of size 16 bytes points to a location in host memory that contains the firmware message that the driver wants the adapter to process. This indirection requires the firmware to DMA the message into its own memory for processing.
When the firmware receives a Short Command Format, it will DMA the firmware message from host memory into its internal memory and then processes the message as it would have if it received the message directly in the firmware communication channel.
With BCM57454, the number of VFs increase to 1K and so the requirement for firmware communication channel memory on adapter becomes expensive. The short firmware message saves the amount of memory required to support 1K VFs on adapter.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
740feaf3 |
| 12-Jun-2017 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: remove driver name from device private data
rte_driver->name has the driver name and all physical and virtual devices has access to it.
Previously it was not possible for virtual ethernet d
ethdev: remove driver name from device private data
rte_driver->name has the driver name and all physical and virtual devices has access to it.
Previously it was not possible for virtual ethernet devices to access rte_driver->name field (because eth_dev used to keep only pci_dev), and it was required to save driver name in the device private struct.
After re-works on bus and vdev, it is possible for all bus types to access rte_driver.
It is able to remove the driver name from ethdev device private data and use eth_dev->device->driver->name.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com> Acked-by: Jan Blunck <jblunck@infradead.org>
show more ...
|