Skip to content

Commit

Permalink
Intel official release 4.3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrandeb committed Mar 23, 2024
1 parent cf650cb commit b625ceb
Show file tree
Hide file tree
Showing 8 changed files with 335 additions and 73 deletions.
Empty file modified README
100755 → 100644
Empty file.
102 changes: 51 additions & 51 deletions SUMS
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
45328 10 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/ixgbe.spec
09576 6 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/scripts/set_irq_affinity
44149 7 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/pci.updates
49485 51 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/README
44189 9 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/ixgbe.7
03018 4 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb_82598.h
10208 46 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_api.c
25929 7 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_osdep.h
36107 52 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/kcompat.c
60138 4 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_sriov.h
32269 74 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_phy.c
10046 2 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_82598.h
56780 8 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_common.h
47059 158 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_type.h
00776 87 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_x550.c
29344 140 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/kcompat.h
53485 20 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb.c
53143 6 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb.h
54301 8 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_debugfs.c
10210 8 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_sysfs.c
17105 298 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_main.c
12190 1 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/Module.supported
56006 103 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_ethtool.c
27055 36 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe.h
10067 23 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb_nl.c
35395 8 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/common.mk
49645 77 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_82599.c
32870 7 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/Makefile
26627 8 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_phy.h
02089 2 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_osdep2.h
23422 3 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_x540.h
16759 17 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb_82599.c
14576 27 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_procfs.c
29498 5 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_x550.h
04046 40 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_82598.c
33230 45 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_ptp.c
42997 7 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_mbx.h
63339 42 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_sriov.c
21099 10 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb_82598.c
38247 5 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_dcb_82599.h
00324 29 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_x540.c
41259 10 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_api.h
43358 37 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_lib.c
41090 29 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_fcoe.c
54750 3 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_fcoe.h
58442 20 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_mbx.c
27260 3 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_82599.h
19027 29 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/kcompat_ethtool.c
18855 134 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_common.c
34409 33 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/src/ixgbe_param.c
42571 18 /tmp/tmp.fosTodezqG/ixgbe-4.3.13/COPYING
49485 51 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/README
47750 10 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/ixgbe.spec
09576 6 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/scripts/set_irq_affinity
42571 18 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/COPYING
44149 7 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/pci.updates
23422 3 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_x540.h
54301 8 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_debugfs.c
58442 20 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_mbx.c
41259 10 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_api.h
19027 29 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/kcompat_ethtool.c
16759 17 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb_82599.c
33230 45 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_ptp.c
56780 8 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_common.h
38247 5 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb_82599.h
53143 6 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb.h
25929 7 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_osdep.h
42997 7 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_mbx.h
04046 40 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_82598.c
04514 145 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/kcompat.h
56006 103 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_ethtool.c
10067 23 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb_nl.c
60138 4 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_sriov.h
14576 27 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_procfs.c
34409 33 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_param.c
43358 37 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_lib.c
32870 7 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/Makefile
21099 10 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb_82598.c
53485 20 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb.c
27055 36 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe.h
54750 3 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_fcoe.h
00324 29 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_x540.c
39106 8 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/common.mk
10208 46 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_api.c
51270 55 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/kcompat.c
32269 74 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_phy.c
47059 158 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_type.h
63339 42 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_sriov.c
12190 1 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/Module.supported
02089 2 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_osdep2.h
49645 77 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_82599.c
10210 8 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_sysfs.c
41090 29 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_fcoe.c
29498 5 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_x550.h
00776 87 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_x550.c
26627 8 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_phy.h
59309 298 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_main.c
18855 134 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_common.c
10046 2 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_82598.h
03018 4 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_dcb_82598.h
27260 3 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/src/ixgbe_82599.h
44189 9 /tmp/tmp.xxfdWg4395/ixgbe-4.3.15/ixgbe.7
Empty file modified ixgbe.7
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion ixgbe.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: ixgbe
Summary: Intel(R) 10GbE PCI Express Ethernet Connection
Version: 4.3.13
Version: 4.3.15
Release: 1
Source: %{name}-%{version}.tar.gz
Vendor: Intel Corporation
Expand Down
13 changes: 13 additions & 0 deletions src/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ cmd_depmod = /sbin/depmod $(if ${SYSTEM_MAP_FILE},-e -F ${SYSTEM_MAP_FILE}) \
$(if $(strip ${INSTALL_MOD_PATH}),-b ${INSTALL_MOD_PATH}) \
-a ${KVER}

################
# initrd Macro #
################

