Skip to content

Commit

Permalink
onload_mktest_net_driver: Replacing net driver with v5_3_19_1012
Browse files Browse the repository at this point in the history
  • Loading branch information
sianj-xilinx committed Nov 13, 2024
1 parent 6ce6d21 commit 9be8959
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/driver/linux_net/drivers/net/ethernet/sfc/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ static int efx_ethtool_set_ringparam(struct net_device *net_dev,
if (is_up) {
dev_close(net_dev);
#ifdef EFX_NOT_UPSTREAM
#if IS_MODULE(CONFIG_SFC_DRIVERLINK)
if (efx->open_count) {
/* Onload is still attached, which is ok. We can
* safely operate on the netdev channels now.
Expand All @@ -283,6 +284,11 @@ static int efx_ethtool_set_ringparam(struct net_device *net_dev,
efx->rxq_entries = ring->rx_pending;
efx->txq_entries = ring->tx_pending;
}
#else
/* Apply the new settings */
efx->rxq_entries = ring->rx_pending;
efx->txq_entries = ring->tx_pending;
#endif
#else
/* Apply the new settings */
efx->rxq_entries = ring->rx_pending;
Expand Down
2 changes: 1 addition & 1 deletion src/driver/linux_net/drivers/net/ethernet/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
**************************************************************************/

#ifdef EFX_NOT_UPSTREAM
#define EFX_DRIVER_VERSION "5.3.19.1011"
#define EFX_DRIVER_VERSION "5.3.19.1012"
#endif

#ifdef DEBUG
Expand Down

0 comments on commit 9be8959

Please sign in to comment.