Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Add IPv6 mask for flow director.
details: https://anonhg.NetBSD.org/src/rev/ca1ddc579771
branches: trunk
changeset: 1027636:ca1ddc579771
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Dec 14 05:26:08 2021 +0000
description:
Add IPv6 mask for flow director.
- FreeBSD: c4f73d5d6a6c0117e08a03920cce69202865ba13 or ix-3.3.18
DPDK: 21feefa2fcd5899ee26a10be405c17c0a1109860
Write FDIRIP6M register to allow flow director filter
to set ipv6 rules without setting ipv6 source/destination address.
- No functional change because NetBSD doesn't support flow director.
diffstat:
sys/dev/pci/ixgbe/ixgbe_82599.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 5f44e6791908 -r ca1ddc579771 sys/dev/pci/ixgbe/ixgbe_82599.c
--- a/sys/dev/pci/ixgbe/ixgbe_82599.c Tue Dec 14 01:18:14 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_82599.c Tue Dec 14 05:26:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_82599.c,v 1.26 2021/12/10 11:31:22 msaitoh Exp $ */
+/* $NetBSD: ixgbe_82599.c,v 1.27 2021/12/14 05:26:08 msaitoh Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_82599.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_82599.c,v 1.26 2021/12/10 11:31:22 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_82599.c,v 1.27 2021/12/14 05:26:08 msaitoh Exp $");
#include "ixgbe_type.h"
#include "ixgbe_82599.h"
@@ -1883,6 +1883,7 @@
~input_mask->formatted.src_ip[0]);
IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRDIP4M,
~input_mask->formatted.dst_ip[0]);
+ IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRIP6M, 0xFFFFFFFF);
}
return IXGBE_SUCCESS;
}
Home |
Main Index |
Thread Index |
Old Index