cmd_initrd := $(shell \
if which dracut > /dev/null 2>&1 ; then \
echo "dracut --force"; \
elif which mkinitrd > /dev/null 2>&1 ; then \
echo "mkinitrd"; \
elif which update-initramfs > /dev/null 2>&1 ; then \
echo "update-initramfs -u"; \
fi )

#####################
# Environment tests #
#####################
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static const char ixgbe_driver_string[] =

#define RELEASE_TAG

#define DRV_VERSION __stringify(4.3.13) DRIVERIOV DRV_HW_PERF FPGA \
#define DRV_VERSION __stringify(4.3.15) DRIVERIOV DRV_HW_PERF FPGA \
BYPASS_TAG RELEASE_TAG
const char ixgbe_driver_version[] = DRV_VERSION;
static const char ixgbe_copyright[] =
Expand Down Expand Up @@ -9574,7 +9574,7 @@ ixgbe_features_check(struct sk_buff *skb, struct net_device *dev,

if (unlikely(skb_inner_mac_header(skb) - skb_transport_header(skb) >
IXGBE_MAX_TUNNEL_HDR_LEN))
return features & ~NETIF_F_ALL_CSUM;
return features & ~NETIF_F_CSUM_MASK;

return features;
}
Expand Down
106 changes: 106 additions & 0 deletions src/kcompat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1477,6 +1477,112 @@ int __kc_pcie_capability_clear_word(struct pci_dev *dev, int pos,
}
#endif /* < 3.7.0 */

/******************************************************************************
* ripped from linux/net/ipv6/exthdrs_core.c, GPL2, no direct copyright,
* inferred copyright from kernel
*/
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) )
int __kc_ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
int target, unsigned short *fragoff, int *flags)
{
unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr);
u8 nexthdr = ipv6_hdr(skb)->nexthdr;
unsigned int len;
bool found;

#define __KC_IP6_FH_F_FRAG BIT(0)
#define __KC_IP6_FH_F_AUTH BIT(1)
#define __KC_IP6_FH_F_SKIP_RH BIT(2)

if (fragoff)
*fragoff = 0;

if (*offset) {
struct ipv6hdr _ip6, *ip6;

ip6 = skb_header_pointer(skb, *offset, sizeof(_ip6), &_ip6);
if (!ip6 || (ip6->version != 6)) {
printk(KERN_ERR "IPv6 header not found\n");
return -EBADMSG;
}
start = *offset + sizeof(struct ipv6hdr);
nexthdr = ip6->nexthdr;
}
len = skb->len - start;

do {
struct ipv6_opt_hdr _hdr, *hp;
unsigned int hdrlen;
found = (nexthdr == target);

if ((!ipv6_ext_hdr(nexthdr)) || nexthdr == NEXTHDR_NONE) {
if (target < 0 || found)
break;
return -ENOENT;
}

hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr);
if (!hp)
return -EBADMSG;

if (nexthdr == NEXTHDR_ROUTING) {
struct ipv6_rt_hdr _rh, *rh;

rh = skb_header_pointer(skb, start, sizeof(_rh),
&_rh);
if (!rh)
return -EBADMSG;

if (flags && (*flags & __KC_IP6_FH_F_SKIP_RH) &&
rh->segments_left == 0)
found = false;
}

if (nexthdr == NEXTHDR_FRAGMENT) {
unsigned short _frag_off;
__be16 *fp;

if (flags) /* Indicate that this is a fragment */
*flags |= __KC_IP6_FH_F_FRAG;
fp = skb_header_pointer(skb,
start+offsetof(struct frag_hdr,
frag_off),
sizeof(_frag_off),
&_frag_off);
if (!fp)
return -EBADMSG;

_frag_off = ntohs(*fp) & ~0x7;
if (_frag_off) {
if (target < 0 &&
((!ipv6_ext_hdr(hp->nexthdr)) ||
hp->nexthdr == NEXTHDR_NONE)) {
if (fragoff)
*fragoff = _frag_off;
return hp->nexthdr;
}
return -ENOENT;
}
hdrlen = 8;
} else if (nexthdr == NEXTHDR_AUTH) {
if (flags && (*flags & __KC_IP6_FH_F_AUTH) && (target < 0))
break;
hdrlen = (hp->hdrlen + 2) << 2;
} else
hdrlen = ipv6_optlen(hp);

if (!found) {
nexthdr = hp->nexthdr;
len -= hdrlen;
start += hdrlen;
}
} while (!found);

*offset = start;
return nexthdr;
}
#endif /* < 3.8.0 */

/******************************************************************************/
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) )
#ifdef CONFIG_XPS
Expand Down
Loading

0 comments on commit b625ceb

Please sign in to comment.