freebsd-skq/sys/net
sbruno 247f67d439 bnxt(4) Enable LRO support, redux
iflib - reset fl-ifl_fragidx to 0 on iflib_fl_bufs_free().  This caused the
panic in em/igb when adding it to a bridge device.

iflib - Handle out of order packet delivery from hardware in support of LRO

Out of order updates to rxd's is fixed in r315217. However, it is not
completely fixed.  While refilling the buffers, iflib is not considering
the out of order descriptors. Hence, it is refilling sequentially.
"idx" variable in _iflib_fl_refill routine is incremented sequentially.
By doing refilling sequentially, it will override the SGEs that
are *IN USE* by other connections.  Fix is to maintain a bitmap of
rx descriptors and differentiate the used one with unused one and
refill only at the unused indices.  This patch also fixes a
few bugs in bnxt, related to the same feature.

Submitted by:	bhargava.marreddy@broadcom.com
Reviewed by:	venkatkumar.duvvuru@broadcom.com shurd
Differential Revision:	https://reviews.freebsd.org/D10681
2017-07-03 18:23:35 +00:00
..
altq Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
bpf_buffer.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
bpf_buffer.h
bpf_filter.c Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
bpf_jitter.c Use kmem_malloc() instead of malloc(9) for the native amd64 filter. 2017-04-17 22:02:09 +00:00
bpf_jitter.h Use kmem_malloc() instead of malloc(9) for the native amd64 filter. 2017-04-17 22:02:09 +00:00
bpf_zerocopy.c
bpf_zerocopy.h
bpf.c Update comments and simplify conditionals for compat32 2017-06-27 01:29:10 +00:00
bpf.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
bpfdesc.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
bridgestp.c
bridgestp.h
dlt.h MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). 2017-02-15 07:22:47 +00:00
ethernet.h net/vlan: Revert 305177 2017-05-19 01:42:31 +00:00
fddi.h
firewire.h
flowtable.c
flowtable.h
ieee8023ad_lacp.c Add several new media types to if_media.h 2017-05-10 18:33:40 +00:00
ieee8023ad_lacp.h Implement kernel support for hardware rate limited sockets. 2017-01-18 13:31:17 +00:00
ieee_oui.h
if_arc.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_arcsubr.c
if_arp.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_bridge.c Make if_bridge complain if it can't disable some capabilities. 2017-04-29 08:52:07 +00:00
if_bridgevar.h bridge: Release the bridge lock when calling bridge_set_ifcap() 2017-01-25 21:25:26 +00:00
if_clone.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_clone.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_dead.c Implement kernel support for hardware rate limited sockets. 2017-01-18 13:31:17 +00:00
if_debug.c
if_disc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_dl.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_edsc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_enc.c Declare module version. 2017-03-27 07:56:41 +00:00
if_enc.h
if_epair.c Fixed typo in comment found while reading commit email for fix of 2017-04-08 04:50:50 +00:00
if_ethersubr.c Persistently store NIC's hardware MAC address, and add a way to retrive it 2017-05-11 06:46:39 +00:00
if_fddisubr.c sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
if_fwsubr.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_gif.c
if_gif.h
if_gre.c Do not adjust interface MTU automatically. Leave this task to the system 2017-04-11 08:56:18 +00:00
if_gre.h Do not adjust interface MTU automatically. Leave this task to the system 2017-04-11 08:56:18 +00:00
if_ipsec.c Introduce the concept of IPsec security policies scope. 2017-03-07 00:13:53 +00:00
if_ipsec.h Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
if_iso88025subr.c sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
if_lagg.c Call VLAN_CAPABILITIES() when LAGG capabilities change. 2017-05-26 22:22:48 +00:00
if_lagg.h Remove some code, dead from the day one. 2017-05-25 23:19:09 +00:00
if_llatbl.c Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
if_llatbl.h
if_llc.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_loop.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_me.c Do not adjust interface MTU automatically. Leave this task to the system 2017-04-11 08:56:18 +00:00
if_media.c Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
if_media.h Add several new media types to if_media.h 2017-05-10 18:33:40 +00:00
if_mib.c
if_mib.h
if_pflog.h
if_pfsync.h
if_sppp.h
if_spppfr.c
if_spppsubr.c
if_stf.c Remove now unneded cast. 2017-03-08 08:09:41 +00:00
if_tap.c
if_tap.h
if_tapvar.h
if_tun.c
if_tun.h
if_types.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if_var.h Persistently store NIC's hardware MAC address, and add a way to retrive it 2017-05-10 22:13:47 +00:00
if_vlan_var.h
if_vlan.c Add parent interface reference counting to if_vlan. 2017-05-23 00:13:27 +00:00
if_vxlan.c
if_vxlan.h
if.c Persistently store NIC's hardware MAC address, and add a way to retrive it 2017-05-10 22:13:47 +00:00
if.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ifdi_if.m IFLIB updates 2017-03-13 22:53:06 +00:00
iflib.c bnxt(4) Enable LRO support, redux 2017-07-03 18:23:35 +00:00
iflib.h Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
ifq.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
iso88025.h
mp_ring.c
mp_ring.h
mppc.h
mppcc.c
mppcd.c
netisr_internal.h
netisr.c Bring back r313037, with fixes for mips: 2017-02-19 02:03:09 +00:00
netisr.h Remove the NATM framework including the en(4), fatm(4), hatm(4), and 2017-04-24 21:21:49 +00:00
netmap_user.h
netmap_virt.h
netmap.h
paravirt.h
pfil.c Remove "IPFW static rules" rmlock. 2017-04-03 13:35:04 +00:00
pfil.h Remove "IPFW static rules" rmlock. 2017-04-03 13:35:04 +00:00
pfkeyv2.h Introduce the concept of IPsec security policies scope. 2017-03-07 00:13:53 +00:00
pfvar.h pf: Fix possible shutdown race 2017-03-22 21:18:18 +00:00
ppp_defs.h
radix_mpath.c
radix_mpath.h
radix.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
radix.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
raw_cb.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
raw_cb.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
raw_usrreq.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rndis.h
route_var.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
route.c Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib() 2017-06-13 10:52:31 +00:00
route.h Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib() 2017-06-13 10:52:31 +00:00
rss_config.c
rss_config.h
rtsock.c Fix typo in comment. 2017-04-08 04:37:01 +00:00
sff8436.h
sff8472.h
slcompress.c Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
slcompress.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
toeplitz.c
toeplitz.h
vnet.c
vnet.h