octeontx2-nicvf: add ndo_set_rx_mode support for multicast & promisc
authorNaveen Mamindlapalli <naveenm@marvell.com>
Fri, 11 Jun 2021 09:42:03 +0000 (15:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 20:21:11 +0000 (13:21 -0700)
commitcbc100aa220556d056272f07dc735c9758089da9
treea7e8c287c2d50cb4efc03a3d256a833ab7e9b74d
parent967db3529ecac305d230aa4e60abddf6ab63543a
octeontx2-nicvf: add ndo_set_rx_mode support for multicast & promisc

Add ndo_set_rx_mode callback handler to configure promisc, multicast and
allmulti options for VF driver. Also, modified PF driver ndo_set_rx_mode
handler to support multicast and promisc mode independently.

Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <Sunil.Goutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c