]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fbnic: Pass fbnic_dev instead of netdev to __fbnic_set/clear_rx_mode
authorAlexander Duyck <alexanderduyck@fb.com>
Tue, 26 Aug 2025 19:44:54 +0000 (12:44 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 28 Aug 2025 12:51:07 +0000 (14:51 +0200)
commit284a67d59f39c2ac116aebbec1eb6ba6951bc37c
tree7eed74fe105486aec63b7022a21a110801bb90eb
parentcf79bd4495112d93474ce9fda4564011b982dfe8
fbnic: Pass fbnic_dev instead of netdev to __fbnic_set/clear_rx_mode

To make the __fbnic_set_rx_mode and __fbnic_clear_rx_mode calls usable by
more points in the code we can make to that they expect a fbnic_dev pointer
instead of a netdev pointer.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/175623749436.2246365.6068665520216196789.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_netdev.c
drivers/net/ethernet/meta/fbnic/fbnic_netdev.h
drivers/net/ethernet/meta/fbnic/fbnic_pci.c