mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00

Move filter functions to separate file. Add functions that prepare suitable ice_fltr_info struct depending on the filter type and add this struct to earlier created list: - ice_fltr_add_mac_to_list - ice_fltr_add_vlan_to_list - ice_fltr_add_eth_to_list This functions are used in adding and removing filters. Create wrappers for functions mentioned above that alloc list, add suitable ice_fltr_info to it and call add or remove function. - ice_fltr_prepare_mac - ice_fltr_prepare_mac_and_broadcast - ice_fltr_prepare_vlan - ice_fltr_prepare_eth Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
27 lines
587 B
Makefile
27 lines
587 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (c) 2018, Intel Corporation.
|
|
|
|
#
|
|
# Makefile for the Intel(R) Ethernet Connection E800 Series Linux Driver
|
|
#
|
|
|
|
obj-$(CONFIG_ICE) += ice.o
|
|
|
|
ice-y := ice_main.o \
|
|
ice_controlq.o \
|
|
ice_common.o \
|
|
ice_nvm.o \
|
|
ice_switch.o \
|
|
ice_sched.o \
|
|
ice_base.o \
|
|
ice_lib.o \
|
|
ice_txrx_lib.o \
|
|
ice_txrx.o \
|
|
ice_fltr.o \
|
|
ice_flex_pipe.o \
|
|
ice_flow.o \
|
|
ice_devlink.o \
|
|
ice_ethtool.o
|
|
ice-$(CONFIG_PCI_IOV) += ice_virtchnl_pf.o ice_sriov.o
|
|
ice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o
|
|
ice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o
|