aboutsummaryrefslogtreecommitdiff
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-02-23 19:19:52 +0900
committerJason Wang <jasowang@redhat.com>2023-03-10 15:35:38 +0800
commit2fe63579d8e5afcbf797e1436d5de2656eb3dc2a (patch)
treec15da3ce542471ab275559b8a08f257dfe584bb6 /hw/net/virtio-net.c
parentc16bd68e16198d4cc9f77cb8d4e75fd2f64b364e (diff)
downloadqemu-2fe63579d8e5afcbf797e1436d5de2656eb3dc2a.zip
qemu-2fe63579d8e5afcbf797e1436d5de2656eb3dc2a.tar.gz
qemu-2fe63579d8e5afcbf797e1436d5de2656eb3dc2a.tar.bz2
e1000: Use more constant definitions
The definitions for E1000_VFTA_ENTRY_SHIFT, E1000_VFTA_ENTRY_MASK, and E1000_VFTA_ENTRY_BIT_SHIFT_MASK were copied from: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/intel/e1000/e1000_hw.h?h=v6.0.9#n306 The definitions for E1000_NUM_UNICAST, E1000_MC_TBL_SIZE, and E1000_VLAN_FILTER_TBL_SIZE were copied from: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/intel/e1000/e1000_hw.h?h=v6.0.9#n707 Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions