diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:26 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
| commit | abc9a29d6bccb2886f86f6242fc228b7eaf5cd87 (patch) | |
| tree | 844759b55f0a13553b37976a90144f9d21c3c151 /hw/net/igb_regs.h | |
| parent | 191e8bde88a47303eed697a1fb56d19eb0a2a759 (diff) | |
| download | focaccia-qemu-abc9a29d6bccb2886f86f6242fc228b7eaf5cd87.tar.gz focaccia-qemu-abc9a29d6bccb2886f86f6242fc228b7eaf5cd87.zip | |
igb: Use UDP for RSS hash
e1000e does not support using UDP for RSS hash, but igb does. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/igb_regs.h')
| -rw-r--r-- | hw/net/igb_regs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/net/igb_regs.h b/hw/net/igb_regs.h index eb995d8b2e..e6ac26dc0e 100644 --- a/hw/net/igb_regs.h +++ b/hw/net/igb_regs.h @@ -659,6 +659,9 @@ union e1000_adv_rx_desc { #define E1000_RSS_QUEUE(reta, hash) (E1000_RETA_VAL(reta, hash) & 0x0F) +#define E1000_MRQ_RSS_TYPE_IPV4UDP 7 +#define E1000_MRQ_RSS_TYPE_IPV6UDP 8 + #define E1000_STATUS_IOV_MODE 0x00040000 #define E1000_STATUS_NUM_VFS_SHIFT 14 |