mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
a59618b985
Add support for driver-specific devlink local_forwarding param. Supported values are "enabled", "disabled" and "prioritized". Default configuration is set to "enabled". Add documentation in networking/devlink/ice.rst. In previous generations of Intel NICs the transmit scheduler was only limited by PCIe bandwidth when scheduling/assigning hairpin-bandwidth between VFs. Changes to E810 HW design introduced scheduler limitation, so that available hairpin-bandwidth is bound to external port speed. In order to address this limitation and enable NFV services such as "service chaining" a knob to adjust the scheduler config was created. Driver can send a configuration message to the FW over admin queue and internal FW logic will reconfigure HW to prioritize and add more BW to VF to VF traffic. An end result, for example, 10G port will no longer limit hairpin-bandwidth to 10G and much higher speeds can be achieved. Devlink local_forwarding param set to "prioritized" enables higher hairpin-bandwitdh on related PFs. Configuration is applicable only to 8x10G and 4x25G cards. Changing local_forwarding configuration will trigger CORER reset in order to take effect. Example command to change current value: devlink dev param set pci/0000:b2:00.3 name local_forwarding \ value prioritized \ cmode runtime Co-developed-by: Michal Wilczynski <michal.wilczynski@intel.com> Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Pawel Kaminski <pawel.kaminski@intel.com> Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> |
||
---|---|---|
.. | ||
caif | ||
device_drivers | ||
devlink | ||
dsa | ||
mac80211_hwsim | ||
net_cachelines | ||
netlink_spec | ||
pse-pd | ||
6lowpan.rst | ||
6pack.rst | ||
af_xdp.rst | ||
alias.rst | ||
arcnet-hardware.rst | ||
arcnet.rst | ||
atm.rst | ||
ax25.rst | ||
bareudp.rst | ||
batman-adv.rst | ||
bonding.rst | ||
bridge.rst | ||
can_ucan_protocol.rst | ||
can.rst | ||
cdc_mbim.rst | ||
checksum-offloads.rst | ||
dccp.rst | ||
dctcp.rst | ||
dns_resolver.rst | ||
driver.rst | ||
eql.rst | ||
ethtool-netlink.rst | ||
failover.rst | ||
fib_trie.rst | ||
filter.rst | ||
gen_stats.rst | ||
generic_netlink.rst | ||
generic-hdlc.rst | ||
gtp.rst | ||
ieee802154.rst | ||
ila.rst | ||
index.rst | ||
ioam6-sysctl.rst | ||
ip_dynaddr.rst | ||
ip-sysctl.rst | ||
ipsec.rst | ||
ipv6.rst | ||
ipvlan.rst | ||
ipvs-sysctl.rst | ||
iso15765-2.rst | ||
j1939.rst | ||
kapi.rst | ||
kcm.rst | ||
l2tp.rst | ||
lapb-module.rst | ||
mac80211-auth-assoc-deauth.txt | ||
mac80211-injection.rst | ||
mctp.rst | ||
mpls-sysctl.rst | ||
mptcp-sysctl.rst | ||
mptcp.rst | ||
msg_zerocopy.rst | ||
multi-pf-netdev.rst | ||
multiqueue.rst | ||
napi.rst | ||
net_dim.rst | ||
net_failover.rst | ||
netconsole.rst | ||
netdev-features.rst | ||
netdevices.rst | ||
netfilter-sysctl.rst | ||
netif-msg.rst | ||
nexthop-group-resilient.rst | ||
nf_conntrack-sysctl.rst | ||
nf_flowtable.rst | ||
nfc.rst | ||
openvswitch.rst | ||
operstates.rst | ||
packet_mmap.rst | ||
page_pool.rst | ||
phonet.rst | ||
phy.rst | ||
pktgen.rst | ||
plip.rst | ||
ppp_generic.rst | ||
proc_net_tcp.rst | ||
radiotap-headers.rst | ||
rds.rst | ||
regulatory.rst | ||
representors.rst | ||
rxrpc.rst | ||
scaling.rst | ||
sctp.rst | ||
secid.rst | ||
seg6-sysctl.rst | ||
segmentation-offloads.rst | ||
sfp-phylink.rst | ||
skbuff.rst | ||
smc-sysctl.rst | ||
snmp_counter.rst | ||
sriov.rst | ||
statistics.rst | ||
strparser.rst | ||
switchdev.rst | ||
sysfs-tagging.rst | ||
tc-actions-env-rules.rst | ||
tc-queue-filters.rst | ||
tcp_ao.rst | ||
tcp-thin.rst | ||
team.rst | ||
timestamping.rst | ||
tipc.rst | ||
tls-handshake.rst | ||
tls-offload-layers.svg | ||
tls-offload-reorder-bad.svg | ||
tls-offload-reorder-good.svg | ||
tls-offload.rst | ||
tls.rst | ||
tproxy.rst | ||
tuntap.rst | ||
udplite.rst | ||
vrf.rst | ||
vxlan.rst | ||
x25-iface.rst | ||
x25.rst | ||
xdp-rx-metadata.rst | ||
xfrm_device.rst | ||
xfrm_proc.rst | ||
xfrm_sync.rst | ||
xfrm_sysctl.rst | ||
xsk-tx-metadata.rst |