drivers/thirdparty: ice: extend ringparam setting/getting API with rx_buf_len
Fixes:(fad4e75f22
driver/thirdparty: extend ringparam setting/getting API with rx_buf_len)
Signed-off-by: hongrongxuan <hongrongxuan@huawei.com>
This commit is contained in:
parent
37c90c42eb
commit
9e308f121c
|
@ -4390,7 +4390,10 @@ ice_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
ice_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring)
|
ice_get_ringparam(struct net_device *netdev,
|
||||||
|
struct ethtool_ringparam *ring,
|
||||||
|
struct kernel_ethtool_ringparam *kernel_ring,
|
||||||
|
struct netlink_ext_ack *extack)
|
||||||
{
|
{
|
||||||
struct ice_netdev_priv *np = netdev_priv(netdev);
|
struct ice_netdev_priv *np = netdev_priv(netdev);
|
||||||
struct ice_vsi *vsi = np->vsi;
|
struct ice_vsi *vsi = np->vsi;
|
||||||
|
@ -4408,7 +4411,10 @@ ice_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
ice_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring)
|
ice_set_ringparam(struct net_device *netdev,
|
||||||
|
struct ethtool_ringparam *ring,
|
||||||
|
struct kernel_ethtool_ringparam *kernel_ring,
|
||||||
|
struct netlink_ext_ack *extack)
|
||||||
{
|
{
|
||||||
struct ice_ring *tx_rings = NULL, *rx_rings = NULL;
|
struct ice_ring *tx_rings = NULL, *rx_rings = NULL;
|
||||||
struct ice_netdev_priv *np = netdev_priv(netdev);
|
struct ice_netdev_priv *np = netdev_priv(netdev);
|
||||||
|
|
Loading…
Reference in New Issue