diff options
author | Rakesh Babu <rsaladi2@marvell.com> | 2021-09-28 23:13:45 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-29 10:27:33 +0100 |
commit | ffd2f89ad05cd620d822112a07b0c5669fa9e333 (patch) | |
tree | 897ba484acabddb9054d31a62df252836ba8e052 /drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | |
parent | a365023a76f231cc2fc6e33797e66f3bcaa9f9a9 (diff) | |
download | linux-ffd2f89ad05cd620d822112a07b0c5669fa9e333.tar.bz2 |
octeontx2-pf: Enable promisc/allmulti match MCAM entries.
Whenever the interface is brought up/down then set_rx_mode
function is called by the stack which enables promisc/allmulti
MCAM entries. But there are cases when driver brings
interface down and then up such as while changing number
of channels. In these cases promisc/allmulti MCAM entries
are left disabled as set_rx_mode callback is not called.
This patch enables these MCAM entries in all such cases.
Signed-off-by: Rakesh Babu <rsaladi2@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c')
0 files changed, 0 insertions, 0 deletions