summaryrefslogtreecommitdiff
path: root/net/dsa
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-05-11 23:31:49 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-11 23:31:49 +0300
commit9b1b31d5d4ac7d931c3d7e0e8114ff9d4fbd0c28 (patch)
tree08e61f55c47a5401d1dabbe00b078e479307e05f /net/dsa
parenta90f704ad9499b0737b741ccea13c0a6fb6fa8d4 (diff)
parent9b46132cff75653f02241640b44b31c29499afc1 (diff)
downloadlinux-9b1b31d5d4ac7d931c3d7e0e8114ff9d4fbd0c28.tar.xz
Merge branch 'sfc-remove-nic_data-usage-in-common-code'
Edward Cree says: ==================== sfc: remove nic_data usage in common code efx->nic_data should only be used from NIC-specific code (i.e. nic_type functions and things they call), in files like ef10[_sriov].c and siena.c. This series refactors several nic_data usages from common code (mainly in mcdi_filters.c) into nic_type functions, in preparation for the upcoming ef100 driver which will use those functions but have its own struct layout for efx->nic_data distinct from ef10's. After this series, one nic_data usage (in ptp.c) remains; it wasn't clear to me how to fix it, and ef100 devices don't yet have PTP support (so the initial ef100 driver will not call that code). ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions