Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The bpf syscall and selftests conflicts were trivial overlapping changes. The r8169 change involved moving the added mdelay from 'net' into a different function. A TLS close bug fix overlapped with the splitting of the TLS state into separate TX and RX parts. I just expanded the tests in the bug fix from "ctx->conf == X" into "ctx->tx_conf == X && ctx->rx_conf == X". Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
@@ -52,8 +52,6 @@
|
||||
|
||||
#define NFP_FLOWER_ALLOWED_VER 0x0001000000010000UL
|
||||
|
||||
#define NFP_FLOWER_FRAME_HEADROOM 158
|
||||
|
||||
static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn)
|
||||
{
|
||||
return "FLOWER";
|
||||
@@ -559,22 +557,6 @@ static void nfp_flower_clean(struct nfp_app *app)
|
||||
app->priv = NULL;
|
||||
}
|
||||
|
||||
static int
|
||||
nfp_flower_check_mtu(struct nfp_app *app, struct net_device *netdev,
|
||||
int new_mtu)
|
||||
{
|
||||
/* The flower fw reserves NFP_FLOWER_FRAME_HEADROOM bytes of the
|
||||
* supported max MTU to allow for appending tunnel headers. To prevent
|
||||
* unexpected behaviour this needs to be accounted for.
|
||||
*/
|
||||
if (new_mtu > netdev->max_mtu - NFP_FLOWER_FRAME_HEADROOM) {
|
||||
nfp_err(app->cpp, "New MTU (%d) is not valid\n", new_mtu);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static bool nfp_flower_check_ack(struct nfp_flower_priv *app_priv)
|
||||
{
|
||||
bool ret;
|
||||
@@ -656,7 +638,6 @@ const struct nfp_app_type app_flower = {
|
||||
.init = nfp_flower_init,
|
||||
.clean = nfp_flower_clean,
|
||||
|
||||
.check_mtu = nfp_flower_check_mtu,
|
||||
.repr_change_mtu = nfp_flower_repr_change_mtu,
|
||||
|
||||
.vnic_alloc = nfp_flower_vnic_alloc,
|
||||
|
新增問題並參考
封鎖使用者