mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

IPV6 addresses are purged when setting the number of rx/tx
rings using ethtool -G. The function aq_set_ringparam
calls dev_close, which removes the addresses. As a solution,
call an internal function (aq_ndev_close).
Fixes: c1af542795
("net: aquantia: Ethtool based ring size configuration")
Signed-off-by: Izabela Bakollari <ibakolla@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
553 B
C
23 lines
553 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* aQuantia Corporation Network Driver
|
|
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
|
|
*/
|
|
|
|
/* File aq_main.h: Main file for aQuantia Linux driver. */
|
|
|
|
#ifndef AQ_MAIN_H
|
|
#define AQ_MAIN_H
|
|
|
|
#include "aq_common.h"
|
|
#include "aq_nic.h"
|
|
|
|
DECLARE_STATIC_KEY_FALSE(aq_xdp_locking_key);
|
|
|
|
void aq_ndev_schedule_work(struct work_struct *work);
|
|
struct net_device *aq_ndev_alloc(void);
|
|
int aq_ndev_open(struct net_device *ndev);
|
|
int aq_ndev_close(struct net_device *ndev);
|
|
|
|
#endif /* AQ_MAIN_H */
|